-
Make sure you have a version of Node.js installed (any version >6.9 should work).
-
Make sure you have a version of yarn installed.
-
Install the dependencies.
$ yarn install
- Run the tests!
$ yarn test
- Make sure the build of the master branch is passing.
- Checkout the master branch locally.
$ git fetch
$ git checkout master
$ git reset --hard origin/master
- Increment the version in
package.json
and move Unreleased section ofCHANGELOG.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.
- Push everything.
$ git push origin master
$ git push --tags
This will trigger the publishing of this new version to npm by travis.