
http://gruntjs.com/plugins

http://gruntjs.com/getting-started

http://gruntjs.com/configuring-tasks#globbing-patterns
1.安装node.js
2.cmd 敲命令行: 查看node版本 node -v ,查看node插件管理器 npm -v 查看
3.百度 cnpm 淘宝 ,安装nodejs插件管理器$ npm install -g cnpm --registry=https://registry.npm.taobao.org
4.查看npm版本 cnpm-v
5.cmd下载 grunt 插件 cnpm install -g grunt-cli
cnpm install -g grunt
6.完成
打包工具;http://files.cnblogs.com/files/kingCpp/grunt.zip
node.js安装及grunt插件,如何进行脚本压缩
原文:http://www.cnblogs.com/kingCpp/p/4798687.html