This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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(/^\.?\/?/, './'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<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'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected] | |
├─┬ [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ ├── [email protected] | |
│ │ └── [email protected] |