Fix npm package install error

Prepare dist folder before publishing the package to npm registry and publish it.
development
mehyaa 2018-01-25 16:51:42 +03:00 committed by GitHub
parent 62a68f356b
commit 33707aa7df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",