-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.63 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.63 KB
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
55
56
57
58
59
60
61
{
"name": "pressed",
"version": "1.3.1",
"description": "A simple library for tracking which keyboard keys are currently being pressed.",
"keywords": "game, keyboard, keycode, pressed, keydown, keyup, polling, input, loop, es6",
"main": "lib/pressed.js",
"repository": {
"type": "git",
"url": "https://github.com/mimshwright/pressed.js"
},
"bugs": {
"url": "https://github.com/mimshwright/pressed.js/issues"
},
"author": "Mims H. Wright",
"license": "MIT",
"devDependencies": {
"ava": "^0.17.0",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"standard": "^8.6.0",
"tap-spec": "^4.1.1",
"webpack": "^1.14.0"
},
"dependencies": {
"keycode": "^2.1.8"
},
"optionalDependencies": {
"nyc": "^10.1.2",
"yarn": "^0.19.1"
},
"scripts": {
"lint": "standard './*.js' './src/**/*.js'",
"fix": "standard --fix './*.js' './src/**/*.js'",
"test": "ava",
"coverage": "nyc yarn test",
"build": "babel src/pressed.js -o lib/pressed.js",
"prepublish": "npm run lint && npm run test && npm run build",
"build-example": "webpack --config webpack.config.babel.js",
"watch": "webpack --watch --config webpack.config.babel.js",
"example": "open example/index.html",
"start": "npm run fix && npm run test && npm run watch"
},
"ava": {
"files": [
"test/**/*.js"
],
"source": [
"src/**/*.{js,jsx}"
],
"concurrency": 20,
"failFast": true,
"tap": false,
"powerAssert": false,
"require": [
"babel-register"
],
"babel": "inherit"
}
}