forked from kenshin54/popline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGruntfile.js
21 lines (17 loc) · 842 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> v<%= pkg.version %> | author: <%= pkg.author %> */\n'
},
target: {
files: {
'build/jquery.<%= pkg.name %>.min.js': ['scripts/jquery.<%= pkg.name %>.js', 'scripts/plugins/jquery.popline.link.js', 'scripts/plugins/jquery.popline.blockquote.js', 'scripts/plugins/jquery.popline.decoration.js', 'scripts/plugins/jquery.popline.list.js', 'scripts/plugins/jquery.popline.justify.js', 'scripts/plugins/jquery.popline.blockformat.js', 'scripts/plugins/jquery.popline.social.js', 'scripts/plugins/jquery.popline.email.js']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);
};