From c10bbcf5182598be90f0f6def5827378cfd356ef Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sat, 28 Jul 2018 15:58:02 +0200 Subject: [PATCH] Added update function to package.json fole. --- seasoned_api/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seasoned_api/package.json b/seasoned_api/package.json index 9349cb4..38e4af1 100644 --- a/seasoned_api/package.json +++ b/seasoned_api/package.json @@ -7,10 +7,11 @@ }, "main": "webserver/server.js", "scripts": { - "start": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/webserver/server.js", + "start": "cross-env SEASONED_CONFIG=conf/development.json PROD=true NODE_PATH=. node src/webserver/server.js", "test": "cross-env SEASONED_CONFIG=conf/test.json NODE_PATH=. mocha --recursive test", "coverage": "cross-env SEASONED_CONFIG=conf/test.json NODE_PATH=. nyc mocha --recursive test && nyc report --reporter=text-lcov | coveralls", - "lint": "./node_modules/.bin/eslint src/" + "lint": "./node_modules/.bin/eslint src/", + "update": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/plex/updateRequestsInPlex.js" }, "dependencies": { "bcrypt-nodejs": "^0.0.3",