forked from keplergl/kepler.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
277 lines (277 loc) · 10.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
{
"name": "kepler.gl",
"author": "Shan He <shan@uber.com>",
"version": "3.0.0",
"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"
],
"private": true,
"workspaces": [
"./src/types",
"./src/constants",
"./src/utils",
"./src/styles",
"./src/localization",
"./src/deckgl-layers",
"./src/layers",
"./src/schemas",
"./src/table",
"./src/cloud-providers",
"./src/processors",
"./src/tasks",
"./src/actions",
"./src/effects",
"./src/reducers",
"./src/components"
],
"repository": {
"type": "git",
"url": "https://github.com/keplergl/kepler.gl.git"
},
"scripts": {
"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"
},
"files": [
"dist",
"src",
"actions.js",
"components.js",
"constants.js",
"layers.js",
"effects.js",
"middleware.js",
"processors.js",
"reducers.js",
"schemas.js",
"styles.js",
"cloud-providers.js",
"localization.js",
"umd"
],
"dependencies": {
"@deck.gl/mapbox": "^8.9.27",
"@hubble.gl/core": "1.2.0-alpha.6",
"@hubble.gl/react": "1.2.0-alpha.6",
"@kepler.gl/components": "3.0.0",
"@loaders.gl/polyfills": "^4.1.0-alpha.4",
"@types/mapbox__geo-viewport": "^0.4.1",
"@typescript-eslint/parser": "^5.27.0",
"eslint-config-developit": "^1.2.0",
"html-webpack-plugin": "^4.3.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-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^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.1.0-alpha.4",
"@luma.gl/test-utils": "^8.5.20",
"@nebula.gl/layers": "1.0.2-alpha.1",
"@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.0.0",
"@types/d3-scale": "^3.2.2",
"@types/geojson": "^7946.0.7",
"@types/jsdom": "^21.1.1",
"@types/redux-actions": "^2.6.2",
"@types/supercluster": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"babel-eslint": "^10.1.0",
"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-transform-builtin-extend": "^1.1.0",
"babelify": "^10.0.0",
"documentation": "^9.1.1",
"dts-bundle-webpack": "^1.0.2",
"enzyme": "^3.11.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.3.0",
"eslint-config-uber-es2015": "^3.1.2",
"eslint-config-uber-jsx": "^3.3.3",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-enzyme-deprecation": "^0.7.7",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gl": "^6.0.2",
"global": "^4.4.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^16.4.0",
"json-loader": "^0.5.4",
"maplibre-gl": "^3.6.2",
"minimist": "^1.2.6",
"nyc": "^15.1.0",
"prettier": "1.19.1",
"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-mock-store": "^1.2.1",
"sinon": "^2.4.1",
"sinon-stub-promise": "^4.0.0",
"source-map-loader": "^1.1.1",
"styled-components": "^4.1.3",
"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.5.5",
"url-loader": "^4.1.1",
"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.1.0-alpha.4",
"@loaders.gl/csv": "^4.1.0-alpha.4",
"@loaders.gl/gltf": "^4.1.0-alpha.4",
"@loaders.gl/json": "^4.1.0-alpha.4",
"@loaders.gl/loader-utils": "^4.1.0-alpha.4",
"@loaders.gl/polyfills": "^4.1.0-alpha.4",
"@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",
"browserslist": "^4.17.0",
"caniuse-lite": "^1.0.30001517",
"d3-array": "^2.8.0",
"d3-scale": "^3.2.3",
"dot-prop": "6.0.0",
"kind-of": "6.0.3",
"jpeg-js": "^0.4.3",
"lodash": "4.17.19",
"minimist": "1.2.6",
"node-fetch": "2.6.1",
"tough-cookie": "4.0.0"
},
"peerDependencies": {
"react": ">=18.2",
"react-dom": ">=18.2",
"styled-components": "^4.x || ^5.x"
},
"nyc": {
"sourceMap": false,
"instrument": false,
"exclude": [
"test/**/*.js",
"src/tasks",
"src/templates",
"src/styles"
]
},
"engines": {
"node": ">=18"
},
"maintainers": [
"Shan He <heshan0131@gmail.com>",
"Giuseppe Macri <gmacri@uber.com>"
],
"volta": {
"node": "18.18.2",
"yarn": "1.22.19"
},
"nx": {
"tags": [
"type:lib",
"scope:frontend"
]
}
}