tomchentw/medium-editor-tc-mention

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "medium-editor-tc-mention",
  "version": "2.2.4",
  "description": "MediumEditor extension for mention panels like @username or #tagging",
  "main": "lib/index.js",
  "files": [
    "lib/",
    "src/",
    "CHANGELOG.md"
  ],
  "scripts": {
    "clean": "rimraf lib",
    "prebuild": "npm run lint && npm run clean",
    "build:babel": "cross-env NODE_ENV=production babel src --out-dir lib",
    "build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.babel.js -p",
    "postbuild:webpack": "rimraf lib/mention-panel.min.js lib/mention-panel.min.js.map lib/mention-panel.min.css.map",
    "build": "npm run build:babel && npm run build:webpack",
    "lint": "cross-env NODE_ENV=test eslint src",
    "pretest:cov": "npm run lint",
    "pretest": "npm run lint",
    "test:cov": "cross-env NODE_ENV=test babel-node ./node_modules/.bin/isparta cover --report lcov _mocha -- $npm_package_config_mocha",
    "test:watch": "npm test -- --watch",
    "test": "cross-env NODE_ENV=test mocha $npm_package_config_mocha",
    "prerelease": "npm run build && git add -A && git commit -m 'chore(lib): compile from src using babel'",
    "release": "standard-version"
  },
  "config": {
    "mocha": "--compilers js:babel-register ./src/**/__tests__/*.spec.js --require ./src/__tests__/setup.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/tomchentw/medium-editor-tc-mention"
  },
  "keywords": [
    "medium",
    "editor",
    "medium-editor",
    "extension",
    "mention",
    "tag",
    "autocomplete"
  ],
  "author": {
    "name": "tomchentw",
    "email": "developer@tomchentw.com",
    "url": "https://github.com/tomchentw"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/tomchentw/medium-editor-tc-mention/issues"
  },
  "homepage": "https://tomchentw.github.io/medium-editor-tc-mention/",
  "devDependencies": {
    "babel-cli": "^6.9.0",
    "babel-core": "^6.9.1",
    "babel-eslint": "^6.0.4",
    "babel-loader": "^6.2.4",
    "babel-plugin-transform-flow-comments": "^6.8.0",
    "babel-plugin-typecheck": "^3.9.0",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.5.0",
    "babel-preset-stage-0": "^6.5.0",
    "babel-register": "^6.9.0",
    "codeclimate-test-reporter": "^0.3.1",
    "cross-env": "^1.0.8",
    "css-loader": "^0.23.1",
    "eslint": "^2.11.1",
    "eslint-config-airbnb": "^9.0.1",
    "eslint-plugin-import": "^1.8.1",
    "eslint-plugin-jsx-a11y": "^1.2.2",
    "eslint-plugin-react": "^5.1.1",
    "expect": "^1.20.1",
    "extract-text-webpack-plugin": "^1.0.1",
    "isparta": "^4.0.0",
    "istanbul": "^0.4.3",
    "jsdom": "^9.2.1",
    "medium-editor": "^5.19.1",
    "mocha": "^2.5.3",
    "node-sass": "^3.7.0",
    "rimraf": "^2.5.2",
    "sass-loader": "^3.2.0",
    "standard-version": "^2.2.1",
    "style-loader": "^0.13.1",
    "tomchentw-npm-dev": "^4.0.0",
    "webpack": "^1.13.1"
  },
  "dependencies": {},
  "peerDependencies": {
    "medium-editor": "^5.8.3"
  }
}