forked from gEndelf/jquery.businessHours
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GruntFile.js
25 lines (25 loc) · 855 Bytes
/
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
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/*!\n' +
' * <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> - <%= pkg.homepage %>\n' +
' * License: <%= pkg.license %>\n' +
' */\n\n'
},
uglify: {
options: {
banner: '<%= meta.banner %>',
report: 'gzip'
},
dist: {
files: {
'jquery.businessHours.min.js': ['jquery.businessHours.js']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);
};