Ebook details

Getting Started with Grunt: The JavaScript Task Runner. 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

Getting Started with Grunt: The JavaScript Task Runner. 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

Jaime Pillora, Bocoup LLC

Loading...
EBOOK
Loading...
A step-by-step, practical tutorial to help you transform into a Grunt power-user. 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.
  • Getting Started with Grunt: The JavaScript Task Runner
    • Table of Contents
    • Getting Started with Grunt: The JavaScript Task Runner
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Code examples
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Introducing Grunt
      • What is Grunt?
      • Why use Grunt?
      • Benefits of Grunt
        • Efficiency
        • Consistency
        • Effectiveness
        • Community
        • Flexibility
      • Real-world use cases
        • Static analysis or Linting
        • Transcompilation
          • CoffeeScript
            • Jade
            • Stylus
            • Haml, Sass, and LESS
      • Minification
      • Concatenation
      • Deployment
        • FTP
        • SFTP
        • S3
      • Summary
    • 2. Setting Up Grunt
      • Installation
        • Node.js
        • Modules
        • npm
          • Finding modules
          • Installing modules
        • Grunt
      • Project setup
        • package.json
        • Gruntfile.js
        • Directory structure
      • Configuring tasks
        • Configuring multitasks
        • Configuring options
        • Configuring files
          • Single set of source files
          • Multiple sets of source files
          • Mapping a source directory to destination directory
        • Templates
      • Summary
    • 3. Using Grunt
      • Creating your own tasks
        • Tasks
          • The task object
          • Task aliasing
        • Multitasks
          • The multitask object
        • Asynchronous tasks
      • Running tasks
        • Command-line
          • Task arguments
          • Runtime options
          • Task help
        • Programmatically
        • Automatically
      • Using third-party tasks
        • Searching for tasks
        • Official versus user tasks
        • Task popularity
        • Task features
        • Task stars
      • Summary
    • 4. Grunt in Action
      • Creating the build
        • Step 1 initial directory setup
        • Step 2 initial configuration
        • Step 3 organizing our source files
          • Scripts
          • Views
          • Styles
        • Step 4 optimizing our build files
          • Scripts
          • Styles
          • Views
        • Step 5 tasks and options
        • Step 6 improving development flow
        • Step 7 deploying our application
      • Summary
    • 5. Advanced Grunt
      • Testing with Grunt
      • Continuous integration with Grunt
      • External tasks
      • Grunt plugins
        • Useful plugins
      • JavaScript resources
      • Development tools
        • Author picks
          • Mac OS X
          • Sublime Text
          • SourceTree
          • Chrome DevTools
        • Community picks
          • WebStorm
          • Yeoman
      • Summary
    • Index
  • Title:Getting Started with Grunt: The JavaScript Task Runner. 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
  • Author:Jaime Pillora, Bocoup LLC
  • Original title:Getting Started with Grunt: The JavaScript Task Runner. 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.
  • ISBN:9781783980635, 9781783980635
  • Date of issue:2014-02-19
  • Format:Ebook
  • Item ID: e_3bnw
  • Publisher: Packt Publishing
Loading...
Loading...