From 33707aa7dff0e0471106961c5a5301b54daad0c5 Mon Sep 17 00:00:00 2001 From: mehyaa Date: Thu, 25 Jan 2018 16:51:42 +0300 Subject: [PATCH] Fix npm package install error Prepare dist folder before publishing the package to npm registry and publish it. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ba889010f..feda9874b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "main": "./javascript/dist/build.js", "scripts": { - "postinstall": "grunt build --base \"$(npm prefix)\" --gruntfile etc/build/Gruntfile.js" + "prepublish": "grunt build --base ./ --gruntfile etc/build/Gruntfile.js" }, "dependencies": { "grunt": "^1.0.1",