Starter Gulp + Browserify project with some common tasks and workflows we use at whatwedo. Read the original blog posts of the gulp-starter for more context, which is the base project we forked blog post, and check out the origin 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)
- Stylus
- CoffeeScript (with source maps!)
- jQuery (from npm)
- BrowserSync for live reloading and a static server
- Autoprefixer for automatically CSS Vendor Prefixes
- Substituter
- Image optimization
- Error Notifications in Notification Center
- Non common-js vendor code (like a jQuery plugin)
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.
Gulp must be installed globally in order to use the command line tools. You may need to use sudo
npm install -g gulp
Alternatively, you can run the version of gulp installed local to the project instead with
./node_modules/.bin/gulp
npm install
This runs through all dependencies listed in package.json
and downloads them
to a node_modules
folder in your project directory.
gulp
Whole documentation for the build system can be found in the gulp/README.md
.
We don't merge contributions for this project since it reflects our internal workflow. This is only a fork from another repository, so we guess you could take a look at the original source.