This repository has been archived by the owner on Apr 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
78 lines (78 loc) · 2.75 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
{
"name": "react-keys",
"version": "3.0.0-rc20",
"private": false,
"description": "Simple way to bind keyboard to react thinking with flux",
"keywords": ["react", "keys", "keyboard", "flux"],
"main": "build",
"author": "Canal+",
"homepage": "https://github.com/canalplus/react-keys",
"bugs": "https://github.com/canalplus/react-keys/issues",
"license": "Apache-2.0",
"repository": "https://github.com/canalplus/react-keys.git",
"scripts": {
"prepublish": "npm run clean && npm run build && npm run dist",
"clean": "npm i rimraf && rimraf build && rimraf dist",
"preversion": "npm run test",
"precommit": "lint-staged",
"postversion": "git push && git push --tags",
"version": "npm run build",
"build": "BABEL_ENV=build babel src/ -d build",
"lint": "eslint src/** test/**",
"dist": "BABEL_ENV=production webpack --progress --colors",
"test": "jest --config tests/jest.config.json",
"coverage": "jest --config tests/jest.config.json --coverage",
"deploy-local":
"sed -i.bak s/$npm_package_version/$npm_package_version-SNAPSHOT/g package.json && rm package.json.bak && npm pack && git checkout package.json dist/reactKeys.js && echo \"\n\n\nNow run:\n\nnpm install $(pwd)/react-keys-$npm_package_version-SNAPSHOT.tgz\n\nIf you want to install previous version just run 'npm install'.\""
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --single-quote --trailing-comma es5 --write",
"git add"
]
},
"devDependencies": {
"aphrodite": "2.2.1",
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-loader": "7.1.4",
"babel-minify-webpack-plugin": "^0.3.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-preset-env": "1.7.0",
"chai": "4.1.2",
"chai-enzyme": "1.0.0-beta.0",
"codecov": "^3.6.5",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"express": "4.16.3",
"husky": "0.14.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.7",
"prettier": "1.12.1",
"prop-types": "15.6.1",
"react": "16.3.2",
"react-addons-perf": "15.4.2",
"react-addons-test-utils": "15.6.2",
"react-dom": "16.3.3",
"react-redux": "5.0.7",
"react-test-renderer": "16.3.2",
"recompose": "0.27.1",
"redux": "4.0.0",
"reselect": "3.0.1",
"rimraf": "^2.7.1",
"sinon": "5.0.7",
"sinon-chai": "3.0.0",
"sinon-test": "2.1.3",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11",
"webpack-dev-middleware": "3.1.3",
"webpack-livereload-plugin": "2.1.1",
"winston": "2.4.2"
},
"peerDependencies": {
"react": "15.x.x || 16.x.x",
"react-dom": "15.x.x || || 16.x.x"
}
}