-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gruntfile.js
30 lines (27 loc) · 1.08 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
module.exports = function(grunt) {
grunt.initConfig({
cssmin: {
combine: {
files: {
'public/jsreport.min.css': [
'public/css/docs.css', 'public/css/metro-bootstrap.css', 'public/css/metro-bootstrap-responsive.css', 'public/css/style.css',
'public/js/pretify/pretify.css'
]
}
}
},
uglify: {
basic: {
files: {
'public/jsreport.min.js': ['public/js/jquery/jquery.min.js', 'public/js/jquery/jquery.widget.min.js',
'public/js/jquery/jquery.debounce.min.js',
'public/js/jquery/jquery.mousewheel.min.js', 'public/js/pretify/pretify.js', 'public/js/docs.js',
'public/js/metro.min.js', 'public/js/custom.js']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['cssmin', 'uglify']);
}