Skip to content

Commit 66664bc

Browse files
committed
Update package.json
1 parent 62dd5ad commit 66664bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"build": "npm run clean && tsc && cp ./src/api.d.ts ./dist",
1616
"clean": "rm -rf ./dist",
1717
"test": "node --test --experimental-strip-types test/*.test.ts test/*.test.js",
18-
"release": "npm run clean && npm run build && bump patch --commit --push --tag && npm publish --access public"
18+
"bump": "npm version patch && git push origin main --follow-tags",
19+
"bump:minor": "npm version minor && git push origin main --follow-tags",
20+
"bump:major": "npm version major && git push origin main --follow-tags",
21+
"release": "gh release create v$(node -p \"require('./package.json').version\") --title v$(node -p \"require('./package.json').version\") --generate-notes"
1922
},
2023
"files": [
2124
"dist",

0 commit comments

Comments
 (0)