kepler.gl

v1.0.0-0
kepler.gl is a webgl based application to visualize large scale location data in the browser
babel es6 react webgl visualization deck.gl

install:example

cd examples/demo-app && yarn --ignore-engines

install:web

yarn install:example && cd website && yarn --ignore-engines

install-and-start

node ./scripts/install-and-start

fast-test

npm run test-node && npm run test-browser

test-browser

NODE_ENV=test babel-tape-runner -r ./test/setup-browser-env.js ./test/browser.js | tap-spec

test-node

NODE_ENV=test babel-tape-runner ./test/node.js | tap-spec

test

npm run lint && npm run test-node && npm run test-browser

cover

nyc --reporter html --reporter cobertura --reporter json-summary npm test && nyc report

start

npm run install-and-start -- examples/demo-app start-local

start:open-modal

npm run install-and-start -- examples/open-modal start-local

start:custom-reducer

npm run install-and-start -- examples/custom-reducer start-local

start:replace-component

npm run install-and-start -- examples/replace-component start-local

start:custom-theme

npm run install-and-start -- examples/custom-theme start-local

start:web

npm run install-and-start -- website start

build

rm -fr dist && uber-licence && babel src --out-dir dist --source-maps inline

build:umd

webpack --progress --env.prod

check-licence

uber-licence --dry

add-licence

uber-licence

prepublish

uber-licence && yarn build && yarn build:umd

docs

babel-node ./scripts/documentation.js

lint

eslint src webpack.*.js examples/*.js examples/**/src examples/**/*.js website/*.js website/src --fix

web

(yarn && yarn install:web && yarn start:web)

deploy

yarn clean && yarn --ignore-engines && yarn install:web && (cd website && yarn build && git checkout gh-pages && cp dist/* .. && git add .. && git commit -m 'Update website' && git push origin gh-pages && git checkout master)

deploy:test

yarn clean && yarn --ignore-engines && yarn install:web && (cd website && yarn build && git checkout -B gh-pages-test gh-pages && cp dist/* .. && git add .. && git commit -m 'Update website' && git push -f test gh-pages-test:master && git checkout master)

clean

rm -rf node_modules examples/**/node_modules website/node_modules

release:patch

git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags

Metadata

  • MIT
  • >=8.1.0
  • Shan He
  • released 4/3/2019

Downloads

Maintainers