-
Notifications
You must be signed in to change notification settings - Fork 40
/
Gruntfile.js
44 lines (38 loc) · 1003 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
39
40
41
42
43
44
/**
* Build process for CKEditor AutoSave Plugin
* This file contributed by Timm Stokke <timm@stokke.me>
*
* Don't know where to start?
* Try: http://24ways.org/2013/grunt-is-not-weird-and-hard/
*/
module.exports = function(grunt) {
// CONFIGURATION
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
// Minimize JS
uglify: {
minify: {
files: {
"oembed/libs/jquery.oembed.min.js": "oembed/libs/jquery.oembed.js"
}
}
},
devUpdate: {
main: {
options: {
reportUpdated: true,
updateType: "force",
semver: false
}
}
}
});
// PLUGINS
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.loadNpmTasks("grunt-dev-update");
grunt.registerTask("default",
[
"devUpdate",
"uglify"
]);
};