Skip to content

Commit 42fe369

Browse files
committed
autopublish scripts
1 parent 21fd3df commit 42fe369

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"license": "ISC",
88
"repository": "git://github.com/isaacs/rimraf.git",
99
"scripts": {
10+
"preversion": "npm test",
11+
"postversion": "npm publish",
12+
"postpublish": "git push origin --all; git push origin --tags",
1013
"test": "tap test/*.js"
1114
},
1215
"bin": "./bin.js",

0 commit comments

Comments
 (0)