update: auto publish after version

This commit is contained in:
harttle
2017-07-14 10:42:01 +08:00
parent 314aa6b467
commit e91cc8c950
+1 -1
View File
@@ -9,7 +9,7 @@
"dist": "make dist",
"preversion": "npm test",
"version": "npm run dist && git add -A dist",
"postversion": "git push && git push --tags"
"postversion": "git push && git push --tags && npm publish"
},
"repository": {
"type": "git",