Skip to content

Commit 8730593

Browse files
committed
Add release script
1 parent 2f33a81 commit 8730593

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
@@ -7,7 +7,8 @@
77
"scripts": {
88
"build": "rollup -f cjs --no-strict $npm_package_jsnext_main | uglifyjs -cm -o $npm_package_main",
99
"prepublish": "npm run build",
10-
"test": "node test"
10+
"test": "node test",
11+
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1112
},
1213
"keywords": [
1314
"delve",

0 commit comments

Comments
 (0)