Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Enhancement] Fossa Integration (#309)

Shan He936ca33fcb35
diff --git a/.travis.yml b/.travis.yml
index 475b5a192..fbb80af4b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,10 @@ install:
node_js:
- 8
- 10
+before_script:
+ - "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
script:
- npm run lint
- npm run test
-cache: yarn
\ No newline at end of file
+ - fossa
+cache: yarn
diff --git a/README.md b/README.md
index aacf4daa5..2fdf562ca 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,32 @@
-# Kepler.gl
+<p align="right">
+ <a href="https://npmjs.org/package/kepler.gl">
+ <img src="https://img.shields.io/npm/v/kepler.gl.svg?style=flat" alt="version" />
+ </a>
+ <a href="https://travis-ci.com/uber/kepler.gl">
+ <img src="https://api.travis-ci.com/uber/kepler.gl.svg?branch=master" alt="build" />
+ </a>
+ <a href="https://github.com/uber/kepler.gl">
+ <img src="https://githubbadges.com/star.svg?user=uber&repo=kepler.gl&style=flat" alt="stars" />
+ </a>
+ <a href='https://opensource.org/licenses/MIT'>
+ <img src='https://img.shields.io/badge/License-MIT-blue.svg' alt='MIT License' />
+ </a>
+ <a href='https://app.fossa.io/projects/custom%2B4458%2Fgithub.com%2Fuber%2Fkepler.gl?ref=badge_shield'>
+ <img src='https://app.fossa.io/api/projects/custom%2B4458%2Fgithub.com%2Fuber%2Fkepler.gl.svg?type=shield' alt='Fossa' />
+ </a>
+</p>
+
+<h1 align="center">Kepler.gl | <a href="https://uber.github.io/kepler.gl">Website</a> |
+<a href="https://uber.github.io/kepler.gl/#/demo">Demo App</a>
+</h1>
+
[kepler.gl](http://www.kepler.gl/) is a data-agnostic, high-performance web-based application for visual exploration of large-scale geolocation data sets. Built on top of [deck.gl](http://uber.github.io/deck.gl/#/), kepler.gl can render millions of points representing thousands of trips and perform spatial aggregations on the fly.
For what it is capable of, take a look at [kepler.gl demo app](https://uber.github.io/kepler.gl/#/demo).
Kepler.gl is a redux component that uses redux reducer to store and manage state transitions.
-This package consists of a reducer and the UI components to render and customize the map.
+This package consists of a reducer and the UI components to render and customize the map.
For information on how to save the map state you've created and have it persist after you've closed the browser, take a look at [this tutorial on vis.academy](http://vis.academy/#/kepler.gl/).
@@ -13,7 +34,7 @@ For information on how to save the map state you've created and have it persist
Check out [kepler.gl's user documentation here](docs/a-introduction.md)
## Dev Questions - StackOverflow
-Check out this [StackOverflow](https://stackoverflow.com/questions/tagged/kepler.gl)
+Check out this [StackOverflow](https://stackoverflow.com/questions/tagged/kepler.gl)
## Links
diff --git a/package.json b/package.json
index 6acf11274..cc370a190 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,6 @@
"@mapbox/geojson-normalize": "0.0.1",
"classnames": "^2.2.1",
"colorbrewer": "^1.0.0",
- "curry": "^1.2.0",
"d3-array": "^1.2.0",
"d3-axis": "^1.0.8",
"d3-brush": "^1.0.4",
@@ -77,6 +76,7 @@
"h3-js": "^3.1.0",
"keymirror": "^0.1.1",
"lodash.clonedeep": "^4.0.1",
+ "lodash.curry": "^4.1.1",
"lodash.debounce": "^4.0.8",
"lodash.flattendeep": "^4.2.0",
"lodash.memoize": "^4.1.2",
diff --git a/src/actions/action-wrapper.js b/src/actions/action-wrapper.js
index ffe68f55d..4490447e6 100644
--- a/src/actions/action-wrapper.js
+++ b/src/actions/action-wrapper.js
@@ -21,7 +21,7 @@
export const FORWARD = '@redux-forward/FORWARD';
export const ADDRESS_PREFIX = '@@KG_';
-import curry from 'curry';
+import curry from 'lodash.curry';
/*
* wrap an action into a forward action
diff --git a/yarn.lock b/yarn.lock
index 9865e3741..42f4f048f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2083,10 +2083,6 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"
-curry@^1.2.0:
- version "1.2.0"
- resolved "http://registry.npmjs.org/curry/-/curry-1.2.0.tgz#9e6dd289548dba7e653d5ae3fe903fe7dfb33af2"
-
d3-array@1, d3-array@^1.1.1, d3-array@^1.2.0:
version "1.2.4"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f"
@@ -4543,6 +4539,10 @@ lodash.clonedeep@^4.0.1:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
+lodash.curry@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/lodash.curry/-/lodash.curry-4.1.1.tgz#248e36072ede906501d75966200a86dab8b23170"
+
lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"