Getting Started with Grunt: The JavaScript Task Runner (Paperback)

Jaime Pillora

  • 出版商: Packt Publishing
  • 出版日期: 2013-12-28
  • 售價: $1,610
  • 貴賓價: 9.5$1,530
  • 語言: 英文
  • 頁數: 132
  • 裝訂: Paperback
  • ISBN: 1783980621
  • ISBN-13: 9781783980628
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

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

商品描述

If you know JavaScript you ought to know Grunt - the Task Runner for managing sophisticated web applications. From a basic understanding to constructing your own advanced Grunt tasks, this tutorial has it all covered.

Overview

  • Gain insight on the core concepts of Grunt, Node.js and npm to get started with Grunt.
  • Learn how to install, configure, run, and customize Grunt
  • Example-driven and filled with tips to help you create custom Grunt tasks

In Detail

In recent times, modern web browsers have become the application platform of choice. Grunt, along with its wide range of plugins, provides a simple way of managing the large number of build tasks required to maintain a sophisticated web application.

Getting Started with Grunt: The JavaScript Task Runner provides you with all the information you need to become an effective Grunt power-user. You will quickly learn how to install, configure, and run Grunt. You will go on to understand how to use third-party Grunt and then create your own Grunt tasks that cater to your particular needs.

This book first demonstrates various Grunt use cases before running through the steps of installing, configuring, running, and customizing Grunt. You will learn how to install Node.js, the Node.js package manager (npm), and Grunt. Then, you will understand how to set up and configure a personalized Grunt environment. Next, you will look at the various methods of running and customizing Grunt to utilize its flexibility. Finally, to emphasise what has been learnt, you will see a complete example build of a web application.

Getting Started with Grunt: The JavaScript Task Runner will enable you to create your very own Grunt environments from scratch and fully utilize Grunt's large feature set to effectively solve your custom requirements.

What you will learn from this book

  • Learn about Grunt and its advantages
  • Understand Node.js and how it relates to Grunt
  • Take an in-depth look at npm, Node.js modules, and the working of Grunt plugins
  • Get familiar with installing Grunt and setting up your first Grunt build environment
  • Gain insight on the methods of configuring Grunt and when each method should be used
  • Effectively execute Grunt through the use of task arguments, task aliasing, multi-task targets, and more
  • Construct your own Grunt tasks, multi-tasks, and asynchronous tasks

Approach

A step-by-step, practical tutorial to help you transform into a Grunt power-user.

Who this book is written for

This book is for JavaScript developers who want to get to grips with GruntJS and use it to build and test their JavaScript applications. The only requirement for this book is a basic understanding of objects and functions in JavaScript.

商品描述(中文翻譯)

如果你懂JavaScript,你應該要知道Grunt - 這是一個用於管理複雜網路應用程式的任務執行器。從基本概念到建立自己的高級Grunt任務,這本教程都有詳細介紹。

概述:
- 瞭解Grunt、Node.js和npm的核心概念,以便開始使用Grunt。
- 學習如何安裝、配置、運行和自定義Grunt。
- 以實例驅動,並提供提示,幫助您創建自定義的Grunt任務。

詳細內容:
近年來,現代網頁瀏覽器已成為首選的應用平台。Grunt以及其廣泛的插件提供了一種簡單的方式來管理維護複雜網路應用程式所需的大量構建任務。

《Getting Started with Grunt: The JavaScript Task Runner》將為您提供成為有效Grunt高手所需的所有信息。您將快速學習如何安裝、配置和運行Grunt。然後,您將了解如何使用第三方Grunt,並創建符合您特定需求的自定義Grunt任務。

本書首先演示了各種Grunt使用案例,然後介紹了安裝、配置、運行和自定義Grunt的步驟。您將學習如何安裝Node.js、Node.js套件管理器(npm)和Grunt。然後,您將了解如何設置和配置個性化的Grunt環境。接下來,您將研究各種運行和自定義Grunt的方法,以充分利用其靈活性。最後,為了強調所學內容,您將看到一個完整的網路應用程式構建示例。

《Getting Started with Grunt: The JavaScript Task Runner》將使您能夠從頭開始創建自己的Grunt環境,並充分利用Grunt的豐富功能集,有效解決您的自定義需求。

本書的學習重點:
- 了解Grunt及其優勢
- 理解Node.js及其與Grunt的關聯
- 深入研究npm、Node.js模組和Grunt插件的運作方式
- 熟悉安裝Grunt並設置第一個Grunt構建環境
- 瞭解配置Grunt的方法及何時使用每種方法
- 通過使用任務參數、任務別名、多任務目標等方法有效執行Grunt
- 構建自己的Grunt任務、多任務和異步任務

這本書的寫作對象:
本書適合想要掌握GruntJS並使用它來構建和測試JavaScript應用程式的JavaScript開發人員。閱讀本書的唯一要求是對JavaScript中的對象和函數有基本的理解。