kepler.gl

v3.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

bootstrap

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn

install:example

NODE_OPTIONS=--openssl-legacy-provider cd examples/demo-app && yarn

install:web

yarn install:example && cd website && yarn

install-and-start

node ./scripts/install-and-start

test-fast

yarn test-node-debug && yarn test-browser-debug

test-node

yarn test-node-debug | tap-spec

test-browser

yarn test-browser-debug | tap-spec

test-headless

NODE_ENV=test node ./test/browser-drive.js

test-browser-drive

NODE_ENV=test node ./test/browser-drive.js debug

test-node-debug

NODE_ENV=test node -r ./babel-register.js ./test/node.js

test-browser-debug

NODE_ENV=test node -r ./babel-register.js ./test/setup-browser-env.js ./test/js-dom.js

test-jest

jest

test-tape

yarn test-node && yarn test-browser

test

yarn test-jest && yarn test-tape

cover-tape

nyc --reporter=json --report-dir=tape-coverage --reporter=html yarn test-tape

cover-jest

yarn jest --coverage --reporter=html --watchAll=false

cover-copy-tape

yarn nyc merge tape-coverage .nyc_output/coverage.json

cover-copy-jest

yarn nyc merge jest-coverage .nyc_output/coverage.json

cover-copy

rm -rf .nyc_output && mkdir .nyc_output && yarn cover-copy-tape && yarn cover-copy-jest

cover

yarn cover-jest && yarn cover-tape && yarn cover-copy && nyc report --reporter=json --reporter=html --reporter=lcov

start

NODE_OPTIONS=--openssl-legacy-provider yarn install-and-start -- examples/demo-app start-local

start:deck

NODE_OPTIONS=--openssl-legacy-provider yarn install-and-start -- examples/demo-app start-local-deck

start:deck-src

NODE_OPTIONS=--openssl-legacy-provider yarn install-and-start -- examples/demo-app start-local-deck-src

start:loaders-src

NODE_OPTIONS=--openssl-legacy-provider yarn install-and-start -- examples/demo-app start-local-loaders-src

start:open-modal

yarn install-and-start -- examples/open-modal start-local

start:custom-reducer

yarn install-and-start -- examples/custom-reducer start-local

start:replace-component

yarn install-and-start -- examples/replace-component start-local

start:custom-theme

yarn install-and-start -- examples/custom-theme start-local

start:custom-map-style

yarn install-and-start -- examples/custom-map-style start-local

start:node-app

yarn install-and-start -- examples/node-app start-local

start:web

yarn install-and-start -- website start

start:https

yarn install-and-start -- examples/demo-app start-local-https

start:e2e

yarn install-and-start -- examples/demo-app start-local-e2e

build

NODE_OPTIONS=--openssl-legacy-provider rm -fr dist && babel src/{actions,components,reducers,cloud-providers,localization,tasks} --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'

build:umd

NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod

build:types

tsc --project tsconfig.production.json

analyze

yarn analyze:bundle

analyze:bundle

NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/bundle.js --progress --env.prod

check-licence

babel-node ./scripts/license-header/bin --license ./FILE-HEADER --dry

add-licence

babel-node ./scripts/license-header/bin --license ./FILE-HEADER

prepublish

yarn fix-dependencies && yarn workspaces run stab && yarn workspaces run prepublish && yarn add-licence && yarn build:umd && yarn build:types

docs

babel-node ./scripts/documentation.js

typedoc

typedoc --theme markdown --out typedoc --inputFiles ./src/reducers --inputFiles ./src/actions --excludeExternals --excludeNotExported --excludePrivate

example-version

babel-node ./scripts/edit-version.js

prettier-all

prettier --write '{src,examples,test}/**/*.{js,tsx,ts}'

lint

yarn typescript && eslint src test webpack examples website --fix --ignore-path .gitignore --ext .js,.ts,.tsx

lint:css

stylelint './src/**/*.js'

typescript

tsc --noEmit

web

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

deploy

yarn install:web && (cd website && yarn build)

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

fix-dependencies

./scripts/fix-dependencies.sh
npm i kepler.gl

Metadata

  • MIT
  • >=18
  • Shan He
  • released 12/21/2023

Downloads