You should have node.js, npm and gulp installed.
Linting is done using eslint and the rules are based on standard.
$ gulp lint
Tests in node
$ gulp test:node
Tests in the browser
$ gulp test:browser
$ gulp 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
$ gulp release --major
# Minor relase
$ gulp release --minor
# Patch release
$ gulp release