///
///
///
/*
This file in the main entry point for defining grunt tasks and using grunt plugins.
Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
*/
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.initConfig({
uglify: {
global: {
files: {
'wwwroot/js/app.js': [
'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/angular-treeview/angular.treeview.js',
'bower_components/angular-animate/angular-animate.js',
'bower_components/bootstrap/dist/js/bootstrap.js',
'bower_components/angular-bootstrap/ui-bootstrap.js',
'bower_components/d3/d3.js',
'bower_components/moment/moment.js',
'bower_components/fullcalendar/dist/fullcalendar.js',
'bower_components/fullcalendar/dist/gcal.js',
'Scripts/GlobalJS/*.js',
'bower_components/ngDialog/js/ngDialog.js',
'bower_components/signalr/jquery.signalR.js'
]
}
},
hubs: {
files: {
'wwwroot/js/hubs/graphhubber.js': ['Scripts/Hubs/GraphHubber.js', 'Scripts/Hubs/GraphDataCollector.js'],
'wwwroot/js/hubs/progresshubber.js': 'Scripts/Hubs/ProgressHubber.js',
'wwwroot/js/hubs/userinfohubber.js': 'Scripts/Hubs/UserInfoHubber.js'
}
}
},
cssmin:{
all:{
files:{
'wwwroot/css/site.min.css': [
'Scripts/Styling/*.css',
'bower_components/ngDialog/css/*.css'
]
}
}
},
copy:{
angular:{
files:{
'wwwroot/js/hubs/calendarhubber.js': 'Scripts/Hubs/CalendarHubber.js'
}
}
}
});
grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
};