-
Notifications
You must be signed in to change notification settings - Fork 3
/
Gruntfile.js
32 lines (30 loc) · 1.13 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
module.exports = function (grunt) {
grunt.initConfig({
concat: {
options: {
separator: ';\n\n'
},
dist: {
src: ['bower_components/jquery/dist/jquery.min.js',
'bower_components/angular/angular.min.js',
'bower_components/marked/lib/marked.js',
'bower_components/angular-route/angular-route.min.js',
'bower_components/angular-animate/angular-animate.min.js',
'bower_components/underscore/underscore.js',
'bower_components/underscore.string/dist/underscore.string.min.js'
],
dest: 'bower_components/concat.js'
}
},
uglify: {
build: {
src: 'bower_components/concat.js',
dest: 'bower_components/concat.min.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.registerTask('default', ['concat', 'uglify']);
}