Free cookie consent management tool by TermsFeed Policy Generator

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

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

#2582 User management done, start resource calendar

File size: 2.3 KB
Line 
1/// <binding BeforeBuild='copy:angular, cssmin:all, uglify' Clean='default, copy:angular' />
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/bootstrap/dist/js/bootstrap.js',
21                        'bower_components/d3/d3.js',
22                        'bower_components/moment/moment.js',
23                        'bower_components/fullcalendar/dist/fullcalendar.js',
24                        'bower_components/fullcalendar/dist/gcal.js',
25                        'Scripts/GlobalJS/*.js',
26                        'bower_components/signalr/jquery.signalR.js'
27                    ]
28                }
29            },
30            hubs: {
31                files: {
32                    'wwwroot/js/hubs/graphhubber.js': ['Scripts/Hubs/GraphHubber.js', 'Scripts/Hubs/GraphDataCollector.js'],
33                    'wwwroot/js/hubs/progresshubber.js': 'Scripts/Hubs/ProgressHubber.js',
34                    'wwwroot/js/hubs/userinfohubber.js': 'Scripts/Hubs/UserInfoHubber.js'
35                }
36            }
37        },
38        cssmin:{
39           all:{
40                files:{
41                    'wwwroot/css/site.min.css': [ 'Scripts/Styling/*.css']
42                }
43            }
44        },
45        copy:{
46            angular:{
47                files:{
48                    'wwwroot/js/hubs/calendarhubber.js': 'Scripts/Hubs/CalendarHubber.js'
49                }
50            }
51    }
52
53    });
54    grunt.registerTask('default', ['uglify', 'cssmin', 'copy']);
55};
Note: See TracBrowser for help on using the repository browser.