- Fork the repo if you do not have write access
- Clone the remote (fork) from GitHub
- Create a branch named
<yourgithubusername>/<yourfeature>
- Make one or more atomic commits
- Make sure the tests pass locally
- Create a pull request on GitHub
- Make sure you have write access to the module on npm
- Make sure you have write access to the master branch on GitHub
- Checkout
master
and make sure it's up to date with the remote - Run
npm run release <level>
, where<level>
can be any of: 'major', 'minor', 'patch', 'premajor', 'preminor', 'prepatch', or 'prerelease'.