- Install node and npm
- Install Grunt running
npm install -g grunt-cli
- Install Bower running
npm install -g bower
- Run
grunt dev
to start a static web server and open your browser. - Livereload will be automatically active meaning that you can see your modification on the browser without hitting F5.
jshint
and/orcsslint
will be run on your files when they change.- If you choose to have unit tests, they will be run as your test and source files change.
- Run
grunt package
to package your static assets for production. - Your package will be generated in a
dist
folder and your javascripts and stylesheets will be concatenated, minified and versionned. grunt
: launchgrunt package
, run unit tests and e2e test and generate complexity report. Use this task for continuous integration.
grunt package
to update build files- commit your code
git push heroku master
grunt test:unit
: run karma unit tests and show test coverage in console.grunt test:e2e
: run karma e2e testsgrunt report
: open complexity report in your browser