Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 883 Bytes

CONTRIBUTING.md

File metadata and controls

59 lines (42 loc) · 883 Bytes

Contributing

Setup

You should have node.js, npm and gulp installed.

Linting

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

$ gulp lint

Tests

Tests in node

$ gulp test:node

Tests in the browser

$ gulp test:browser

Building browser version

$ gulp 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
$ gulp release --major
# Minor relase
$ gulp release --minor
# Patch release
$ gulp release