Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add d3 to mod dirs

Mike McGann90e7a620a231
diff --git a/.travis.yml b/.travis.yml
index 27da2e1d9..6acccb02a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,14 +2,10 @@ language: node_js
node_js:
- '8.8.1'
-before_install: npm install -g grunt-cli
-
cache:
directories:
- node_modules
- .python
install: npm install
-before_script: npm run build:tests
-
-script: npm run test
+script: npm test
diff --git a/package.json b/package.json
index 24188d7e1..c6a132379 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,6 @@
"build:dev": "webpack",
"build:config": "bash -c 'tasks/buildOptions.sh' && node ./tasks/config.js",
"build:prod": "cross-env NODE_ENV=production webpack",
- "build:tests": "cross-env NODE_ENV=testing webpack",
"clean": "node ./tasks/clean.js",
"dist": "npm run clean && npm run getcapabilities && npm run build:config && npm run build:prod && node ./tasks/dist.js",
"dist:dev": "npm run clean && npm run getcapabilities && npm run build:config && npm run build:dev && node ./tasks/dist.js",
@@ -193,8 +192,12 @@
"setupFiles": [
"./test-env.js"
],
+ "moduleDirectories": [
+ "node_modules",
+ "./web/ext/d3"
+ ],
"transformIgnorePatterns": [
- "node_modules/(?!(ol)/)"
+ "node_modules/(?!(ol|d3)/)"
]
}
}