Skip to content

Instantly share code, notes, and snippets.

@oscar-g
oscar-g / gulpfile.js
Created Oct 10, 2015
React js dev workflow gulp file
View gulpfile.js
var gulp = require('gulp'),
source = require('vinyl-source-stream'),
browserify = require('browserify'),
watchify = require('watchify'),
gulpif = require('gulp-if'),
uglify = require('gulp-uglify'),
streamify = require('gulp-streamify'),
notify = require('gulp-notify'),
concat = require('gulp-concat'),
gutil = require('gulp-util'),
@oscar-g
oscar-g / .gitignore
Last active Aug 29, 2015
deploy a webfaction.com Node application using Git
View .gitignore
# we'll ignore webfaction's node and npm
# but we'll keep bin/start and bin/stop
node_modules/
lib/npm/
bin/node
bin/npm
#ignore the process number file too
run/