Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Latest commit

 

History

History

03

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gulp-steps : 03 - advanced (pt-Br)

Advanced usage of Gulp

Prerequisites

  • Must have Git installed

  • Must have node.js (at least v0.10.x) installed with npm (Node Package Manager)

  • Must have Gulp.js node package installed globally. sudo npm install -g gulp

  • Must have bower node package installed globally. sudo npm install -g bower

Installation Guide

Enter the following commands in the terminal

git clone https://github.com/soudev/gulp-steps.git
cd gulp-steps/03
npm install

Commands

run gulp

npm start

Gulp

  • development workflow
gulp
  • build (production version)
gulp release
  • preview builded
gulp preview

Commands on Mac

Create commands list

npm init

npm install \
  require-dir \
  del \
  jshint-stylish \
  browser-sync \
  lazypipe \
  gulp-load-plugins \
  gulp \
  gulp-util \
  gulp-sequence \
  gulp-cached \
  gulp-jshint \
  gulp-lintspaces \
  gulp-rev \
  gulp-rev-replace \
  gulp-useref \
  gulp-filter \
  gulp-uglify \
  gulp-csso \
  gulp-minify-html \
  --save-dev

touch gulpfile.js

bower init

bower install \
  jquery \
  --save

Links

--

License