From ed8bd5306fac834d60e66192c5a33eb5ab38bfcf Mon Sep 17 00:00:00 2001 From: Erich Duda Date: Thu, 27 Jul 2017 18:26:58 +0200 Subject: [PATCH] Added prepare script to package.json Since npm@5.0.0 the prepare script is called when the library is installed from github url. Aim of the script is to build distribution files. See https://github.com/npm/npm/issues/3055 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2ea2eb9a..8dade003 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "gulp clean", "build": "gulp build", + "prepare": "gulp build", "test": "mocha --opts ./mocha.opts test/*.spec.js", "test-coverage": "NODE_ENV=test nyc mocha --opts ./mocha.opts test/*.spec.js", "test-verbose": "DEBUG=github* npm test",