- fork/clone repo
- setup project
npm run setup
- install dependencies
npm run reinstall
- run unit test suites
npm run tdd
NOTE: npm reinstall
should be run always after pulling from master branch.
- Reinstall dependencies if needed:
npm run reinstall
- Update
CHANGELOG.md
- Create distribution files:
npm run dist
- Login to NPM:
npm login
- Increase library version:
npm version [major|minor|patch]
- Upload new tag created on step 5:
git push origin <new tag>
- Create release in GitHub (attach dist/* files created in step 3)
- Publish:
npm publish
If needed, copy & paste the following checklist:
- [ ] Implement feature/update
- [ ] Update unit tests
- [ ] Update CHANGELOG.md