Study Note for grunt

=================================
Basic:
1. declare a task / multi-task
2. declare a helper function
3. invoke a task/ multi-task
4. define / retrieve configuration for a task


=================================
Advanced:
1. Organize your tasks within given life-cycle (bring the design philosophy from Maven)
2. grunt data model
3. put grunt in real practices in modern web application project:
   a. integrate with less
   b. integrate with CSS lint
   c. integrate with jsHint
   d. integrate with Require JS optimizer
   e. integrate with jsDuck for API doc generation
   f. integrate with testacular for unit testing

=================================
Furthermore:(TBD)
1. Think of TDD or BDD from grunt
2. Deeply compare grunt with other build frameworks(Maven, Rake, Gradle),better understand its pros and cons

installation in Node.js: npm install -g grunt

原文地址:https://www.cnblogs.com/buhaiqing/p/2858625.html