Mastering Grunt (Paperback)

Daniel Li

  • 出版商: Packt Publishing
  • 出版日期: 2014-04-28
  • 售價: $840
  • 貴賓價: 9.5$798
  • 語言: 英文
  • 頁數: 110
  • 裝訂: Paperback
  • ISBN: 1783980923
  • ISBN-13: 9781783980925
  • 下單後立即進貨 (約1~2週)

買這商品的人也買了...

商品描述

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.

Overview

  • Master the development of your web applications by combining Grunt with an army of other useful tools
  • Learn about the key tasks behind devops integration and automation so you can utilize Grunt in a team-working environment
  • Accelerate your web development abilities by employing best practices, including SEO, page speed optimization, and responsive design

In Detail

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.

What you will learn from this book

  • 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

Approach

This easy-to-understand tutorial provides you with several engaging projects that show you how to utilize Grunt with various web technologies, teaching you how to master build automation and testing with Grunt in your applications.