grunt是前端构建工具,官方网址:http://www.gruntjs.net/
命令安装:npm install -g grunt-cli
安装后,命令grunt,出现如下信息则安装完成:
grunt-cli: The grunt command line interface (v1.2.0)
Fatal error: Unable to find local grunt.
If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:
http://gruntjs.com/getting-started