|
@@ -5,13 +5,13 @@
|
|
|
"main": "build/server.js",
|
|
|
"scripts": {
|
|
|
"test": "node test-build/server.js",
|
|
|
- "compile": "cross-env NODE_ENV=production npm run compile-dev",
|
|
|
- "compile-dev": "npm run compile-src && npm run compile-test",
|
|
|
+ "compile-prod": "cross-env NODE_ENV=production npm run compile",
|
|
|
+ "compile": "npm run compile-src && npm run compile-test",
|
|
|
"compile-test": "babel test --out-dir test-build",
|
|
|
"compile-src": "babel src --out-dir build",
|
|
|
- "compile-start": "npm run compile-dev && node build/server.js 2> /dev/null",
|
|
|
- "watch": "nodemon --watch src --watch test --exec \"npm run --silent compile-dev 2> /dev/null\"",
|
|
|
- "testwatch": "nodemon --watch src --watch test --exec \"npm run --silent compile-dev && npm test\"",
|
|
|
+ "compile-start": "npm run compile && node build/server.js 2> /dev/null",
|
|
|
+ "watch": "nodemon --watch src --watch test --exec \"npm run --silent compile 2> /dev/null\"",
|
|
|
+ "testwatch": "nodemon --watch src --watch test --exec \"npm run --silent compile && npm test\"",
|
|
|
"serverwatch": "nodemon --watch src --watch test --exec \"npm run compile-start 2> /dev/null\""
|
|
|
},
|
|
|
"dependencies": {
|