Optionally choose the correct Node.js version with nvm installed:
nvm use
Install dependencies with:
npm install
All commits must follow the Conventional Commits specification, so an automatic changelog can be generated.
npm run lint
The tests are written with the AVA test runner.
npm run test
npm run format
Bump the package version and generate a changelog:
npm version …
See npm version docs for all available arguments.
Publish the new version with:
npm publish