Using third-party tasks

Although creating our own tasks is relatively straightforward, a vast number of plugins have already been implemented, providing tasks for many common use cases. Therefore, we should make sure we've thoroughly searched before we reinvent the wheel.

Searching for tasks

We've covered searching for modules in Chapter 2, Setting Up Grunt, in the section on npm, where we covered basic npm commands, including npm search. However, for those more comfortable with a web search, we can also use the Grunt website's plugin page (http://gswg.io#grunt-plugins). Once an hour, the Grunt team will execute npm search gruntplugin and store the results. When you visit the plugin page, this cached list will be retrieved and can be filtered by ...

Get Getting Started with Grunt: The JavaScript Task Runner now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.