Skip to content

Commit b5f06f8

Browse files
committedNov 1, 2016
Make npm version patch do all the work
<3 @rwjblue @nathanhammond
1 parent 59381d0 commit b5f06f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎package.json

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"main": "./src",
66
"scripts": {
77
"prepublish:": "npm run babel",
8+
"preversion": "npm test",
9+
"postversion": "git push origin master --follow-tags && npm publish",
810
"test": "npm run eslint && npm run mocha",
911
"eslint": "eslint . --debug",
1012
"babel": "babel lib/ -d src && babel test/ -d src_test/",

0 commit comments

Comments
 (0)
Please sign in to comment.