This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
66 lines (60 loc) · 2.44 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
module.exports = function(grunt) {
grunt.initConfig({
concat: {
css: {
src: [
'node_modules/bootstrap/dist/css/bootstrap.min.css',
'public/css/webapp-page.css'
],
dest: 'public/css/concat.css'
},
js: {
src: [
'node_modules/angular/angular.min.js',
'node_modules/jquery/dist/jquery.min.js',
'node_modules/bootstrap/dist/js/bootstrap.min.js',
'node_modules/angular-animate/angular-animate.min.js',
'node_modules/angular-resource/angular-resource.min.js',
'node_modules/angular-ui-router/release/angular-ui-router.min.js',
'node_modules/chart.js/dist/Chart.min.js',
'node_modules/angular-chart.js/dist/angular-chart.min.js',
'public/app/app.js',
'public/app/modules/menu/menuModule.js',
'public/app/modules/menu/menuController.js',
'public/app/modules/gitHubExplorer/gitHubExplorerModule.js',
'public/app/modules/gitHubExplorer/gitHubExplorerRoute.js',
'public/app/modules/gitHubExplorer/gitHubExplorerController.js',
'public/app/modules/gitHubExplorer/gitHubExplorerService.js',
'public/app/modules/about/aboutRoute.js',
'public/app/modules/history/historyModule.js',
'public/app/modules/history/historyRoute.js',
'public/app/modules/history/historyController.js',
'public/app/modules/history/historyService.js'
],
dest: 'public/js/concat.js'
}
},
watch: {
assets: {
expand: true,
files: [
'public/css/webapp-page.css',
'public/app/**/*.js'
],
tasks: ['concat']
},
livereload: {
files : [
'public/*'
],
options: {
livereload: 35729
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task(s).
grunt.registerTask('default', ['concat']);
};