-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
32 lines (32 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
{
"name": "bundle-all-spike",
"version": "0.0.0",
"description": "A spike to see if we can require a group of dependencies from the browser.",
"main": "index.js",
"scripts": {
"build": "npm run webpack && npm run browserify && npm run rollup && npm run uglify && npm run gzip && npm run bundle-sizes",
"browserify": "echo \"Browserify:\" && time browserify browserify/index.js -d -o dist/browserify.js -s npm",
"rollup": "echo \"Rollup:\" && time rollup -c rollup/config.js -m inline -o dist/rollup.js",
"webpack": "echo \"Webpack:\" && time webpack webpack/index.js dist/webpack.js --devtool inline-source-map --output-library npm --output-library-target umd",
"uglify": "uglifyjs dist/browserify.js -c warnings=false -m > dist/browserify.min.js && uglifyjs dist/rollup.js -c warnings=false -m > dist/rollup.min.js && uglifyjs dist/webpack.js -c warnings=false -m > dist/webpack.min.js",
"gzip": "gzip -c -9 dist/browserify.min.js > dist/browserify.min.js.gz && gzip -c -9 dist/rollup.min.js > dist/rollup.min.js.gz && gzip -c -9 dist/webpack.min.js > dist/webpack.min.js.gz",
"bundle-sizes": "echo \"\nFile Sizes:\" && ls -lh dist"
},
"author": "Dominic Chambers",
"license": "ISC",
"dependencies": {
"react": "^0.14.2",
"redux": "^3.0.4"
},
"devDependencies": {
"babel-preset-es2015-rollup": "^1.0.0",
"browserify": "^12.0.1",
"rollup": "^0.20.5",
"rollup-plugin-babel": "^2.1.0",
"rollup-plugin-commonjs": "^1.4.0",
"rollup-plugin-npm": "^1.0.0",
"rollup-plugin-replace": "^1.1.0",
"uglifyjs": "^2.4.10",
"webpack": "^1.12.4"
}
}