kepler.gl
v2.0.0 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
coveralls
nyc npm test && nyc report --reporter cobertura --reporter=text-lcov | coveralls
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: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:node-app
npm run install-and-start -- examples/node-app start-local
start:web
npm run install-and-start -- website start
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
example-version
babel-node ./scripts/edit-version.js
prettier-all
prettier --write '{src,examples,test}/**/*.js'
lint
eslint src test webpack examples/*.js examples/**/src website/*.js website/src --fix
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