Skip to content

Commit 1598102

Browse files
committed
Add release script
1 parent 2da6739 commit 1598102

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
@@ -26,7 +26,8 @@
2626
"build": "microbundle -f cjs --no-compress --external all",
2727
"docs": "documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src",
2828
"test": "jest --coverage",
29-
"prepare": "npm run build"
29+
"prepare": "npm run -s build",
30+
"release": "npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
3031
},
3132
"babel": {
3233
"presets": [

0 commit comments

Comments
 (0)