forked from skycryptor/js_proxy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGruntfile.js
38 lines (34 loc) · 891 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
33
34
35
36
37
38
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
minified : {
files: {
src: [
/*'js_src/config.js',
'js_src/curve.js',
'js_src/utils.js',
'js_src/scalar.js',
'js_src/group-element.js',
'js_src/private-key.js',
'js_src/public-key.js',
'js_src/re-encryption-key.js',
'js_src/key-pair.js',
'js_src/capsule.js',*/
'js_src/proxy.js',
'js_src/ext/elliptic.js',
'js_src/ext/bn.js',
'js_src/ext/sha256.js',
],
dest: 'js_src/proxy-'
},
options : {
allinone: true
}
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-minified');
// Default task(s).
grunt.registerTask('default', ['minified']);
};