Abstract
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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 James Cryer
About this chapter
Cite this chapter
Cryer, J. (2015). Using Grunt with JavaScript. In: Pro Grunt.js. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0013-1_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0013-1_4
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0014-8
Online ISBN: 978-1-4842-0013-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books