From 50097787b427b35c9d58f61fed3d173bdeca4b12 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Fri, 9 Dec 2016 13:41:23 -0600 Subject: [PATCH] Don't do npm test on prepublish (because prepublish actually runs on npm install, causing the universe to burst into paradox) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9e93ee..8dafab0 100644 --- a/package.json +++ b/package.json @@ -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": {