-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
56 lines (56 loc) · 2.02 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
{
"name": "react-perf-devtool",
"version": "3.1.8",
"description": "A devtool for inspecting the performance of React Components",
"main": "index.js",
"types": "index.d.ts",
"files": ["src", "lib"],
"author": "Nitin Tulswani",
"license": "MIT",
"peerDependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"prettier": "^1.9.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"uglifyjs-webpack-plugin": "^1.1.2",
"webpack": "^4.0.1",
"webpack-cli": "^2.0.9"
},
"scripts": {
"test": "jest",
"build:hook":
"rm -rf ./extension/build && NODE_ENV=production ./node_modules/.bin/webpack-cli --config ./webpack/webpack.config.hook.js --progress",
"build:watch":
"rm -rf ./extension/build && NODE_ENV=production ./node_modules/.bin/webpack-cli --watch --config ./webpack/webpack.config.js --progress",
"build":
"rm -rf ./extension/build && NODE_ENV=production ./node_modules/.bin/webpack-cli --config ./webpack/webpack.config.js --progress",
"precommit": "lint-staged",
"format":
"find src -name '*.js' | xargs ./node_modules/.bin/prettier --write --no-semi --single-quote",
"format:nowrite":
"find src -name '*.js' | xargs ./node_modules/.bin/prettier --no-semi --single-quote --list-different --loglevel error",
"generate":
"yarn build && rm -rf ./extension/extension.zip && zip -r ./extension/extension.zip ./extension",
"build:extension": "yarn format && yarn test && yarn generate"
},
"lint-staged": {
"*.{js,json}": [
"./node_modules/.bin/prettier --write --no-semi --single-quote",
"git add"
]
}
}