This file contains hidden or 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
import gulp from 'gulp'; | |
import uglify from 'gulp-uglify'; | |
import eslint from 'gulp-eslint'; | |
import babel from 'gulp-babel'; | |
import concat from 'gulp-concat'; | |
import sourcemaps from 'gulp-sourcemaps'; | |
import gulpif from 'gulp-if'; | |
import globalConfig from './config'; | |
const localConfig = { |
This file contains hidden or 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
export default { | |
environment: 'development', | |
development () { | |
return this.environment === 'development'; | |
}, | |
production () { | |
return this.environment === 'production'; | |
} | |
} |
This file contains hidden or 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
import gulp from 'gulp'; | |
import uglify from 'gulp-uglify'; | |
import babel from 'gulp-babel'; | |
import concat from 'gulp-concat'; | |
const localConfig = { | |
src: './src/js/**/*.js', | |
dest: './build/js/', | |
buildFileName: 'all.js' | |
}; |
This file contains hidden or 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
import gulp from 'gulp'; | |
import eslint from 'gulp-eslint'; | |
import babel from 'gulp-babel'; | |
import sourcemaps from 'gulp-sourcemaps'; | |
const localConfig = { | |
src: './src/js/**/*.js', | |
dest: './build/js/' | |
}; |
This file contains hidden or 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
/** | |
* @author: https://github.com/mchicote | |
* | |
* Node script that outputs the loading time of a group of requests | |
* | |
* "dependencies": { | |
* "async": "^0.9.0", | |
* "debug": "~2.1.1", | |
* "request": "^2.53.0" | |
* } |
NewerOlder