3
module.exports = function(grunt) {
5
var pkg = grunt.file.readJSON("package.json");
11
banner: grunt.file.read("dev/copy.js").replace(/@VERSION/, pkg.version),
15
banner: "<%= banner %>"
18
src: "<%= concat.dist.dest %>",
19
dest: "<%= pkg.name %>-min.js"
22
src: "<%= concat.nodeps.dest %>",
23
dest: "<%= pkg.name %>-nodeps-min.js"
31
replacement: "<%= pkg.version %>"
37
src: ["<%= concat.dist.dest %>", "<%= concat.nodeps.dest %>"],
44
dest: "<%= pkg.name %>.js",
47
"dev/raphael.core.js",
54
dest: "<%= pkg.name %>-nodeps.js",
56
"dev/raphael.core.js",
66
grunt.loadNpmTasks("grunt-contrib-concat");
67
grunt.loadNpmTasks("grunt-contrib-uglify");
68
grunt.loadNpmTasks("grunt-replace");
71
grunt.registerTask("default", ["concat", "replace", "uglify"]);