We are open to, and grateful for, any contributions made by the community. By contributing, you agree to abide by the code of conduct.
Please follow the prettier and eslint styles configured in the source code.
Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on GitHub CI.
Please update the docs accordingly so that there are no discrepencies between the API and the documentation.
Install NPM packages
Installs NPM packages, should be run whenever the branch changes (due to switch or pull)Start
watch for changes and restart the server (on http://localhost:3000/)Build
Runs the build & lint scriptsLint es
Runs eslintRun tests
Runs all tests - requiresDev
to be runningWatch tests
watch for changes and run all tests - requiresDev
to be running
npm start
Start the examples server, also used in integration testsnpm run test
run all unit tests (requires the server to be started)npm run test:watch
watch for changes and run all unit tests
Releases are automatically deployed to NPM when a github release is made. Go to Github releases and either create a new release or publish the draft release created by the release-drafter
Github bot. Versions should follow semantic versioning.
Examples are included in part to allow manual testing.
$ npm start
# Open 127.0.0.1:3000