The Gruntfile.js or Gruntfile.coffee file is a valid JavaScript or CoffeeScript file that belongs in the root directory of your project, next to the package.json file, and should be committed with your project source.
A Gruntfile is comprised of the following parts:
Grunt:The JavaScript Task Runner
原文:http://www.cnblogs.com/zhangjing3326/p/4430432.html