From 4180f6666732baba70808bf1dcff3e2297948b46 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Wed, 10 May 2017 12:11:53 +0200 Subject: [PATCH] Optimize package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 07ee116..f267f77 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "dev": "npm run deploy-static && nodemon opt-cc-api/server.js", "deploy-static": "cd opt-cc-static && ng build && ln -s ../opt-cc-api/resource/ ../public/resource", "deploy-static-prod": "cd opt-cc-static && ng build --env=prod && ln -s ../opt-cc-api/resource/ ../public/resource", - "postinstall": "npm install --prefix ./opt-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api" + "postinstall": "npm install --prefix ./opt-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api", + "mongodb": "mongod --dbpath ./mongodb-data" } }