Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Merge branch 'development' into module-loaders

Jo Sprague386923e4e8e4
diff --cc Gruntfile.js
index 451c44721,9f14fa7ed..304067280
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@@ -14,10 -43,14 +14,9 @@@ module.exports = function(grunt)
var pkg = require('./package.json');
var env = grunt.option('env') || 'release';
- var hasOptionsDirectory = fs.existsSync('options');
- var optionsPath = hasOptionsDirectory ? 'options' : 'node_modules/worldview-options-eosdis';
- var options = hasOptionsDirectory ? grunt.file.readJSON('options/package.json') : grunt.file.readJSON('node_modules/worldview-options-eosdis/package.json');
+ var hasCustomOptions = fs.existsSync('options');
+ var optionsPath = hasCustomOptions ? 'options' : 'node_modules/worldview-options-eosdis';
- // Lists of JavaScript and CSS files to include and in the correct
- // order
- var js = grunt.file.readJSON('deploy/wv.js.json');
- var css = grunt.file.readJSON('deploy/wv.css.json');
-
// Platform specific command for find
var findCmd;
if (process.platform === 'win32') {
diff --cc package-lock.json
index 2a803233f,3eed67ff3..2ef130393
--- a/package-lock.json
+++ b/package-lock.json
@@@ -15104,40 -12062,8 +15104,40 @@@
}
},
"worldview-options-eosdis": {
- "version": "github:nasa-gibs/worldview-options-eosdis#790a7104bf06734bf27ef90a481f995623e631c8"
+ "version": "github:nasa-gibs/worldview-options-eosdis#3eee1a8b6a0e830a7d05b0a8a63f1a300cf5efd2"
},
+ "wrap-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
+ "dev": true,
+ "requires": {
+ "string-width": "1.0.2",
+ "strip-ansi": "3.0.1"
+ },
+ "dependencies": {
+ "is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
+ "dev": true,
+ "requires": {
+ "number-is-nan": "1.0.1"
+ }
+ },
+ "string-width": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
+ "dev": true,
+ "requires": {
+ "code-point-at": "1.1.0",
+ "is-fullwidth-code-point": "1.0.0",
+ "strip-ansi": "3.0.1"
+ }
+ }
+ }
+ },
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
diff --cc package.json
index 559bd5a1c,ccec5ea98..aaac59329
--- a/package.json
+++ b/package.json
@@@ -105,16 -81,7 +105,16 @@@
"promise-queue": "2.2.3",
"react": "15.3.1",
"react-dom": "15.3.1",
- "worldview-components": "^1.5.1",
- "worldview-options-eosdis": "nasa-gibs/worldview-options-eosdis#v2.3.0"
+ "worldview-components": "^1.5.2",
- "worldview-options-eosdis": "github:nasa-gibs/worldview-options-eosdis#v2.1.2"
++ "worldview-options-eosdis": "github:nasa-gibs/worldview-options-eosdis#v2.3.0"
+ },
+ "browser": {
+ "d3": "./web/ext/d3/d3.js",
+ "isotope-layout": "./node_modules/isotope-layout/dist/isotope.pkgd.js",
+ "jquery": "./node_modules/jquery/dist/jquery.js"
+ },
+ "browserify-shim": {
+ "isotope-layout": "isotope",
+ "jquery": "$"
}
}