New command start-dev runs with node_env flag set to development.

This commit is contained in:
2020-10-22 22:29:51 +02:00
parent 5cbb3cbe87
commit b6e2bde4d1
4 changed files with 13 additions and 3 deletions

View File

@@ -4,10 +4,11 @@
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"dev": "cross-env NODE_ENV=development webpack-dev-server",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
"start-dev": "cross-env NODE_ENV=development node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",