Book Image

Mastering Grunt

By : Daniel Li
Book Image

Mastering Grunt

By: Daniel Li

Overview of this book

<p>Grunt.js continues to excel as the build automation tool of choice. Along with its support for many third-party technologies, Grunt is packaged with a clean API for defining tasks. This powerful tool can streamline your workflow by automating the preparation tasks for production, such as compression, compilation, obfuscation, testing, and even pushing your web application live. This book will teach you how to master build automation and testing with Grunt. You will have the opportunity to utilize the latest and in-demand web tools, such as Git, Jade, CoffeeScript, Sass, and the Mocha testing engine, across several exciting projects by combining Grunt with them. You will also learn to create a project – a simple Bulletin Board System (BBS), which will explain the use of Grunt alongside the Mocha testing library to automate testing throughout the build process.</p> <p>Mastering Grunt will demonstrate how to leverage Grunt with other technologies to become an expert in build automation, teaching you the best practices for modern web development along the way.</p>
Table of Contents (12 chapters)

Chapter 1. Getting Started

Over the recent years, the open source community has come up with great tools that have eased development, such as CSS preprocessors, simple-to-use testing libraries, and minification/compression libraries. Aimed to facilitate the automation of tasks, Grunt helps both developers and sysadmins by speeding up the development time and easing the production integration process.

This chapter will reintroduce you to Grunt and demonstrate the importance of various other software tools. As you go further into the book, you will learn how to develop your own projects using Grunt, with an increase in complexity and applicability. In particular, you will acquire knowledge of how to use Grunt efficiently as a software integration tool as well as learning about the best practices surrounding web development today.