Using Grunt with JavaScript

  • James Cryer


At this point, I’ve covered setting up Grunt on a project, and you’ve seen how it can help when working with CSS and HTML. Next, we’ll start to explore the benefits of using Grunt while developing in JavaScript. As mentioned, when you were first introduced to Grunt, it is written on top of the Node.js platform, a JavaScript engine. This fact makes Grunt the perfect tool to use while working with JavaScript, as developers can exploit existing Node.js modules to rapidly process plug-ins to extend their workflow. In this chapter, I’ll cover how Grunt can help with JavaScript templating, working with JavaScript modules, and automated testing. First, I’ll outline how we plan to extend our to-do list application and use Grunt to automate our workflow and build process.


Template Function Page Load Path Configuration Template Content Template Module 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© James Cryer 2015

Authors and Affiliations

  • James Cryer
    • 1
  1. 1.CaerphillyUnited Kingdom

Personalised recommendations