-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "active-keys",
"version": "0.2.5",
"description": "Know and listen for which keys the user is currently holding down. Includes React helper.",
"main": "dist/",
"scripts": {
"build": "npm run build:docs && npm run build:babel && npm run build:browser",
"build:docs": "grep -v 'docs/api/' ./README.md | sed 's/[(]docs\\//(..\\//' > /tmp/active-key-readme && jsdoc --verbose -d docs/api -c jsdoc.json -R /tmp/active-key-readme -r ./src",
"build:babel": "babel ./src --out-dir dist --ignore '**/*.test.js'",
"build:browser": "browserify -p browserify-prepend-licenses dist/index.js --standalone KeyWatcher -o dist/browser.js",
"prepublishOnly": "npm run build",
"preversion": "npm run test && npm run build && git diff-index --ignore-space-at-eol --quiet HEAD --",
"version": "npm run build && git add -A dist",
"test": "npm run test:watch -- --single-run",
"test:watch": "cross-env NODE_ENV=test karma start karma.conf.js",
"lint": "eslint src"
},
"repository": {
"type": "git",
"url": "https://github.com/chrisjshull/active-keys.git"
},
"author": "[email protected]",
"license": "Apache-2.0",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"browserify": "^14.5.0",
"browserify-prepend-licenses": "^1.0.0",
"chai": "^4.1.1",
"cross-env": "^5.1.4",
"eslint": "^4.19.1",
"jsdoc": "^3.5.4",
"jsdoc-escape-at": "^1.0.1",
"karma": "^1.7.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-eslint": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-webpack": "^2.0.13",
"mocha": "^3.5.0",
"sinon": "^3.2.1",
"webpack": "^3.11.0"
},
"dependencies": {
"event-target-shim": "^2.0.0"
}
}