Install
yarn install
grunt
available grunt commands
watch
: watches for changes on src/
and tests/
and rebuilds the library. Add #live
to the url for live reload.
build
: builds the main ES5-compatible out/so.js
.
lint
: lints all files on src/
and tests/
.
doc
: builds a doc-ready so.js, runs docco, and builds the normal so.js.
package
: generates out/so.min.js
.
export
or release
: runs lint
, doc
, build
and package
.
By default, grunt will run lint
and build
.