This project operates under a forking model. In order to contribute, please:
- Fork the repository.
- Create a new branch.
- Make your changes (adding tests).
- Add an entry in CHANGELOG.md.
- Submit a pull request (make sure to add a description explaining the changes).
Run npm install
to install the dependencies.
A pre-commit hook will lint the code and automatically fix some issues (and added to the commit). Linter can be executed manually running npm run lint
.
To test the code, run npm test
.
- The command
npm run test:watch
runs the tests in watch mode (execution is triggered automatically when editing a test file). - The command
npm run test:coverage
generates the coverage report (in thecoverage/
folder).