Skip to content

Instantly share code, notes, and snippets.

@psi-4ward
Created October 27, 2014 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psi-4ward/9a3fa36179e3fe4df34e to your computer and use it in GitHub Desktop.
Save psi-4ward/9a3fa36179e3fe4df34e to your computer and use it in GitHub Desktop.
gulp-config.js
var config = {
src: __dirname + '/../src/',
dist: __dirname + '/../dist/',
buildTasks: ['jshint', 'app', 'libs', 'copy', 'less'],
buildTasksProd: ['minify-app', 'minify-libs'],
_watchers: []
};
config.libs = [
'bower_components/jquery/dist/jquery.js',
'bower_components/lodash/dist/lodash.js',
'bower_components/angular/angular.js',
'bower_components/angular-ui-router/release/angular-ui-router.js',
'bower_components/d3/d3.js',
'bower_components/c3/c3.js',
'bower_components/elastic.js/dist/elastic.js',
'bower_components/datetimepicker/jquery.datetimepicker.js' // load this at the end
];
config.copy = [
{src: config.src + '/index.html', dest: config.dist},
{src: config.src + '**/*.html', dest: config.dist},
{src: 'bower_components/fontawesome/fonts/*', dest: config.dist + 'assets/fonts'}
];
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment