kepler.gl
v1.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
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 --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
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 && 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