Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmisty committed Jun 2, 2023
1 parent 79b0967 commit ffabe20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"build": "rm -rf dist && tsc --project tsconfig.build.json && cp package-publish.json ./dist/package.json && cp README-pack.md ./dist/README.md",
"pack": "npm run build && cd dist && npm pack",
"publish": "npm run publish:patch",
"publish:patch": "npm run prepublish && cd dist && npm version $(semver $(npm show . version) --increment -i patch) && npm publish",
"publish:minor": "npm run prepublish && cd dist && npm version $(semver $(npm show . version) --increment -i minor) && npm publish",
"publish:major": "npm run prepublish && cd dist && npm version $(semver $(npm show . version) --increment -i major) && npm publish",
"publish:patch": "npm run prepublish && cd dist && export ver=$(semver $(npm show . version) --increment -i patch) && npm version $ver && npm publish && git tag $ver",
"publish:minor": "npm run prepublish && cd dist && export ver=$(semver $(npm show . version) --increment -i minor) && npm version $ver && npm publish && git tag $ver",
"publish:major": "npm run prepublish && cd dist && export ver=$(semver $(npm show . version) --increment -i major) && npm version $ver && npm publish && git tag $ver",
"prepublishOnly": "echo 'USE script \"npm run publish:patch\" (or minor/major)\n' && false",
"fmt": "pretty-quick"
},
Expand Down

0 comments on commit ffabe20

Please sign in to comment.