forked from greatsuspender/thegreatsuspender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
27 lines (23 loc) · 766 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
module.exports = function(grunt) {
require('time-grunt')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
manifest: grunt.file.readJSON('src/manifest.json'),
crx: {
dev: {
src: [
"src/**/*",
"!**/html2canvas.js",
"!**/Thumbs.db"
],
dest: "build/crx/<%= pkg.name %>-<%= manifest.version %>-dev.crx",
zipDest: "build/zip/<%= pkg.name %>-<%= manifest.version %>-dev.zip",
options: {
"privateKey": "key.pem"
}
}
}
});
grunt.loadNpmTasks('grunt-crx');
grunt.registerTask('default', ['crx']);
};