Book Image

Learning Grunt

By : Douglas Reynolds
Book Image

Learning Grunt

By: Douglas Reynolds

Overview of this book

With the increasing focus on task automation, the Grunt task runner is a vast platform that allows you to incorporate automation into your workflows. At the outset, you will learn how to use Node.js and NMP through an example. You will then find out how to build a sample app and the development environment for it. You will further delve into the implementation of Grunt plugins and the configuration of Grunt tasks. Furthermore, you will explore the various methods and packages for workflow automation. The final chapter will cover some advanced concepts, such as configuration variables and how to create a Grunt plugin. By the end of the book, you will have gained the fundamentals of Grunt and progressed through advanced concepts, including building a Grunt plugin.
Table of Contents (15 chapters)

Obtaining Grunt plugins


The first step in getting started with Grunt plugins is to establish some fundamental understanding of which plugins are available, how they are installed, and how you actually use them in your workflow. It is important to begin considering what your project's needs are and what you wish to be able to turn over to automation, rather than manually completing yourself. Perhaps, you don't know the answers to these questions at this time, and that is fine. We will hopefully prompt you to begin asking yourself these questions and researching for answers. Obviously, that is why you are reading this book; you understand that task automation can benefit you and your development process. Let's get an idea of what is out there and how you can learn more.

Plugins overview

The available Grunt plugins are listed on the Grunt plugins page, located at: http://gruntjs.com/plugins. From this page, you can find a list of available plugins that is updated automatically. As this list is...