We've accomplished a lot in the last few chapters, but now we're going to pause for a moment and think about our workflow and process. For websites these days, it's not enough just to write JavaScript and CSS; it needs to be lean and mean, and as small as possible, so as to be accessible to the largest number of devices. There's also an increasing amount of work which needs to be done to make that possible (processes such as concatenation, minification, and linting). These are the stock in trade of the modern web developer. Grunt, a JavaScript based task runner, makes automating these tasks much easier and pain free. Let's find out more.
In this chapter, you will learn the following:
Installing Grunt via Node.js
Configuring your project for Grunt
Common Grunt plugins and how to use them