Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit 0c35d50

Browse files
committed
Do not run grunt tasks on npm install.
Did not realize that prepublish is run on a regular npm install command... This should keep that from happening now.
1 parent d1d6164 commit 0c35d50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
"url": "https://github.com/codeschool/sqlite-parser/issues"
2727
},
2828
"scripts": {
29-
"prepublish": "grunt release"
29+
"test": "grunt test",
30+
"build": "grunt dist",
31+
"preversion": "npm test",
32+
"version": "npm run build && git add .",
33+
"postversion": "git push && git push --tags"
3034
},
3135
"devDependencies": {
3236
"babel-core": "^6.7.2",

0 commit comments

Comments
 (0)