Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add `npm run updateconfig` shortcut.

Jo Spraguee21aab2deafb
diff --git a/doc/developing.md b/doc/developing.md
index 3e628e195..07a768de6 100644
--- a/doc/developing.md
+++ b/doc/developing.md
@@ -22,6 +22,8 @@ This project uses `npm` as an interface to run build scripts and other tasks. Th
`npm run getcapabilites`: Makes a request to the GIBS `GetCapabilities` API and updates layer configurations.
+`npm run updateconfig`: A shortcut to update the config when new layers are added. Runs `npm run getcapabilities` and `npm run build:config` behind the scenes.
+
`npm run report`: Generates a readable HTML report with the results of the last end-to-end test.
## Grunt tasks
diff --git a/package.json b/package.json
index 80bd639b5..247228e75 100644
--- a/package.json
+++ b/package.json
@@ -36,6 +36,7 @@
"test:end": "run-script-os",
"test:end:darwin:linux": "pkill -f buster-server",
"test:end:win32": "tskill node",
+ "updateconfig": "run-s getcapabilities build:config",
"watch": "WORLDVIEW_WATCH='active' npm-watch"
},
"watch": {