Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 875 Bytes

CONTRIBUTING.md

File metadata and controls

46 lines (31 loc) · 875 Bytes

Contributing

Setup

Use npm to install dependencies:

npm install

Running tests

We use ava to run tests. They are located in specs folder. To run them all use;

npm test

Updating changelog

It's manual work. Update [Unreleased] section of the CHANGELOG.md file with your changes. On release, all [Unreleased] entries go to the released version section.

Documentation

The documentation is generated from the comments in files from lib directory. To make sure the documentation looks right, generate it locally:

npm run docs:generate

To update documentation, use

npm run docs:update

Making a release

  • update CHANGELOG.md
  • bump package.json version
  • build the release version npm run build
  • release new version with git
  • go to dist folder and run npm publish