Skip to content

Instantly share code, notes, and snippets.

Avatar

Phil DeJarnett OverZealous

View GitHub Profile
@OverZealous
OverZealous / npm list
Created Jan 9, 2014
NPM results for gulp-less issue #16
View npm list
gless-test@0.0.1
├─┬ gulp@3.2.4
│ ├─┬ event-stream@3.0.20
│ │ ├── duplexer@0.1.1
│ │ ├── from@0.1.3
│ │ ├── map-stream@0.0.4
│ │ ├── pause-stream@0.0.11
│ │ ├── split@0.2.10
│ │ ├── stream-combiner@0.0.4
│ │ └── through@2.3.4
@OverZealous
OverZealous / 1 gulpfile.js
Last active May 26, 2016
Gulpfile for replicating ngboilerplate
View 1 gulpfile.js
//<editor-fold desc="Node Requires, gulp, etc">
var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer'),
clean = require('gulp-clean'),
concat = require('gulp-concat'),
csso = require('gulp-csso'),
debug = require('gulp-debug'),
footer = require('gulp-footer'),
gutil = require('gulp-util'),
gzip = require('gulp-gzip'),
@OverZealous
OverZealous / lazypipe.js
Last active Jan 3, 2016
Lazy Pipe for Gulp
View lazypipe.js
var combine = require('stream-combiner');
function lazypipe() {
var createPipeline = function(tasks) {
var build = function() {
return combine.apply(null, tasks.map(function(t) {
return t.task.apply(null, t.args);
}));
};
build.pipe = function(task) {
@OverZealous
OverZealous / build.config.js
Last active Jul 21, 2018
Preliminary Gulpfile for replicating ngBoilerplate — Still a work in progress!
View build.config.js
/**
* This file/module contains all configuration for the build process.
*/
/**
* Load requires and directory resources
*/
var join = require('path').join,
bowerrc = JSON.parse(require('fs').readFileSync('./.bowerrc', {encoding: 'utf8'})),
bowerJSON = bowerrc.json.replace(/^\.?\/?/, './'),
@OverZealous
OverZealous / index.js
Last active Jan 4, 2016
Sample for anysort error
View index.js
var anysort = require('anysort');
var sortArr = [ 'js/vendor/angular/angular.js',
'js/vendor/angular-bootstrap/ui-bootstrap-tpls.min.js',
'js/vendor/angular-ui-router/release/angular-ui-router.js',
'js/vendor/angular-ui-utils/modules/route/route.js',
'js/vendor/firebase/firebase.js',
'js/vendor/angularfire/angularfire.js',
'js/common/**/*.js',
'js/app/**/*.js',
You can’t perform that action at this time.