Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (22 loc) · 1.11 KB

CONTRIBUTING.md

File metadata and controls

38 lines (22 loc) · 1.11 KB

Contributing

We are open to, and grateful for, any contributions made by the community.

Code Style

Please follow the Google javascript style guide.

Commit Messages

Commit messages should be verb based, using the following pattern:

  • Fixes ...
  • Adds ...
  • Updates ...
  • Removes ...

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 discrepancies between the code and the documentation.

Developing

  • npm run test run the mocha tests for browser environment
  • npm run test:watch watch for changes and run test
  • npm run build bundle the source

Releasing

Releasing a new version is mostly automated. Once this has been done run the commands below. Versions should follow semantic versioning.

  • npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
  • npm publish