kepler.gl
v2.5.2 babel es6 react webgl visualization deck.gl
install:example
cd examples/demo-app && yarn
install:web
yarn install:example && cd website && yarn
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/index.js | tap-spec
test-node
NODE_ENV=test babel-tape-runner ./test/node.js | tap-spec
test-browser-drive
NODE_ENV=test node ./test/browser-drive.js
test-e2e
NODE_ENV=test HEADLESS=true SLOWMO=true jest
test
npm run lint && npm run test-node && npm run test-browser
cover
nyc --reporter=lcov --reporter html npm test
start
npm run install-and-start -- examples/demo-app start-local
start:deck
npm run install-and-start -- examples/demo-app start-local-deck
start:deck-src
npm run install-and-start -- examples/demo-app start-local-deck-src
start:loaders-src
npm run install-and-start -- examples/demo-app start-local-loaders-src
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:custom-map-style
npm run install-and-start -- examples/custom-map-style start-local
start:node-app
npm run install-and-start -- examples/node-app start-local
start:web
npm run install-and-start -- website start
start:https
npm run install-and-start -- examples/demo-app start-local-https
start:e2e
npm run install-and-start -- examples/demo-app start-local-e2e
build
rm -fr dist && babel src --out-dir dist --source-maps inline
build:umd
webpack --config ./webpack/umd.js --progress --env.prod
analyze
npm run analyze:bundle
analyze:bundle
webpack --config ./webpack/bundle.js --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
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'
lint
yarn typescript && eslint src test webpack examples/*.js examples/**/src website/*.js website/src --fix
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