How to grunt without hurting your throat?
This repos is product of me helping my friend to get started with Grunt
It includes a bare minimal code for getting started with grunt!
What it includes?
-
A simple
greet
task. -
uglify
task to uglify the js code injs
dir. -
cssmin
task for minifying css code incss
dir.
How to use it?
$ git clone http://github.com/hemanth/grunt-intro.git
$ cd grunt-intro
$ npm install
$ npm install -g grunt-cli
$ grunt
Running tasks?
$ grunt cssmin
$ grunt uglify
# Combining both to one single task is H.W ;)
Check dist
dir that got created after firing the above.
What next?
Worth reading:
-
Grunt Getting-Started
-
Configuring Tasks
-
Creating Tasks