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

Latest commit

 

History

History
58 lines (41 loc) · 865 Bytes

CONTRIBUTING.md

File metadata and controls

58 lines (41 loc) · 865 Bytes

Contributing

Setup

You should have node.js and npm installed.

Linting

Linting is done using eslint and the rules are based on standard.

$ npm run lint

Tests

Tests in node

$ npm run test:node

Tests in the browser

$ npm run test:browser

Building browser version

$ npm run build

Releases

The release task will

  1. Run a build
  2. Commit the build
  3. Bump the version in package.json
  4. Commit the version change
  5. Create a git tag
  6. Run git push to upstream/master (You can change this with --remote my-remote)
# Major release
$ npm run release-major
# Minor relase
$ npm run release-minor
# Patch release
$ npm run release