Requirements:
- Node.js >= 6.9.5
- yarn >= 0.20.3 (recommended) or npm >= 3.x.x (tested with npm 3.10.10)
# with yarn
yarn
# or if you prefer npm
npm install
# with yarn
yarn start
# or if you prefer npm
npm start
If you don't want to use the integrated change watcher, you can also just run:
# with yarn
yarn build
# or if you prefer npm
npm run build
# with yarn
yarn dist
# or if you prefer npm
npm run dist
# with yarn
yarn lint
# or if you prefer npm
npm run lint
# with yarn
yarn release
# or if you prefer npm
npm run release
This will generate the changelog notes, update the version number in package.json
and create a new tag (without pushing it).
If you're happy with what has been generated, you can now run:
git push --follow-tags origin master
First, create a GitHub token. The scopes for the token you need is public_repo or repo (if you need to access private repos). Add the RELEASE_TOKEN
environment variable to your Travis project.
Then, on every new tag, a GitHub release will automatically be created.