From 4f664975787c022bd8f907043f4ae1cbc5bd221e Mon Sep 17 00:00:00 2001 From: pyoor Date: Mon, 5 Feb 2018 15:14:15 -0500 Subject: [PATCH 1/2] Build after npm install --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 371c60c..b1f7f81 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "test:lint": "cross-env NODE_ENV=test standard --verbose", "test:lint:fix": "cross-env NODE_ENV=test standard --fix --verbose", "build": "./build.py -l lib/ -d deploy/", + "postinstall": "npm build", "precommit": "npm run test:lint" }, "standard": { From 2ce98b1f6ca1761606b543ed3dd7cd6847cac559 Mon Sep 17 00:00:00 2001 From: pyoor Date: Mon, 5 Feb 2018 19:46:22 -0500 Subject: [PATCH 2/2] Run scripts via 'npm run ...' --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b1f7f81..3b1e67d 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test:lint": "cross-env NODE_ENV=test standard --verbose", "test:lint:fix": "cross-env NODE_ENV=test standard --fix --verbose", "build": "./build.py -l lib/ -d deploy/", - "postinstall": "npm build", + "postinstall": "npm run build", "precommit": "npm run test:lint" }, "standard": {