Grunt plugins - sinsunsan/archiref_wiki GitHub Wiki

Grunt plugins

To see all grunt plugins
https://www.npmjs.org/browse/depended/grunt

And a more intersting list to resort
http://gruntjs.com/plugins

grunt autoprefixer

https://github.com/postcss/autoprefixer#browsers Allow to get rid of compass or bourbon for browser prefix. As il will do it for you, so it's possible to get back to prefix free

grunt uncss

Remove unused css https://github.com/giakki/uncss
https://github.com/addyosmani/grunt-uncss-sass-example

Grunt Angular templates

https://www.npmjs.org/package/grunt-angular-templates

Grunt itself plugins

Grunt time

Display the time spent on grunt task https://www.npmjs.org/package/time-grunt

Grunt jiit

Load grunt plugin only when needed https://github.com/shootaroo/jit-grunt

Grunt page speed

https://www.npmjs.org/package/grunt-pagespeed

grunt concurrent

https://www.npmjs.org/package/grunt-concurrent Allow to run several tasks at a time. Typically, the watch and another task nodemon for example

grunt sass

Grunt newer

Recompile only new files by comparing modifiction date of src / dest

grunt usemin

Read html files to list all assets, then run grunt task to modify those assets, finally change the path to optimized new files

grunt CSS comb

Reorder css rules automatically for readibility Use https://github.com/twbs/bootstrap/blob/master/less/.csscomb.json For inspiration

grunt prettify

Clean up html files with configurations styles options
https://www.npmjs.org/package/grunt-prettify

Wiredep

Automatically put dependency instance, from you bower.json

Grunt html2js

Automatically compile the html template in js templates as angular module https://github.com/karlgoldstein/grunt-html2js

Grunt bower install

Allow to deal with bower package installation with grunt https://www.npmjs.com/package/grunt-bower-install-simple

Grunt bump

Allow to increment package version automatically https://github.com/vojtajina/grunt-bump

Grunt changelog

Update a changelog from past commits https://github.com/ericmatthys/grunt-changelog

grunt clean

Delete file that are no more needed for example, before doing a grunt copy https://github.com/ericmatthys/grunt-changelog