Skip to content

Commit

Permalink
Don't do npm test on prepublish (because prepublish actually runs on …
Browse files Browse the repository at this point in the history
…npm install, causing the universe to burst into paradox)
  • Loading branch information
mikermcneil committed Dec 9, 2016
1 parent 300b18c commit 5009778
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
Expand Up @@ -27,7 +27,7 @@
},
"scripts": {
"test": "node ./node_modules/mocha/bin/mocha -b --reporter spec --timeout 10000",
"prepublish": "./node_modules/grunt-cli/bin/grunt publish && npm test",
"prepublish": "./node_modules/grunt-cli/bin/grunt publish",
"postpublish": "cd dist && npm publish && cd .. && echo && echo '--' && echo 'Now, assuming you have not pushed up your automatic \"npm version\" commit+tag yet, run:' && echo \"git tag -d v`npm show sails.io.js version` && git commit --amend -am '`npm show sails.io.js version`' && git tag v`npm show sails.io.js version`\" && echo 'Then do:' && echo 'git push && git push --tags'"
},
"repository": {
Expand Down

0 comments on commit 5009778

Please sign in to comment.