stale/CONTRIBUTING.md

628 B

Building and testing

Install the dependencies.

$ npm install

Build the typescript and package it for distribution.

$ npm run build && npm run pack

Run the tests ✔️

$ npm test

Run the tests and display only the first failing tests ✔️

$ npm test:only-errors

Run the tests with the watch mode ✔️

$ npm test:watch

Run the linter and fix (almost) every issue for you ✔️

$ npm lint:all:fix

Before creating a PR

Build, lint, package and test everything.

$ npm all