yuku-t/textcomplete

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "textcomplete",
  "version": "0.18.2",
  "description": "Autocomplete for textarea elements",
  "main": "lib/index.js",
  "scripts": {
    "build": "yarn run clean && run-p build:*",
    "build:dist": "webpack && webpack --env=min && run-p print-dist-gz-size",
    "build:docs": "run-p build:docs:*",
    "build:docs:html": "webpack --config webpack.doc.config.js && pug -o docs src/doc/index.pug",
    "build:docs:md": "documentation build src/*.js -f md -o doc/api.md",
    "build:lib": "babel src -d lib -s && for js in src/*.js; do cp $js lib/${js##*/}.flow; done",
    "clean": "rm -fr dist docs lib",
    "format": "prettier --no-semi --trailing-comma all --write 'src/*.js' 'test/**/*.js'",
    "gh-release": "npm pack textcomplete && gh-release -a textcomplete-$(cat package.json|jq -r .version).tgz",
    "opener": "wait-on http://localhost:8082 && opener http://localhost:8082",
    "print-dist-gz-size": "printf 'dist/textcomplete.min.js.gz: %d bytes\\n' \"$(gzip -9kc dist/textcomplete.min.js | wc -c)\"",
    "start": "run-p watch opener",
    "test": "run-p test:*",
    "test:bundlesize": "yarn run build:dist && bundlesize",
    "test:e2e": "NODE_ENV=test karma start --single-run",
    "test:lint": "eslint src/*.js test/**/*.js",
    "test:typecheck": "flow check",
    "watch": "run-p watch:*",
    "watch:webpack": "webpack-dev-server --config webpack.doc.config.js",
    "watch:pug": "pug -o docs --watch src/doc/index.pug"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/yuku-t/textcomplete.git"
  },
  "author": "Yuku Takahashi",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/yuku-t/textcomplete/issues"
  },
  "homepage": "https://github.com/yuku-t/textcomplete#readme",
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-eslint": "^8.0.3",
    "babel-loader": "^7.1.2",
    "babel-plugin-espower": "^2.3.2",
    "babel-plugin-istanbul": "^4.1.5",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-flow": "^6.23.0",
    "babel-register": "^6.26.0",
    "bundlesize": "^0.15.3",
    "css-loader": "^0.28.7",
    "documentation": "^5.3.5",
    "eslint": "^4.13.1",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-flowtype": "^2.40.1",
    "extract-text-webpack-plugin": "^3.0.2",
    "flow-bin": "^0.61.0",
    "getbase": "^3.5.1",
    "gh-release": "^3.1.1",
    "highlight.js": "^9.2.0",
    "jsdoc": "^3.5.5",
    "karma": "^1.7.1",
    "karma-chrome-launcher": "^2.2.0",
    "karma-coverage": "^1.1.1",
    "karma-detect-browsers": "^2.2.6",
    "karma-edge-launcher": "^0.4.2",
    "karma-firefox-launcher": "^1.1.0",
    "karma-ie-launcher": "^1.0.0",
    "karma-mocha": "^1.0.1",
    "karma-opera-launcher": "^1.0.0",
    "karma-safari-launcher": "^1.0.0",
    "karma-webpack": "^2.0.6",
    "keysim": "git://github.com/yuku-t/keysim.js.git#input-event-with-dist",
    "lodash.assignin": "^4.2.0",
    "lodash.isnumber": "^3.0.3",
    "lodash.isundefined": "^3.0.1",
    "mocha": "^4.0.1",
    "npm-run-all": "^4.1.2",
    "opener": "^1.4.3",
    "power-assert": "^1.4.4",
    "prettier": "^1.9.2",
    "pug-cli": "^1.0.0-alpha6",
    "sinon": "^4.1.3",
    "style-loader": "^0.19.0",
    "wait-on": "^2.0.2",
    "webpack": "^3.10.0",
    "webpack-dev-server": "^2.9.7",
    "webpack-merge": "^4.1.1"
  },
  "dependencies": {
    "eventemitter3": "^2.0.3",
    "textarea-caret": "^3.0.1",
    "undate": "^0.2.3"
  },
  "bundlesize": [
    {
      "path": "./dist/textcomplete.min.js",
      "threshold": "7 KB"
    }
  ]
}