Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/gruntfile.js @ 13862

Last change on this file since 13862 was 13862, checked in by jlodewyc, 8 years ago

#2582 Start angular OKB manager, data loaded

File size: 3.1 KB
Line 
1/// <binding BeforeBuild='copy:angular, cssmin:all, cssmin, copy' Clean='default, copy:angular, cssmin, copy' />
2/// <reference path="bower_components/angular/angular.min.js" />
3/// <reference path="bower_components/angular/angular.js" />
4/*
5This file in the main entry point for defining grunt tasks and using grunt plugins.
6Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
7*/
8module.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',
20                        'bower_components/angular-animate/angular-animate.js',
21                        'bower_components/bootstrap/dist/js/bootstrap.js',
22                        'bower_components/angular-bootstrap/ui-bootstrap.js',
23                        'bower_components/angular-drag-and-drop-lists/angular-drag-and-drop-lists.js',
24                        'bower_components/d3/d3.js',
25                        'bower_components/moment/moment.js',
26                        'bower_components/fullcalendar/dist/*.js',
27                        'bower_components/plotly.js/dist/plotly.js',
28                        'Scripts/GlobalJS/*.js',
29                        'bower_components/ngDialog/js/ngDialog.js',
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:{
45                    'wwwroot/css/site.min.css': [
46                        'bower_components/bootstrap/dist/css/*.css',
47                        'Scripts/Styling/*.css',
48                        'bower_components/ngDialog/css/*.css',
49                        'bower_components/animate.css/animate.css',
50                        'bower_components/font-awesome/css/font-awesome.css'
51                    ]
52                }
53            }
54        },
55        copy:{
56            angular:{
57                files:{
58                    'wwwroot/js/hubs/calendarhubber.js': 'Scripts/Hubs/CalendarHubber.js',
59                    'wwwroot/js/hubs/queryhubber.js': 'Scripts/Hubs/QueryHubber.js',
60                    'wwwroot/js/hubs/okbmanagerhubber.js': 'Scripts/Hubs/OkbManagerHubber.js'
61                }
62            }
63    }
64
65    });
66    grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
67};
Note: See TracBrowser for help on using the repository browser.