Skip to content

Commit 255f358

Browse files
committed
Add publish-patch npm script
1 parent 504cf65 commit 255f358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"precover": "npm run lint",
3535
"cover": "istanbul cover test.js",
3636
"travis": "npm run cover -- --report lcovonly",
37-
"prepublish": "npm prune && npm test"
37+
"prepublish": "npm prune && npm test",
38+
"publish-patch": "npm prune && npm test && npm version patch && git push && git push --tags && npm publish"
3839
}
3940
}

0 commit comments

Comments
 (0)