forked from maplibre/maplibre-gl-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
220 lines (220 loc) · 9.24 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
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "2.0.0-pre.6",
"main": "dist/maplibre-gl.js",
"style": "dist/maplibre-gl.css",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git://github.com/maplibre/maplibre-gl-js.git"
},
"engines": {
"node": ">=14.0.0"
},
"types": "dist/maplibre-gl.d.ts",
"type": "module",
"dependencies": {
"@mapbox/geojson-rewind": "^0.5.0",
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
"@mapbox/mapbox-gl-supported": "^2.0.1",
"@mapbox/tiny-sdf": "^2.0.4",
"@mapbox/unitbezier": "^0.0.1",
"@mapbox/vector-tile": "^1.3.1",
"@mapbox/whoots-js": "^3.1.0",
"csscolorparser": "~1.0.3",
"earcut": "^2.2.2",
"geojson-vt": "^3.2.1",
"gl-matrix": "^3.2.1",
"grid-index": "^1.1.0",
"murmurhash-js": "^1.0.0",
"pbf": "^3.2.1",
"potpack": "^1.0.1",
"quickselect": "^2.0.0",
"supercluster": "^7.1.0",
"tinyqueue": "^2.0.3",
"vt-pbf": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@mapbox/gazetteer": "^5.1.0",
"@mapbox/mapbox-gl-rtl-text": "^0.2.1",
"@mapbox/mvt-fixtures": "^3.6.0",
"@octokit/rest": "^18.10.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-strip": "^2.1.0",
"@types/babel__core": "^7.1.12",
"@types/babelify": "^7.3.6",
"@types/benchmark": "^2.1.0",
"@types/browserify": "^12.0.36",
"@types/cssnano": "^4.0.0",
"@types/d3": "^4.13.12",
"@types/diff": "^4.0.2",
"@types/earcut": "^2.1.1",
"@types/ejs": "^3.1.0",
"@types/eslint": "^7.28.2",
"@types/geojson": "^7946.0.7",
"@types/gl": "^4.1.0",
"@types/glob": "^7.1.3",
"@types/jest": "^27.0.2",
"@types/jsdom": "^16.2.5",
"@types/jsonwebtoken": "^8.5.5",
"@types/lodash.template": "^4.5.0",
"@types/minimist": "^1.2.1",
"@types/murmurhash-js": "^1.0.3",
"@types/node-notifier": "^8.0.0",
"@types/npm-packlist": "^1.1.1",
"@types/offscreencanvas": "^2019.6.3",
"@types/pbf": "^3.0.2",
"@types/pixelmatch": "^5.2.2",
"@types/pngjs": "^6.0.1",
"@types/puppeteer": "^5.4.4",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/request": "^2.48.7",
"@types/rollup-plugin-json": "^3.0.2",
"@types/selenium-webdriver": "^4.0.16",
"@types/shuffle-seed": "^1.1.0",
"@types/sinon": "^10.0.2",
"@types/stylelint": "^13.13.2",
"@types/supercluster": "^5.0.2",
"@types/tape": "^4.13.2",
"@types/window-or-global": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"address": "^1.1.2",
"babel-eslint": "^10.0.1",
"babel-jest": "^27.2.5",
"babelify": "^10.0.0",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"canvas": "^2.6.1",
"chalk": "^4.1.2",
"chokidar": "^3.0.2",
"cssnano": "^5.0.8",
"d3": "^4.12.0",
"diff": "^4.0.1",
"documentation": "~12.1.1",
"dts-bundle-generator": "^6.0.0",
"ejs": "^3.1.6",
"eslint": "^7.32.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-jsdoc": "^37.0.3",
"eslint-plugin-react": "^7.25.1",
"gl": "^4.5.3",
"glob": "^7.1.4",
"is-builtin-module": "^3.0.0",
"jest": "^27.2.4",
"jest-canvas-mock": "^2.3.1",
"jest-codemods": "^0.24.0",
"jest-raw-loader": "^1.0.1",
"jscodeshift": "^0.13.0",
"jsdom": "^13.0.0",
"json-stringify-pretty-compact": "^3.0.0",
"jsonwebtoken": "^8.3.0",
"list-npm-contents": "^1.0.2",
"lodash": "^4.17.19",
"lodash.template": "^4.5.0",
"mapbox-gl-styles": "^2.0.2",
"minimist": "^1.2.5",
"mock-geolocation": "^1.0.11",
"node-notifier": "^10.0.0",
"node-plantuml": "^0.9.0",
"npm-font-open-sans": "^1.1.0",
"npm-packlist": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pirates": "^4.0.1",
"pixelmatch": "^5.1.0",
"pngjs": "^6.0.0",
"postcss": "^8.3.11",
"postcss-cli": "^9.0.2",
"postcss-inline-svg": "^5.0.0",
"pretty-bytes": "^5.1.0",
"puppeteer": "^11.0.0",
"qrcode-terminal": "^0.12.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"replace-in-file": "^6.2.0",
"request": "^2.88.0",
"rollup": "^2.56.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-unassert": "^0.3.0",
"rw": "^1.3.3",
"selenium-webdriver": "^4.0.0-rc-1",
"semver": "^7.3.5",
"shuffle-seed": "^1.1.6",
"sinon": "^12.0.1",
"source-map-explorer": "^2.5.1",
"st": "^3.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"tap": "~12.4.1",
"tap-parser": "^10.0.1",
"tape": "^5.3.1",
"tape-filter": "^1.0.4",
"testem": "^3.5.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.2"
},
"browser": {
"./rollup/build/tsc/src/util/web_worker.js": "./build/web_worker_replacement.js"
},
"scripts": {
"build-post-ts": "node build/post-ts-build.js ./rollup/build/tsc/src/shaders",
"build-post-ts-min": "node build/post-ts-build.js ./rollup/build/tsc/src/shaders true",
"build-tsc": "tsc && npm run build-post-ts",
"build-tsc-min": "tsc && npm run build-post-ts-min",
"build-dev": "npm run build-tsc && rollup -c --environment BUILD:dev",
"watch-dev": "npm run build-tsc && rollup -c --environment BUILD:dev --watch",
"build-prod": "npm run build-tsc && rollup -c --environment BUILD:production",
"build-prod-min": "npm run build-tsc-min && rollup -c --environment BUILD:production,MINIFY:true",
"build-csp": "rollup -c rollup.config.csp.js",
"build-query-suite": "rollup -c test/integration/rollup.config.test.js",
"build-css": "postcss -o dist/maplibre-gl.css src/css/maplibre-gl.css",
"build-style-spec": "npm run build-tsc && rollup -c rollup.config.style-spec.js && rollup -c rollup.config.style-spec.js --environment esm",
"build-diagrams": "cd docs/diagrams; ls *.plantuml | xargs -I {} puml generate --svg {} -o {}.svg",
"watch-css": "postcss --watch -o dist/maplibre-gl.css src/css/maplibre-gl.css",
"build-benchmarks": "npm run build-dev && BENCHMARK_VERSION=${BENCHMARK_VERSION:-\"$(git rev-parse --abbrev-ref HEAD) $(git rev-parse --short=7 HEAD)\"} rollup -c bench/rollup_config_benchmarks.js",
"start-server": "st --no-cache -H 0.0.0.0 --port 9966 --index index.html .",
"start": "run-p watch-css watch-query start-server",
"start-debug": "run-p watch-css watch-dev start-server",
"start-tests": "run-p watch-css watch-query start-server",
"start-bench": "run-s build-css build-dev build-benchmarks start-server",
"lint": "eslint --ext \".ts,.js,.html\" --ignore-path .gitignore src build debug/*.html bench",
"lint-docs": "documentation lint src/index.ts",
"lint-css": "stylelint \"src/css/maplibre-gl.css\"",
"test": "run-s lint lint-css lint-docs test-unit",
"test-suite": "run-s test-render test-query test-expressions",
"test-suite-clean": "find test/integration/{render,query, expressions}-tests -mindepth 2 -type d -exec test -e \"{}/actual.png\" \\; -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r",
"test-unit": "tap --node-arg --no-warnings --node-arg --experimental-specifier-resolution=node --node-arg --experimental-json-modules --reporter classic --no-coverage test/unit",
"test-unit-file": "tap --node-arg --no-warnings --node-arg --experimental-specifier-resolution=node --node-arg --experimental-json-modules --reporter classic --no-coverage ",
"test-build": "tap --node-arg --no-warnings --node-arg --experimental-specifier-resolution=node --node-arg --experimental-json-modules --reporter classic --no-coverage test/build/**/*.test.js",
"test-browser": "tap --node-arg --no-warnings --node-arg --experimental-specifier-resolution=node --node-arg --experimental-json-modules --reporter classic --no-coverage test/browser/**/*.test.js",
"test-render": "node --experimental-specifier-resolution=node --experimental-json-modules --max-old-space-size=2048 test/render.test.js",
"watch-query": "testem -f test/integration/testem.cjs",
"test-query": "testem ci -f test/integration/testem.cjs -R xunit > test/integration/query-tests/test-results.xml",
"test-expressions": "node --experimental-specifier-resolution=node test/expression.test.js",
"test-cov": "nyc --reporter=text-summary --reporter=lcov --cache run-s test-unit test-expressions test-query test-render",
"test-jest": "jest",
"codegen": "node --loader ts-node/esm --experimental-specifier-resolution=node build/generate-style-code.ts && node --loader ts-node/esm --experimental-specifier-resolution=node build/generate-struct-arrays.ts && node --loader ts-node/esm --experimental-specifier-resolution=node build/generate-style-spec.ts"
},
"files": [
"build/",
"dist/maplibre-gl*",
"dist/style-spec/",
"src/"
]
}