Pro Grunt.js
- Length: 176 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2015-03-27
- ISBN-10: 1484200144
- ISBN-13: 9781484200148
- Sales Rank: #4523556 (See Top 100 Books)
Pro Grunt.js gets you quickly up-to-speed with this popular JavaScript-based task runner. Author James Cryer takes you from initial installation all the way through to authoring successful plugins.
Using hands-on examples you will learn about CSS linting, combination, compilation and minification; JavaScript linting, AMD modules, and templates; image processing and optimizing; and creating a local server. You will then move on to more advanced topics such as LiveReload, Test Automation, Modular configuration, and combining tasks. Finally you will see how to scaffold plugins using Grunt init and Yeoman, how to test them with Mocha and Chai, and how to publish them so others can use them.
Start using Grunt.js to improve your workflows by using Pro Grunt.js today.
What you’ll learn
- How and when to use Grunt.js.
- How to work with Grunt.js to optimize your CSS, JavaScript, and images.
- How to perform more advanced operations with Grunt.js.
- How to build, test, and publish your very own Grunt.js plugins.
Who this book is for
This book is for the reader who is familiar with the concepts of JavaScript frameworks and wants to implement Grunt.js into their workflow.
Table of Contents
Chapter 1. Introducing Grunt
Chapter 2. How to Use Grunt in Your Project
Chapter 3. Using Grunt with HTML and CSS
Chapter 4. Using Grunt with JavaScript
Chapter 5. Using Grunt with Images, SVG, and Icons
Chapter 6. Using Grunt for Testing and Local Development
Chapter 7. Optimizing Your Grunt Workflow