|
@@ -4,26 +4,25 @@
|
|
"scripts": {
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"postinstall": "npm run compile",
|
|
"postinstall": "npm run compile",
|
|
- "compile": "cross-env NODE_ENV=production npm run compile-both",
|
|
|
|
- "compile-dev": "npm run compile-src && npm run compile-test; npm run compile-frontend",
|
|
|
|
|
|
+ "compile": "cross-env NODE_ENV=production npm run compile-dev",
|
|
|
|
+ "compile-dev": "npm run compile-src; npm run compile-test; npm run compile-frontend",
|
|
"compile-both": "npm run compile-src; npm run compile-frontend",
|
|
"compile-both": "npm run compile-src; npm run compile-frontend",
|
|
"compile-test": "babel test --out-dir test-build",
|
|
"compile-test": "babel test --out-dir test-build",
|
|
"compile-src": "babel src --out-dir 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 --module-bind 'js=babel-loader'",
|
|
- "compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
|
|
|
|
"watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile-dev --silent\""
|
|
"watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile-dev --silent\""
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
- "babel-cli": "^6.6.5",
|
|
|
|
- "babel-core": "^6.7.7",
|
|
|
|
- "babel-loader": "^6.2.4",
|
|
|
|
|
|
+ "babel-cli": "^6.14.0",
|
|
|
|
+ "babel-core": "^6.14.0",
|
|
|
|
+ "babel-loader": "^6.2.5",
|
|
"babel-plugin-transform-remove-console": "^6.8.0",
|
|
"babel-plugin-transform-remove-console": "^6.8.0",
|
|
- "babel-preset-es2015": "^6.6.0",
|
|
|
|
- "babel-preset-react": "^6.5.0",
|
|
|
|
|
|
+ "babel-preset-es2015": "^6.14.0",
|
|
|
|
+ "babel-preset-react": "^6.11.1",
|
|
"cross-env": "^1.0.8",
|
|
"cross-env": "^1.0.8",
|
|
- "react": "^15.0.1",
|
|
|
|
- "react-dom": "^15.0.1",
|
|
|
|
- "webpack": "^1.13.0"
|
|
|
|
|
|
+ "react": "^15.3.2",
|
|
|
|
+ "react-dom": "^15.3.2",
|
|
|
|
+ "webpack": "^1.13.2"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"blue-tape": "^0.2.0",
|
|
"blue-tape": "^0.2.0",
|