Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 793 Bytes

CONTRIBUTING.md

File metadata and controls

53 lines (34 loc) · 793 Bytes

Contributing

Getting started

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.

Run linter

npm run lint

Run test

The tests are written with the AVA test runner.

npm run test

Format code

npm run format

Create release

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