UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

291 lines (290 loc) 11.7 kB
{ "name": "kepler.gl", "author": "Shan He <shan@uber.com>", "version": "3.1.1", "description": "kepler.gl is a webgl based application to visualize large scale location data in the browser", "license": "MIT", "main": "dist/index.js", "types": "./types.d.ts", "keywords": [ "babel", "es6", "react", "webgl", "visualization", "deck.gl" ], "workspaces": [ "./src/types", "./src/constants", "./src/common-utils", "./src/utils", "./src/styles", "./src/localization", "./src/deckgl-layers", "./src/deckgl-arrow-layers", "./src/table", "./src/layers", "./src/schemas", "./src/cloud-providers", "./src/processors", "./src/tasks", "./src/actions", "./src/effects", "./src/reducers", "./src/components", "./src/duckdb", "./src/ai-assistant" ], "repository": { "type": "git", "url": "https://github.com/keplergl/kepler.gl.git" }, "scripts": { "bootstrap": "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true git submodule update --init --recursive && yarn install && yarn fix-dependencies", "install:example": "cd examples/demo-app && NODE_OPTIONS=--openssl-legacy-provider 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": "yarn cover-tape && yarn cover-jest && yarn cover-merge && yarn cover-report", "cover-tape": "nyc --reporter=json --report-dir=tape-coverage --reporter=lcov yarn test-tape", "cover-jest": "jest --coverage --reporter=lcov --watchAll=false", "cover-merge": "istanbul-merge --out=coverage/coverage-all.json tape-coverage/coverage-final.json jest-coverage/coverage-final.json", "cover-report": "nyc report -t coverage --report-dir coverage --reporter=json --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,ai-assistant} --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'", "build:umd": "node ./esbuild/umd-esbuild.config.mjs", "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", "prepublishOnly": "yarn workspaces foreach -At run stab && yarn workspaces foreach -At run prepublishOnly && 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", "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 .nyc_output coverage jest-coverage tape-coverage", "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" }, "files": [ "dist", "src", "umd" ], "dependencies": { "@deck.gl/mapbox": "^8.9.27", "@hubble.gl/core": "1.4.0", "@hubble.gl/react": "1.4.0", "@kepler.gl/components": "3.1.1", "@loaders.gl/polyfills": "^4.3.2", "@types/mapbox__geo-viewport": "^0.4.1", "html-webpack-plugin": "^4.3.0", "monaco-editor": "^0.52.0", "typedoc": "^0.19.2" }, "devDependencies": { "@babel/cli": "^7.12.1", "@babel/core": "^7.12.1", "@babel/eslint-parser": "^7.17.0", "@babel/node": "^7.12.1", "@babel/parser": "^7.12.1", "@babel/plugin-transform-class-properties": "^7.12.1", "@babel/plugin-transform-export-namespace-from": "^7.12.1", "@babel/plugin-transform-logical-assignment-operators": "^7.12.1", "@babel/plugin-transform-modules-commonjs": "^7.12.1", "@babel/plugin-transform-nullish-coalescing-operator": "^7.12.1", "@babel/plugin-transform-optional-chaining": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.1", "@babel/plugin-transform-typescript": "^7.16.8", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.12.1", "@babel/preset-react": "^7.12.1", "@babel/preset-typescript": "^7.16.7", "@babel/register": "^7.12.1", "@babel/runtime": "^7.12.1", "@babel/traverse": "^7.12.1", "@cfaester/enzyme-adapter-react-18": "^0.7.0", "@deck.gl/test-utils": "^8.9.27", "@loaders.gl/polyfills": "^4.3.2", "@luma.gl/test-utils": "^8.5.20", "@nebula.gl/layers": "1.0.2-alpha.1", "@open-wc/webpack-import-meta-loader": "0.4.7", "@probe.gl/env": "^3.5.0", "@probe.gl/test-utils": "^3.5.0", "@testing-library/dom": "^9.0.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/d3-array": "^2.8.0", "@types/d3-scale": "^3.2.2", "@types/geojson": "^7946.0.8", "@types/jsdom": "^21.1.1", "@types/redux-actions": "^2.6.2", "@types/redux-logger": "^3", "@types/supercluster": "^7.1.0", "@typescript-eslint/eslint-plugin": "5.57.0", "@typescript-eslint/parser": "^5.57.1", "babel-loader": "^8.0.0", "babel-plugin-istanbul": "^6.0.0", "babel-plugin-module-resolver": "^4.0.0", "babel-plugin-search-and-replace": "^1.0.0", "babel-plugin-styled-components": "^2.1.4", "babel-plugin-transform-builtin-extend": "^1.1.0", "babelify": "^10.0.0", "css-loader": "5.2.7", "documentation": "^9.1.1", "dts-bundle-webpack": "^1.0.2", "enzyme": "^3.11.0", "esbuild": "^0.23.1", "esbuild-plugin-replace": "^1.4.0", "esbuild-plugin-umd-wrapper": "3.0.0", "eslint": "~8.53.0", "eslint-config-developit": "^1.2.0", "eslint-config-prettier": "8.5.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-babel": "^5.3.0", "eslint-plugin-enzyme-deprecation": "^0.7.7", "eslint-plugin-import": "2.29.1", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "gl": "^6.0.2", "global": "^4.4.0", "istanbul-merge": "^2.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "jsdom": "^24.1.1", "json-loader": "^0.5.4", "mapbox-gl": "1.13.1", "maplibre-gl": "^3.6.2", "minimist": "^1.2.6", "nyc": "^15.1.0", "prettier": "2.8.8", "progress-bar-webpack-plugin": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hot-loader": "^4.13.0", "readdirp": "^2.1.0", "redux-logger": "^3.0.6", "redux-mock-store": "^1.2.1", "sinon": "^2.4.1", "sinon-stub-promise": "^4.0.0", "source-map-loader": "^1.1.1", "style-loader": "2.0.0", "styled-components": "6.1.8", "stylelint": "^13.6.1", "stylelint-config-recommended": "^3.0.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-processor-styled-components": "^1.10.0", "tap-spec": "^5.0.0", "tape": "^4.9.2", "tape-catch": "^1.0.6", "typedoc-plugin-markdown": "^3.0.11", "typescript": "4.7.2", "url-loader": "^4.1.1", "usehooks-ts": "^3.1.0", "watchify": "^3.6.1", "webpack": "^4.29.0", "webpack-bundle-analyzer": "^3.3.2", "webpack-cli": "^3.2.1", "webpack-dev-middleware": "^3.5.1", "webpack-dev-server": "^3.1.14", "webpack-hot-middleware": "^2.24.3", "webpack-stats-plugin": "^0.2.1" }, "resolutions": { "@loaders.gl/core": "4.3.2", "@loaders.gl/csv": "4.3.2", "@loaders.gl/draco": "4.3.2", "@loaders.gl/gltf": "4.3.2", "@loaders.gl/json": "4.3.2", "@loaders.gl/loader-utils": "4.3.2", "@loaders.gl/polyfills": "4.3.2", "@loaders.gl/arrow": "4.3.2", "@loaders.gl/parquet": "4.3.2", "@loaders.gl/gis": "4.3.2", "@loaders.gl/schema": "4.3.2", "@loaders.gl/wkt": "4.3.2", "@luma.gl/constants": "8.5.21", "@luma.gl/core": "8.5.21", "@luma.gl/experimental": "8.5.21", "@luma.gl/shadertools": "8.5.21", "@luma.gl/test-utils": "8.5.21", "@luma.gl/webgl": "8.5.21", "@types/lodash": "4.17.5", "browserslist": "^4.17.0", "caniuse-lite": "^1.0.30001636", "d3-array": "^2.8.0", "d3-scale": "^3.2.3", "eslint-plugin-jest": "^27.2.1", "dot-prop": "6.0.0", "kind-of": "6.0.3", "jpeg-js": "^0.4.3", "lodash": "4.17.21", "minimist": "1.2.6", "node-fetch": "2.6.1", "tough-cookie": "4.0.0" }, "peerDependencies": { "react": ">=18.2", "react-dom": ">=18.2", "styled-components": "6.1.8" }, "nyc": { "sourceMap": false, "instrument": false, "exclude": [ "test/**/*.js", "src/tasks", "src/templates", "src/styles" ] }, "maintainers": [ "Shan He <heshan0131@gmail.com>", "Giuseppe Macri <gmacri@uber.com>" ], "nx": { "tags": [ "type:lib", "scope:frontend" ] }, "engines": { "node": ">=18" }, "volta": { "node": "18.18.2", "yarn": "4.4.0" }, "packageManager": "yarn@4.4.0" }