You should have node.js and npm installed.
Linting is done using eslint and the rules are based on standard.
$ npm run lint
Tests in node
$ npm run test:node
Tests in the browser
$ npm run test:browser
$ npm run build
The release
task will
- Run a build
- Commit the build
- Bump the version in
package.json
- Commit the version change
- Create a git tag
- Run
git push
toupstream/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