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)

Summary


We really accomplished quite a bit in this chapter. We were able to lay the groundwork to work with Grunt by creating a sample application. After all, we need a project to automate. At this time, it is not necessary for us to be spending time trying to figure out what application we want to build and how we are going to approach it. Rather, we can use an application like Angular Seed to generate our application skeleton for us. Now that you have been introduced to this scaffolding tool, you will be able to use it for any future Angular.JS applications you need to bootstrap.

We covered the installation of Git as it was used for the cloning of Angular Seed and also used in the setup and configuration of an Angular Seed sample application by installing its dependencies. As you learned, there can be some roadblocks that can prevent us from easily installing tools from the command line. We covered a few ways to get the command-line tools up and running, depending on different problems...