Getting Started with Grunt: The JavaScript Task Runner

0
(0)

Getting Started with Grunt: The JavaScript Task Runner
 

  • Author:Jaime Pillora
  • Length: 132 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2014-02-19
  • ISBN-10: 1783980621
  • ISBN-13: 9781783980628
  • Sales Rank: #2181251 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    A hands-on approach to mastering the fundamentals of Grunt

    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.

    Table of Contents

    Chapter 1: Introducing Grunt
    Chapter 2: Setting Up Grunt
    Chapter 3: Using Grunt
    Chapter 4: Grunt in Action
    Chapter 5: Advanced Grunt

    中文:

    书名:Getting Started with Grunt: The JavaScript Task Runner

    掌握Grunt基本知识的实践方法

    Overview

    • 深入了解Grunt、Node.js和NPM的核心概念,开始使用Grunt。
    • 了解如何安装、配置、运行和定制Grunt
    • 以实例为导向,并充满了帮助您创建自定义Grunt任务的提示

    In Detail

    近年来,现代网络浏览器已成为应用程序的首选平台。Grunt,连同它广泛的插件,提供了一种简单的方式来管理维护复杂的Web应用程序所需的大量构建任务。

    Grunt入门:JavaScript任务运行器为您提供了成为有效的Grunt高级用户所需的所有信息。您将很快了解如何安装、配置和运行Grunt。您将继续了解如何使用第三方Grunt,然后创建您自己的Grunt任务来满足您的特定需求。

    在完成安装、配置、运行和定制Grunt的步骤之前,本书首先演示了各种Grunt用例。您将学习如何安装Node.js、Node.js包管理器(NPM)和Grunt。然后,您将了解如何设置和配置个性化的Grunt环境。接下来,您将了解运行和定制Grunt以利用其灵活性的各种方法。最后,为了强调所学内容,您将看到一个完整的Web应用程序构建示例。

    Grunt入门:JavaScript任务运行器将使您能够从头开始创建您自己的Grunt环境,并充分利用Grunt的庞大功能集来有效地满足您的定制需求。

    你将从这本书中学到什么

    • Learn about Grunt and its advantages
    • 了解Node.js及其与Grunt的关系
    • Take an in-depth look at npm, Node.js modules, and the working of Grunt plugins
    • 熟悉安装Grunt并设置您的第一个Grunt构建环境
    • 深入了解配置Grunt的方法以及应在何时使用每种方法
    • 通过使用任务参数、任务别名、多任务目标等有效地执行Grunt
    • 构建您自己的Grunt任务、多任务和异步任务

    Approach

    这是一个循序渐进的实用教程,帮助你转变为Grunt的超级用户。

    这本书是为谁写的

    这本书是为想要掌握GruntJS并使用它来构建和测试他们的JavaScript应用程序的JavaScript开发人员编写的。这本书的唯一要求是基本了解JavaScript中的对象和函数。

    Table of Contents

    第1章:Grunt简介
    第2章:设置Grunt
    Chapter 3: Using Grunt
    第4章:行动中的咕噜声
    Chapter 5: Advanced Grunt

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册