Skip to content

Starter gulpfile.js and structure with commonly used tools

Notifications You must be signed in to change notification settings

arcdev1/gulp-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-starter

Starter Gulp + Browserify project with examples of how to accomplish some common tasks and workflows. Read the blog post for more context, and check out the Wiki for some good background knowledge.

Includes the following tools, tasks, and workflows:

  • Browserify (with browserify-shim)
  • Watchify (caching version of browserify for super fast rebuilds)
  • Compass
  • CoffeeScript (with source mapping!)
  • jQuery (from npm)
  • Backbone (from npm)
  • Handlebars (as a backbone dependency)
  • Non common-js vendor code (like a jQuery plugin)
  • LiveReload
  • Static Server
  • Image optimization
  • Error Notifications in Notification Center

If you've never used Node or npm before, you'll need to install Node. If you use homebrew, do:

brew install node

Otherwise, you can download and install from here.

Install Gulp Globally

Gulp must be installed globally in order to use the command line tools. You may need to use sudo

npm install -g gulp

Install Compass (if you haven't already)

The gulp-compass module relies on Compass already being installed on your system.

gem update --system
gem install compass

Install npm dependencies

npm install

This runs through all dependencies listed in package.json and downloads them to a node_modules folder in your project directory.

Run gulp and be amazed.

gulp

This will create and run the task defined in gulpfile.js. If you're on OS X, and have Chrome installed, a window will open displaying the demo page. If not, you can visit http://localhost:8080 to view the test page.

About

Starter gulpfile.js and structure with commonly used tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published