Skip to content

Commit

Permalink
📦️ Add scripts publish new major / minor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
HubM committed Sep 1, 2024
1 parent 6f66121 commit 14d0268
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 @@ -9,7 +9,10 @@
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"preVersion": "npm login",
"version:minor": "npm run preVersion && npm version minor && npm publish",
"version:major": "npm run preVersion && npm version major && npm publish"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.6.0",
Expand Down

0 comments on commit 14d0268

Please sign in to comment.