consolidate dev scripts with npm-run-all
This commit is contained in:
parent
f424937b17
commit
6f3b1e5b3f
@ -4,9 +4,10 @@
|
|||||||
"description": "Server side rendering project",
|
"description": "Server side rendering project",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"dev": "npm-run-all --parallel dev:*",
|
||||||
"dev:server": "nodemon --watch build --exec \"node build/bundle.js\"",
|
"dev:server": "nodemon --watch build --exec \"node build/bundle.js\"",
|
||||||
"dev:build:server": "webpack --config webpack.server.js --watch",
|
"dev:build-server": "webpack --config webpack.server.js --watch",
|
||||||
"dev:build:client": "webpack --config webpack.client.js --watch"
|
"dev:build-client": "webpack --config webpack.client.js --watch"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
Loading…
Reference in New Issue
Block a user