From 76785a5f27182b8791ede93460b3ae7a04c29e81 Mon Sep 17 00:00:00 2001 From: Justin Obara Date: Mon, 13 Aug 2018 14:39:26 -0400 Subject: [PATCH] GPII-3154: Added the build as a postinstall step. This will make it easier to run the browser tests, which do require a build to fetch templates. When we switch to using testem, this should be moved from a postinstall to be part of the pre-test workflow. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 645f91e..9df35f8 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ }, "homepage": "https://github.com/GPII/gpii-chrome-extension#README.md", "scripts": { - "test": "node tests/node/all-tests.js" + "test": "node tests/node/all-tests.js", + "postinstall": "grunt build" }, "dependencies": { "infusion": "3.0.0-dev.20180801T212157Z.09bf3d438",