Skip to content

Commit

Permalink
add script
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory committed May 21, 2024
1 parent f79e8c0 commit 565d0b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"prepare": "husky install",
"format:check": "prettier --check '**/*.{ts,js}'",
"lint:check": "eslint '**/*.{ts,js}'",
"test": "jest"
"test": "jest",
"release:major": "npm run build && npm version $(semver $npm_package_version -i major) && npm publish --tag latest && git push",
"release:minor": "npm run build && npm version $(semver $npm_package_version -i minor) && npm publish --tag latest && git push",
"release:patch": "npm run build && npm version $(semver $npm_package_version -i patch) && npm publish --tag latest && git push"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 565d0b7

Please sign in to comment.