Skip to content

Commit 11fb8fa

Browse files
author
Philipp Alferov
committed
Update release script
1 parent 8b6f511 commit 11fb8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "Convert a plain array of nodes (with pointers to parent nodes) to a tree",
55
"main": "index.js",
66
"scripts": {
7-
"release": "npm version ${BUMP:-\"patch\"} --no-git-tag-version && git add package.json && git commit -m \":octocat: Bump to $(cat package.json | jq -r .version)\" && git push && git push --tags && npm publish",
87
"test": "mocha --reporter nyan",
9-
"tdd": "npm test -- --watch"
8+
"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 | jq -r .version)\" && git tag $(cat package.json | jq -r .version) && git push && git push --tags && npm publish",
1010
},
1111
"repository": "alferov/array-to-tree",
1212
"keywords": [

0 commit comments

Comments
 (0)