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.
  • Loading branch information
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
Expand Up @@ -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": {
Expand Down

0 comments on commit da9e5fc

Please sign in to comment.