1 /*global module:false*/
2 module.exports = function(grunt) {
4 // Project configuration.
6 pkg: '<json:package.json>',
8 banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
9 '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
10 '<%= pkg.homepage ? " * " + pkg.homepage + "\n" : "" %>' +
11 ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>/<%= pkg.author.company %>;' +
12 ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
20 'js/jquery.mousewheel.js',
21 'js/jquery.ui.widget.js',
22 'js/jquery.geo.core.js',
23 'js/jquery.geo.geographics.js',
24 'js/jquery.geo.geomap.js',
25 'js/jquery.geo.tiled.js',
26 'js/jquery.geo.shingled.js'
28 dest: 'docs/<%= pkg.name %>-<%= pkg.version %>.js'
33 src: ['js/excanvas.js'],
34 dest: 'js/excanvas.min.js'
37 src: ['js/jsrender.js'],
38 dest: 'js/jsrender.min.js'
41 src: ['js/jquery.ui.widget.js'],
42 dest: 'js/jquery.ui.widget.min.js'
45 src: ['<banner>', '<config:concat.dist.dest>'],
46 dest: 'docs/<%= pkg.name %>-<%= pkg.version %>.min.js'
50 files: ['test/**/*.html']
53 files: ['js/jquery.geo.core.js', 'js/jquery.geo.geographics.js', 'js/jquery.geo.geomap.js', 'js/jquery.geo.shingled.js', 'js/jquery.geo.tiled.js']
56 files: '<config:lint.files>',
80 grunt.registerTask('default', 'lint concat:dist min:dist');