- Submit an issue
- Fork the repository
- Create a dedicated branch (never ever work in
master
) - Run
npm start
http://localhost:3000 - Fix bugs or implement features
- Always write tests
- Format with Prettier
npm run format
and check ESLintnpm run lint
- Document your changes in
CHANGELOG.md
- If props have changed, update the TypeScript definitions in
dist/index.d.ts
- Submit the PR
Run tests:
npm test
- Build the code to be released
npm run build
- Check the
CHANGELOG.md
is complete - Update the version in
package.json
- Tag the new version
git tag v8.0.0
and push the taggit push --tags
- Create a release note
- Publish on NPM