[13768] | 1 | /// <binding BeforeBuild='copy:angular, cssmin:all, cssmin, copy' Clean='default, copy:angular, cssmin, copy' />
|
---|
[13754] | 2 | /// <reference path="bower_components/angular/angular.min.js" />
|
---|
| 3 | /// <reference path="bower_components/angular/angular.js" />
|
---|
| 4 | /*
|
---|
| 5 | This file in the main entry point for defining grunt tasks and using grunt plugins.
|
---|
| 6 | Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
|
---|
| 7 | */
|
---|
| 8 | module.exports = function (grunt) {
|
---|
| 9 | grunt.loadNpmTasks('grunt-contrib-uglify');
|
---|
| 10 | grunt.loadNpmTasks('grunt-contrib-cssmin');
|
---|
| 11 | grunt.loadNpmTasks('grunt-contrib-copy');
|
---|
| 12 | grunt.initConfig({
|
---|
| 13 | uglify: {
|
---|
| 14 | global: {
|
---|
| 15 | files: {
|
---|
| 16 | 'wwwroot/js/app.js': [
|
---|
| 17 | 'bower_components/jquery/dist/jquery.js',
|
---|
| 18 | 'bower_components/angular/angular.js',
|
---|
| 19 | 'bower_components/angular-treeview/angular.treeview.js',
|
---|
[13795] | 20 | 'bower_components/angular-animate/angular-animate.js',
|
---|
[13754] | 21 | 'bower_components/bootstrap/dist/js/bootstrap.js',
|
---|
[13795] | 22 | 'bower_components/angular-bootstrap/ui-bootstrap.js',
|
---|
[13854] | 23 | 'bower_components/angular-drag-and-drop-lists/angular-drag-and-drop-lists.js',
|
---|
[13754] | 24 | 'bower_components/d3/d3.js',
|
---|
| 25 | 'bower_components/moment/moment.js',
|
---|
[13860] | 26 | 'bower_components/fullcalendar/dist/*.js',
|
---|
| 27 | 'bower_components/plotly.js/dist/plotly.js',
|
---|
[13754] | 28 | 'Scripts/GlobalJS/*.js',
|
---|
[13758] | 29 | 'bower_components/ngDialog/js/ngDialog.js',
|
---|
[13754] | 30 | 'bower_components/signalr/jquery.signalR.js'
|
---|
| 31 | ]
|
---|
| 32 | }
|
---|
| 33 | },
|
---|
| 34 | hubs: {
|
---|
| 35 | files: {
|
---|
| 36 | 'wwwroot/js/hubs/graphhubber.js': ['Scripts/Hubs/GraphHubber.js', 'Scripts/Hubs/GraphDataCollector.js'],
|
---|
| 37 | 'wwwroot/js/hubs/progresshubber.js': 'Scripts/Hubs/ProgressHubber.js',
|
---|
| 38 | 'wwwroot/js/hubs/userinfohubber.js': 'Scripts/Hubs/UserInfoHubber.js'
|
---|
| 39 | }
|
---|
| 40 | }
|
---|
| 41 | },
|
---|
| 42 | cssmin:{
|
---|
| 43 | all:{
|
---|
| 44 | files:{
|
---|
[13758] | 45 | 'wwwroot/css/site.min.css': [
|
---|
[13860] | 46 | 'bower_components/bootstrap/dist/css/*.css',
|
---|
[13758] | 47 | 'Scripts/Styling/*.css',
|
---|
[13860] | 48 | 'bower_components/ngDialog/css/*.css',
|
---|
| 49 | 'bower_components/animate.css/animate.css',
|
---|
| 50 | 'bower_components/font-awesome/css/font-awesome.css'
|
---|
[13758] | 51 | ]
|
---|
[13754] | 52 | }
|
---|
| 53 | }
|
---|
| 54 | },
|
---|
| 55 | copy:{
|
---|
| 56 | angular:{
|
---|
| 57 | files:{
|
---|
[13854] | 58 | 'wwwroot/js/hubs/calendarhubber.js': 'Scripts/Hubs/CalendarHubber.js',
|
---|
[13862] | 59 | 'wwwroot/js/hubs/queryhubber.js': 'Scripts/Hubs/QueryHubber.js',
|
---|
| 60 | 'wwwroot/js/hubs/okbmanagerhubber.js': 'Scripts/Hubs/OkbManagerHubber.js'
|
---|
[13754] | 61 | }
|
---|
| 62 | }
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | });
|
---|
| 66 | grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
|
---|
| 67 | }; |
---|