Skip to content

Commit

Permalink
add release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Oct 1, 2023
1 parent 6063c99 commit 88daebb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
"cov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -R test/main.cjs",
"doc": "jsdoc2md -f tmp/kiwi.js -m none -g none > docs/Kiwi.md && node scripts/docs-update-headings.js && prettier docs/Kiwi.md --write",
"lint": "prettier . --check",
"bench": "node bench/main.cjs"
"bench": "node bench/main.cjs",
"version": "npm run clean && npm run build && npm test && npm run bench",
"release:patch": "npm version patch -m 'v%s' && npm publish && git push --follow-tags",
"release:minor": "npm version minor -m 'v%s' && npm publish && git push --follow-tags",
"release:major": "npm version major -m 'v%s' && npm publish && git push --follow-tags"
}
}

0 comments on commit 88daebb

Please sign in to comment.