Skip to content

Instantly share code, notes, and snippets.

@vienhoang
Created August 6, 2014 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vienhoang/cfb3f269bc891eaf4898 to your computer and use it in GitHub Desktop.
Save vienhoang/cfb3f269bc891eaf4898 to your computer and use it in GitHub Desktop.
Gulp: Quick Guide Setup
http://travismaynard.com/writing/getting-started-with-gulp
If node and npm is installed:
npm init | Create package json file for project with dependecies
npm install --save-dev gulp | Install gulp in project with gulp dependencies save to package.json file
npm install gulp-less --save-dev | Install less module and save to json file
or
npm install gulp-sass --save-dev | Install sass module and save to json file
or all in one line
npm install gulp-jshint gulp-sass gulp-concat gulp-uglify gulp-rename --save-dev
Create gulpfile.js file and setup the enviroment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment