Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Grunt: The JavaScript Task Runner

You're reading from   Getting Started with Grunt: The JavaScript Task Runner If you know JavaScript you ought to know Grunt – the Task Runner for managing sophisticated web applications. From a basic understanding to constructing your own advanced Grunt tasks, this tutorial has it all covered.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781783980628
Length 132 pages
Edition Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jaime Pillora Jaime Pillora
Author Profile Icon Jaime Pillora
Jaime Pillora
Bocoup LLC Bocoup LLC
Author Profile Icon Bocoup LLC
Bocoup LLC
Arrow right icon
View More author details
Toc

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 entering a query into the text input. Keep in mind, however, that even if a plugin was called grunt-foo, it would only be contained in this page if it were also tagged with gruntplugin (which some may forget to do). So when searching for preexisting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime