Mastering Grunt

If you’re tired of repetitive JavaScript tasks like minification, compilation, and testing, this book will teach you how to use Grunt to automate them. Learn in easy steps how to streamline your workflow when building any web application.
Preview in Mapt
Code Files

Mastering Grunt

Daniel Li

If you’re tired of repetitive JavaScript tasks like minification, compilation, and testing, this book will teach you how to use Grunt to automate them. Learn in easy steps how to streamline your workflow when building any web application.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$9.80
RRP $13.99
Save 29%
Print + eBook
$22.99
RRP $22.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$9.80
$22.99
$29.99p/m after trial
RRP $13.99
RRP $22.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mastering Grunt Book Cover
Mastering Grunt
$ 13.99
$ 9.80
Mastering Grunt [Video] Book Cover
Mastering Grunt [Video]
$ 94.99
$ 80.75
Buy 2 for $27.30
Save $81.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783980925
Paperback110 pages

Book Description

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.

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.

Table of Contents

Chapter 1: Getting Started
Introducing Grunt
Introducing Git
Introducing GitHub
Introducing npm
Introducing Bower
Installing Grunt
Deploying a Hello World page
Summary
Chapter 2: Developing a Blog with Jade and Sass
A brief summary of Jade
A brief summary of Sass
Concatenation and minification
Building the blog
Summary
Chapter 3: Making an Employee Management System
A brief summary of CoffeeScript
Building the employee management system
Summary
Chapter 4: Final Project – Simple Bulletin Board System
Installing the required Grunt plugins
Developing a simple Bulletin Board System (BBS)
Summary
Chapter 5: Best Practices for Modern Web Applications
The importance of search engine optimization
Form validation in the modern web world
Designing interfaces for the mobile generation
Summary

What You Will Learn

  • Build any web application using Grunt.js
  • Explore the basics revolving around source control with Git
  • Understand the importance behind package management with npm and Bower
  • Use Grunt alongside Jade, the templating engine, to automate the compression and obfuscation process
  • Ease the compilation process by working with Sass, a CSS preprocessor
  • Understand the fundamentals involved in CoffeeScript development
  • Implement headless testing using Mocha, a JavaScript-based testing engine
  • Automate the frontend testing process using Grunt

Authors

Table of Contents

Chapter 1: Getting Started
Introducing Grunt
Introducing Git
Introducing GitHub
Introducing npm
Introducing Bower
Installing Grunt
Deploying a Hello World page
Summary
Chapter 2: Developing a Blog with Jade and Sass
A brief summary of Jade
A brief summary of Sass
Concatenation and minification
Building the blog
Summary
Chapter 3: Making an Employee Management System
A brief summary of CoffeeScript
Building the employee management system
Summary
Chapter 4: Final Project – Simple Bulletin Board System
Installing the required Grunt plugins
Developing a simple Bulletin Board System (BBS)
Summary
Chapter 5: Best Practices for Modern Web Applications
The importance of search engine optimization
Form validation in the modern web world
Designing interfaces for the mobile generation
Summary

Book Details

ISBN 139781783980925
Paperback110 pages
Read More

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00
Bootstrap Site Blueprints Book Cover
Bootstrap Site Blueprints
$ 26.99
$ 18.90
Mastering Node.js Book Cover
Mastering Node.js
$ 29.99
$ 6.00