-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
86 lines (86 loc) · 2.57 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "react-key-handler",
"version": "1.2.0-beta.3",
"description": "React component to handle keyboard events",
"homepage": "https://github.com/ayrton/react-key-handler",
"author": {
"name": "Ayrton De Craene",
"email": "im@ayrton.be",
"url": "https://github.com/ayrton"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/ayrton/react-key-handler.git"
},
"bugs": {
"url": "https://github.com/ayrton/react-key-handler/issues"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"build": "npm run build:clean && npm run build:bundle && npm run build:flow",
"build:clean": "rimraf dist",
"build:bundle": "rollup -c",
"build:flow": "flow-copy-source lib dist/cjs",
"demo": "parcel ./demo/index.html",
"demo:build": "parcel build demo/index.html --out-dir demo/dist --public-url=/react-key-handler",
"demo:deploy": "npm run demo:build && gh-pages -d demo/dist",
"prepublish": "npm run build",
"test": "npm run test:lint && npm run test:unit && npm run test:flow",
"test:flow": "flow check",
"test:lint": "eslint demo/ lib/ test/",
"test:unit": "mocha"
},
"keywords": [
"react",
"reactjs",
"key",
"event",
"handler"
],
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.11.0",
"babel-preset-stage-1": "^6.13.0",
"chai": "^4.1.2",
"chai-enzyme": "^1.0.0-beta.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.79.1",
"flow-copy-source": "^2.0.2",
"gh-pages": "^1.2.0",
"jsdom": "^11.12.0",
"mocha": "^5.2.0",
"parcel-bundler": "^1.9.7",
"prettier": "^1.14.2",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-syntax-highlighter": "^8.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.63.5",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
"rollup-plugin-terser": "^1.0.1",
"sinon": "^6.1.4"
},
"peerDependencies": {
"react": "^16.2.0-0"
},
"dependencies": {
"eslint-plugin-flowtype": "^2.50.0",
"exenv": "^1.2.0",
"prop-types": "^15.6.2"
}
}