Skip to content

Commit 7b19c48

Browse files
author
Philipp Alferov
committed
Update npm release scripts
1 parent 539aded commit 7b19c48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"scripts": {
77
"test": "mocha --reporter nyan",
88
"tdd": "npm test -- --watch",
9-
"release": "npm version ${BUMP:-\"patch\"} --no-git-tag-version && git add package.json && git commit -m \":octocat: Bump to $(cat package.json | json version)\" && git tag $(cat package.json | json version) && git push && git push --tags && npm publish"
9+
"release": "npm version ${BUMP:-\"patch\"} --no-git-tag-version && git add package.json package-lock.json && git commit -m \":octocat: Bump to $(cat package.json | json version)\" && git tag $(cat package.json | json version)",
10+
"release:major": "BUMP=major npm run release",
11+
"release:minor": "BUMP=minor npm run release"
1012
},
1113
"repository": "alferov/array-to-tree",
1214
"keywords": [

0 commit comments

Comments
 (0)