Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (30 loc) · 1.21 KB

CONTRIBUTING.md

File metadata and controls

49 lines (30 loc) · 1.21 KB

Contributing

We are open to, and grateful for, any contributions made by the community. By contributing, you agree to abide by the code of conduct.

Code Style

Please follow the prettier and eslint styles configured in the source code.

Testing

Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on Travis CI.

Documentation

Please update the docs accordingly so that there are no discrepencies between the API and the documentation.

Developing

  • npm run test run all unit tests
  • npm run test -- --watch watch for changes and run all unit tests

Releasing

A new version is automatically released by Travis CI by tagging the master branch. Versions should follow semantic versioning.

Running Examples

Examples are included in part to allow manual testing.

Running example

$ npm run examples
# Open 127.0.0.1:3000

Running sandbox in browser

$ npm start
# Open 127.0.0.1:3000

Running sandbox in terminal

$ npm start
$ node ./sandbox/client