Interactive interface for browsing global, full-resolution satellite imagery
Now using grunt-minjson to minify json
Mike McGann43e4bc94184c
diff --git a/Gruntfile.js b/Gruntfile.jsindex 607a67a77..1e1f450eb 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -320,6 +320,17 @@ module.exports = function(grunt) {}},+ minjson: {+ main: {+ files: {+ "build/worldview/web/conf/wv.json":+ "build/worldview/web/conf/wv.json",+ "build/worldview/web/conf/palettes.json":+ "build/worldview/web/conf/palettes.json"+ }+ }+ },+lineremover: {// After removing all the <!-- link.dev --> references, there// are a lot of blank lines in index.html. Remove them@@ -422,6 +433,7 @@ module.exports = function(grunt) {grunt.loadNpmTasks("grunt-line-remover");grunt.loadNpmTasks("grunt-exec");grunt.loadNpmTasks("grunt-git-rev-parse");+ grunt.loadNpmTasks("grunt-minjson");grunt.loadNpmTasks("grunt-text-replace");grunt.renameTask("clean", "remove");@@ -446,6 +458,7 @@ module.exports = function(grunt) {"copy:release","uglify","cssmin",+ "minjson","lineremover","exec:empty","exec:cgi_echo",diff --git a/package.json b/package.jsonindex 6526543db..7ee3e2299 100644--- a/package.json+++ b/package.json@@ -24,6 +24,7 @@"grunt-exec": "0.4.x","grunt-git-rev-parse": "0.1.x","grunt-line-remover": "0.0.x",+ "grunt-minjson": "0.1.x","grunt-text-replace": "0.3.x","phantomjs": "1.9.x","jshint": "2.3.x",