From 65472e2c63e7d7a5899ad3b718c4ed6db04f9615 Mon Sep 17 00:00:00 2001 From: anneb Date: Tue, 3 Sep 2019 15:12:15 +0200 Subject: [PATCH] add postinstall script to install dps for public folder --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a26078a..5ee91c1 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "pgserver.js", "scripts": { "start": "nodemon pgserver.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "postinstall": "cd public && npm install" }, "author": "Anne Blankert, Geodan", "license": "ISC",