- Run the tests:
npm test
- Update the
version
field inpackage.json
to the version you want to cut. - Commit:
git commit -s -S -m "Release <version>."
- Create the git tag:
git tag -a -s -m "Release <version>." <version>
- Push commit and tag:
git push --follow-tags
- Publish to NPM:
npm publish