Chapter 2. Setting Up Grunt

In this chapter, we will go over the steps required to get Grunt up and running. We begin with an introduction into Node.js and npm, as they are the key technologies used to build the foundations upon which Grunt stands. We review Node.js modules and how they relate to Grunt, then cover the basics of a Grunt environment, including package.json and Gruntfile.js files. Once we are set up, we'll move onto configuring Grunt. We will look into the various methods and strategies that make Grunt best convey our build.

Installation

In this section, we cover how to install and use Grunt's key components, Node.js and npm. We will review a brief introduction into each, as well as their core concepts. Subsequently, we will cover ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.