Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.38 KB

DEVELOPERS.md

File metadata and controls

55 lines (36 loc) · 1.38 KB

Developers instructions

Running the tests locally

  1. Make sure you have a version of Node.js installed (any version >6.9 should work).

  2. Make sure you have a version of yarn installed.

  3. Install the dependencies.

$ yarn install
  1. Run the tests!
$ yarn test

Releasing a new version (needs administrator rights)

  1. Make sure the build of the master branch is passing.

Build

  1. Checkout the master branch locally.
$ git fetch
$ git checkout master
$ git reset --hard origin/master
  1. Increment the version in package.json and move Unreleased section of CHANGELOG.md to a newly created section for this version.
$ ./scripts/update_version.sh patch

./scripts/update_version.sh minor and ./scripts/update_version.sh major are also available - see semver for a guideline on when to use which.

This will create a git commit and a git tag.

  1. Push everything.
$ git push origin master
$ git push --tags

This will trigger the publishing of this new version to npm by travis.