First install the packages
npm install
Run all commands (jshint -> jscs -> test + coverage -> jsdoc)
npm run all
Run tests (also creates a bundle before testing):
npm test
Run test coverage report (also creates a bundle before testing):
npm run coverage
Run jsdoc generation:
npm run jsdoc
Run jshint:
npm run jshint
Run jscs (code style validation):
npm run jscs
(Optional) Create bundle to be used with the tests/index.html
:
npm run bundle