forked from open-pay/openpay-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
32 lines (29 loc) · 797 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
26
27
28
29
30
31
32
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options : {
ie8 : true,
output : {
ascii_only : true
}
},
openpayJs: {
src: 'lib/openpay.v1.js',
dest: 'lib/openpay.v1.min.js',
options : {
banner: '/*! openpay.js v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */'
}
},
openpayData: {
src: 'lib/openpay-data.v1.js',
dest: 'lib/openpay-data.v1.min.js',
options : {
banner: '/*! openpay-data.js v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */'
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
};