Cover image for Getting Started with Gulp.
Getting Started with Gulp.
Title:
Getting Started with Gulp.
Author:
Maynard, Travis.
ISBN:
9781784393472
Personal Author:
Physical Description:
1 online resource (151 pages)
Contents:
Getting Started with Gulp -- Table of Contents -- Getting Started with Gulp -- Credits -- Foreword -- 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 -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Introducing Gulp -- What is gulp? -- What is node.js? -- Why use gulp? -- Project automation -- Streams -- Code over config -- Summary -- 2. Getting Started -- Getting comfortable with the command line -- Command reference -- Listing files and folders (ls) -- Changing directory/folder (cd) -- Making a directory/folder (mkdir) -- Creating a file on Mac/Linux (touch) -- Creating a file on Windows (ni) -- Administrator permissions (sudo) -- Creating your project structure -- Adding content to the project -- Preparing our HTML file -- Preparing our CSS -- Preparing our JavaScript -- Adding images -- Installing node.js and npm -- Downloading and installing node.js -- Verifying the installation -- Creating a package.json file -- Installing gulp -- Locating gulp -- Installing gulp locally -- Installing gulp globally -- Anatomy of a gulpfile -- The task() method -- The src() method -- The watch() method -- The dest() method -- The pipe() method -- The parallel() and series() methods -- Including modules/plugins -- Writing a task -- Reflection -- Summary -- 3. Performing Tasks with Gulp -- Using gulp plugins -- The styles task -- Installing gulp plugins -- Including gulp plugins -- Writing the styles task -- Other preprocessors -- Reviewing the styles task -- The scripts task -- Installing gulp plugins -- Including gulp plugins -- Writing the scripts task.

Reviewing the scripts task -- The images task -- Installing gulp plugins -- Including gulp plugins -- Writing the images task -- Reviewing the images task -- The watch task -- Writing the watch task -- Reviewing the watch task -- The default task -- Writing the default task -- Completed gulpfile -- Running tasks -- Running the default task -- Running a single task -- Stopping a watch task -- Summary -- 4. Using Node.js Modules for Advanced Tasks -- Why use plain node.js modules? -- Static server -- Installing modules -- Including modules -- Writing a server task -- BrowserSync -- Installing BrowserSync -- Including BrowserSync -- Writing the BrowserSync task -- Browserify -- Installing modules -- Including modules -- Writing the Browserify task -- Summary -- 5. Resolving Issues -- Handling errors -- Installing gulp-plumber -- Including gulp-plumber -- Installing beeper -- Including beeper -- Writing an error helper function -- Source ordering -- Project cleanup -- Installing the del module -- Including the del module -- Writing a clean task -- External configuration -- Task dependencies -- Source maps -- Installing a source maps plugin -- Including a source maps plugin -- Adding source maps to the PipeChain task -- Summary -- A. Key Features and Additional Resources -- Chapter 1 - Introducing Gulp -- Chapter 2 - Getting Started -- Chapter 3 - Performing Tasks with Gulp -- Chapter 4 - Using Node.js Modules for Advanced Tasks -- Chapter 5 - Resolving Issues -- References -- Stream-handbook -- NodeSchool -- Gulp recipes -- Index.
Abstract:
If you are a developer who is new to build systems and task runners but have prior experience with web development, then this book is the right choice for you. You need to have some basic knowledge of HTML, CSS, and JavaScript.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: