Updates as of 20 March 2016: I have originally created this so that the Gulp community would be able help each other to find solutions to common use-cases. I have since moved away from Gulp to Webpack for most of my work, and have not been actively participating in Gulp's latest activities (I'm not knocking on Gulp, it is still a useful tool. Webpack just works well for my case).
Some (most? or all?) of the recipes in this repo has not been updated for a while, and may not work as expected. But I do hope that those in the Gulp community still help each other grow, and I'd be very happy to accept PRs for any existing or new recipes. Or even a new maintainer =)
Not your typical collection of gulp recipes for your streaming build.
Rather than having a big 'ol gulpfile.js
with a ton of gulp.task()
,
gulpfile.js
and minimal set of gulp.task()
,gulp
to see it in action,README.md
included!Simply cd
to a recipe folder, gulp
and slurp away.
browser-sync-nodemon-expressjs
How to use browser-sync
+ gulp-nodemon
to serve an ExpressJS app for live-reloaded development.
browserify-vanilla
How to use vanilla browserify
and stop using gulp-browserify
.
browserify-separating-app-and-vendor-bundles
How to use vanilla browserify
(and its friends) to separate codebase into multiple bundles for better build times.
unnecessary-wrapper-gulp-plugins
A list of gulp-y recipes for unnecessary wrapper gulp-* plugins
Pre-requisites
npm install -g gulp
Install
git clone https://github.com/sogko/gulp-recipes
cd gulp-recipes
[sudo] npm install # some modules require sudo to install on some machines
Running a recipe example
For eg: browser-sync-nodemon-expressjs
cd browser-sync-nodemon-expressjs
gulp
gulpjs
Kagami
All are most welcome! Pull requests, issues, contributors and snacks, bring 'em to the party!
You
MIT