Skip to content

Commit 604e73d

Browse files
committedMar 26, 2019
auto-publishing scripts
1 parent bed01e2 commit 604e73d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"description": "The semantic version parser used by npm.",
55
"main": "semver.js",
66
"scripts": {
7-
"test": "tap"
7+
"test": "tap",
8+
"preversion": "npm test",
9+
"postversion": "npm publish",
10+
"postpublish": "git push origin --all; git push origin --tags"
811
},
912
"devDependencies": {
1013
"tap": "^13.0.0-rc.18"
@@ -21,6 +24,5 @@
2124
],
2225
"tap": {
2326
"check-coverage": true
24-
},
25-
"dependencies": {}
27+
}
2628
}

0 commit comments

Comments
 (0)