From e0359b339de6ca5128b3ca3e8e6e80be6097485c Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 20 Aug 2018 08:20:08 +0200 Subject: [PATCH] add NODE_ENV mode to start scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5794af7..a1b5d58 100644 --- a/package.json +++ b/package.json @@ -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",