add NODE_ENV mode to start scripts

This commit is contained in:
lesion 2018-08-20 08:20:08 +02:00
parent 8f82ecb19f
commit e0359b339d
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -3,8 +3,8 @@
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "DEBUG=fugadalcontrollo:* nodemon bin/www",
"start": "bin/www"
"dev": "NODE_ENV=development DEBUG=fugadalcontrollo:* nodemon bin/www",
"start": "NODE_ENV=production bin/www"
},
"dependencies": {
"express": "^4.16.3",