Skip to content

Commit

Permalink
Dev setup uses prepare instead of postinstall
Browse files Browse the repository at this point in the history
We want the dev setup script to use the prepare trigger instead of postinstall.
This will prevent folk who install the package as a node module running into
grunt errors.
starwed committed Dec 2, 2018
1 parent 2db3572 commit da9e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
"browser": "src/crafty.js",
"scripts": {
"test": "grunt check",
"postinstall": "(node -e \"process.env.NODE_ENV !== 'production' && process.exit()\" && grunt copy:lib) || node -v",
"prepare": "(node -e \"process.env.NODE_ENV !== 'production' && process.exit()\" && grunt copy:lib) || node -v",
"precommit": "pretty-quick --staged"
},
"browserify": {

0 comments on commit da9e5fc

Please sign in to comment.