Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 1.18 KB

GRUNT.md

File metadata and controls

74 lines (60 loc) · 1.18 KB

NOTE

Heroku tasks have a sign like [H] so you need some permission to use this task

  grunt

It will run default task

  grunt install

Installing whole bower files and merge them at once

  grunt reset

Clean paths of bower and install

  grunt build

Concat all files which are under .bower, client folders. After concatenation this task will merge them with generated js files.

  grunt default

If you already run build task before, you can run this task. Now default browser will open and grunt watch will help you while developing.

  grunt prepare

Minify css and js files for production

  grunt dev

Run all task that you need to develop.

  grunt dev

Run all task that system need for production.

 grunt jshint

Every project has to obey lint rules and this task is a lint checker for whole js/json files

 grunt heroku:dev

[H] Run grunt dev at Heroku

 grunt heroku:prod

[H] Run grunt prod at Heroku

 grunt heroku:deploy

[H] This task will deploy master branch to heroku

 grunt heroku:log

[H] Showing realtime heroku logs