Create separate servers and configs for dev and prod
This commit is contained in:
+4
-1
@@ -3,7 +3,9 @@
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"dev": "node serverdev.js",
|
||||
"build": "webpack --config ./webpack.production.config.js --progress --profile --colors",
|
||||
"start": "npm run build && node server.js",
|
||||
"lint": "eslint src"
|
||||
},
|
||||
"author": "Tanner Collin (http://github.com/tannercollin)",
|
||||
@@ -18,6 +20,7 @@
|
||||
"webpack-dev-server": "^1.8.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"body-parser": "^1.15.2",
|
||||
"freezer-js": "^0.6.0",
|
||||
"react": "^0.13.0",
|
||||
"react-router": "^0.13.3"
|
||||
|
||||
Reference in New Issue
Block a user