-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGruntfile.js
35 lines (33 loc) · 1.8 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
module.exports = function(grunt) {
// measures the time each task takes
require('time-grunt')(grunt);
// load grunt config
require('load-grunt-config')(grunt, {
config: {
banner: '/*!\n' +
' * <%= package.realName %> - Version <%= package.version %>\n' +
' * <%= package.description %>\n' +
' * Author: <%= package.author.name %> <<%= package.author.email %>>\n' +
' * Build date: <%= grunt.template.today("yyyy-mm-dd") %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= package.author.name %>\n' +
' * Released under the <%= package.license %> license\n' +
' */',
bannerIE: '/*!\n' +
' * <%= package.realName %> - Version <%= package.version %> - IE 9 fix\n' +
' * Fix for the missing classList in IE 9\n' +
' * Author: <%= package.author.name %> <<%= package.author.email %>>\n' +
' * Build date: <%= grunt.template.today("yyyy-mm-dd") %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= package.author.name %>\n' +
' * Released under the <%= package.license %> license\n' +
' */',
bannerIEpack: '/*!\n' +
' * <%= package.realName %> - Version <%= package.version %> - incl. IE 9 fix\n' +
' * <%= package.description %>\n' +
' * Author: <%= package.author.name %> <<%= package.author.email %>>\n' +
' * Build date: <%= grunt.template.today("yyyy-mm-dd") %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= package.author.name %>\n' +
' * Released under the <%= package.license %> license\n' +
' */'
}
});
};