Created
October 27, 2014 14:15
-
-
Save psi-4ward/9a3fa36179e3fe4df34e to your computer and use it in GitHub Desktop.
gulp-config.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
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