OLD | NEW |
1 module.exports = function(grunt) { | 1 module.exports = function(grunt) { |
2 | 2 |
3 grunt.initConfig({ | 3 grunt.initConfig({ |
4 pkg: grunt.file.readJSON('package.json'), | 4 pkg: grunt.file.readJSON('package.json'), |
5 | 5 |
6 uglify: { | 6 uglify: { |
7 options: { | 7 options: { |
8 banner: '/*! <%= pkg.name %> <%= pkg.version %>
*/\n' | 8 banner: '/*! <%= pkg.name %> <%= pkg.version %>
*/\n' |
9 }, | 9 }, |
10 dist: { | 10 dist: { |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 } | 32 } |
33 }); | 33 }); |
34 | 34 |
35 grunt.loadNpmTasks('grunt-contrib-uglify'); | 35 grunt.loadNpmTasks('grunt-contrib-uglify'); |
36 grunt.loadNpmTasks('grunt-closurecompiler'); | 36 grunt.loadNpmTasks('grunt-closurecompiler'); |
37 grunt.loadNpmTasks('grunt-bytesize'); | 37 grunt.loadNpmTasks('grunt-bytesize'); |
38 | 38 |
39 grunt.registerTask('build', ['closurecompiler', 'bytesize']); | 39 grunt.registerTask('build', ['closurecompiler', 'bytesize']); |
40 }; | 40 }; |
OLD | NEW |