-
Notifications
You must be signed in to change notification settings - Fork 93
/
package.json
47 lines (47 loc) · 1.59 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
{
"name": "webpack-visualizer-plugin",
"version": "0.1.11",
"main": "lib/plugin.js",
"author": "Chris Bateman (http://cbateman.com/)",
"license": "MIT",
"files": [
"lib",
"README.md"
],
"repository": {
"type": "git",
"url": "[email protected]:chrisbateman/webpack-visualizer.git"
},
"scripts": {
"build": "npm run buildsite && npm run buildplugin",
"prebuildplugin": "rm -rf lib && mkdir lib",
"buildplugin": "webpack src/plugin/main.jsx lib/pluginmain.js --config webpack.prod.js",
"postbuildplugin": "babel src/plugin/plugin.js --out-file lib/plugin.js && cp src/shared/style.css lib",
"prebuildsite": "rm -rf dist-site && mkdir dist-site",
"buildsite": "webpack src/site/main.jsx dist-site/build.js --config webpack.prod.js && babel-node src/site/serverRender.js",
"postbuildsite": "cp src/shared/style.css test/stats-demo.json dist-site",
"dev": "webpack-dev-server --config webpack.dev.js",
"lint": "eslint src --ext .js,.jsx",
"preversion": "npm run lint && npm run build",
"publishSite": "git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master"
},
"dependencies": {
"d3": "^3.5.6",
"mkdirp": "^0.5.1",
"react": "^0.14.0",
"react-dom": "^0.14.0"
},
"devDependencies": {
"babel": "^5.8.23",
"babel-core": "^5.8.25",
"babel-loader": "^5.3.2",
"eslint": "^1.6.0",
"eslint-plugin-react": "^3.5.1",
"merge": "^1.2.0",
"webpack": "^1.12.2",
"webpack-dev-server": "^1.12.0"
},
"engines": {
"npm": ">=2.13.0"
}
}