Grunt 常用插件


1、grunt-contrib-jshint javascript代码检查(并会给出建议) https://github.com/gruntjs/grunt-contrib-jshint
2、grunt-contrib-concat 合并JS文件  https://github.com/gruntjs/grunt-contrib-concat
3、grunt-contrib-uglify 压缩js https://github.com/gruntjs/grunt-contrib-uglify
4、grunt-contrib-less 将less编译为CSS https://github.com/gruntjs/grunt-contrib-less
5、grunt-contrib-qunit 单元测试  https://github.com/gruntjs/grunt-contrib-qunit
6、grunt-contrib-watch 文件监控 https://github.com/gruntjs/grunt-contrib-watch
7、grunt-contrib-connect 在本地模拟一个web server https://github.com/gruntjs/grunt-contrib-connect
8、grunt-contrib-copy 自动复制粘贴文件的 https://github.com/gruntjs/grunt-contrib-copy
9、grunt-contrib-clean 做清洁工作,不然会残留很多没有用的文件 https://github.com/gruntjs/grunt-contrib-clean
10、grunt-contrib-compress 用于压缩文件和目录成为zip包 https://github.com/gruntjs/grunt-contrib-compress

你可能感兴趣的:(grunt)