|
@@ -4,13 +4,12 @@
|
|
|
"version": "0.1.0",
|
|
|
"scripts": {
|
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
|
- "postinstall": "npm run compile",
|
|
|
"compile-prod": "cross-env NODE_ENV=production npm run compile",
|
|
|
"compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
|
|
|
"compile-both": "npm run compile-src; npm run compile-frontend",
|
|
|
"compile-test": "babel test --out-dir test-build",
|
|
|
"compile-src": "babel src --out-dir build",
|
|
|
- "compile-frontend": "webpack build/main.js build/bundle.js --module-bind 'js=babel-loader'",
|
|
|
+ "compile-frontend": "webpack build/main.js build/bundle.js",
|
|
|
"watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent\""
|
|
|
},
|
|
|
"dependencies": {
|