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)

Creating the Angular Seed Project


Now that we have installed Git, we can check out the Angular Seed Project from its GitHub repository. The project is located at https://github.com/angular/angular-seed. Angular Seed is an application that will generate an Angular.JS project scaffold, also known as a skeleton. The generated application skeleton is a simple project that includes a couple of views and controllers that provide examples of how to use the Angular framework. Angular Seed also creates some ready-to-run unit tests. We won't get into the topic of unit testing here as we simply wish to scaffold an example project that we can then use to illustrate Grunt with. For more information on unit testing configured with Angular Seed, see the project unit testing section at https://github.com/angular/angular-seed#running-unit-tests.

Dependencies of Angular Seed

The only Angular Seed dependencies are Git and Node.js (along with NPM). In Chapter 1, Grunt Dependencies we went through the installation...