-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·73 lines (73 loc) · 2.47 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
{
"name": "analyze-webpack-plugin",
"version": "0.2.5",
"description": "analyze-webpack-plugin",
"main": "lib/plugin.js",
"repository": "https://github.com/MuYunyun/analyze-webpack-plugin",
"author": "muyunyun",
"license": "MIT",
"private": false,
"scripts": {
"webpack-defaults": "webpack-defaults",
"start": "npm run build -- -w",
"appveyor:test": "npm run test",
"build": "npm run buildsite && npm run buildplugin",
"prebuildplugin": "rm -rf lib && mkdir lib",
"buildplugin": "webpack --config config/webpack.prod.js",
"postbuildplugin": "babel src/plugin.js --out-file lib/plugin.js && cp src/shared/style.css lib",
"prebuildsite": "rm -rf dist-site && mkdir dist-site",
"buildsite": "webpack --config config/webpack.site.js && babel-node src/site/serverRender.js",
"postbuildsite": "cp src/shared/style.css test/stats-demo.json dist-site",
"dev": "webpack-dev-server --config config/webpack.dev.js",
"publishSite": "git subtree push --prefix=dist-site origin gh-pages",
"lint": "eslint --cache src test",
"lint-staged": "lint-staged",
"release": "standard-version",
"security": "nsp check",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
"test:manual": "webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js"
},
"devDependencies": {
"analyze-webpack-plugin": "0.2.5",
"babel-cli": "^6.26.0",
"babel-jest": "^22.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.10",
"eslint": "^4.17.0",
"eslint-config-webpack": "^1.2.5",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-react": "^7.7.0",
"jest": "^22.2.2",
"lint-staged": "^6.1.0",
"nsp": "^3.1.0",
"pre-commit": "^1.2.2",
"standard-version": "^4.3.0",
"webpack": "^4.4.0",
"webpack-cli": "^2.0.13",
"webpack-defaults": "^1.6.0",
"webpack-dev-server": "^3.1.1"
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"d3": "^5.0.0",
"loader-utils": "^1.1.0",
"mkdirp": "^0.5.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"webpack-sources": "^1.1.0"
}
}