forked from futurepress/epub.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrunt.js
30 lines (24 loc) · 957 Bytes
/
grunt.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
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: '<json:package.json>',
meta: {
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %> */'
},
min: {
'dist/render.min.js': ['<banner>', 'fpjs/render/*.js'],
//'dist/workers/loader_filesystem.js': ['<banner>', 'fpjs/render/workers/loader_filesystem.js'],
'dist/reader.min.js': ['<banner>', 'fpjs/reader/*.js'],
'dist/hooks/hooks.min.js': ['<banner>', 'fpjs/hooks/*.js'],
'dist/libs/zip.js': ['fpjs/libs/zip.js'],
'dist/libs/deflate.js': ['fpjs/libs/deflate.js'],
'dist/libs/inflate.js': ['fpjs/libs/inflate.js'],
'dist/libs/mime-types.js': ['fpjs/libs/mime-types.js'],
'dist/libs/fileStorage.min.js': ['fpjs/libs/fileStorage.min.js'],
'dist/libs/loader_filesystem.js': ['fpjs/libs/loader_filesystem.js']
}
});
// Default task(s).
grunt.registerTask('default', ['min']);
};