forked from maplibre/maplibre-gl-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
186 lines (186 loc) · 6.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
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "3.0.0",
"main": "dist/maplibre-gl.js",
"style": "dist/maplibre-gl.css",
"license": "BSD-3-Clause",
"funding": "https://github.com/maplibre/maplibre-gl-js?sponsor=1",
"repository": {
"type": "git",
"url": "git://github.com/maplibre/maplibre-gl-js.git"
},
"types": "dist/maplibre-gl.d.ts",
"type": "module",
"dependencies": {
"@mapbox/geojson-rewind": "^0.5.2",
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/tiny-sdf": "^2.0.6",
"@mapbox/unitbezier": "^0.0.1",
"@mapbox/vector-tile": "^1.3.1",
"@mapbox/whoots-js": "^3.1.0",
"@maplibre/maplibre-gl-style-spec": "^19.2.1",
"@types/geojson": "^7946.0.10",
"@types/mapbox__point-geometry": "^0.1.2",
"@types/mapbox__vector-tile": "^1.3.0",
"@types/pbf": "^3.0.2",
"earcut": "^2.2.4",
"geojson-vt": "^3.2.1",
"gl-matrix": "^3.4.3",
"global-prefix": "^3.0.0",
"kdbush": "^4.0.2",
"murmurhash-js": "^1.0.0",
"pbf": "^3.2.1",
"potpack": "^2.0.0",
"quickselect": "^2.0.0",
"supercluster": "^8.0.1",
"tinyqueue": "^2.0.3",
"vt-pbf": "^3.1.3"
},
"devDependencies": {
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
"@mapbox/mvt-fixtures": "^3.10.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^11.1.1",
"@types/benchmark": "^2.1.2",
"@types/cssnano": "^5.0.0",
"@types/d3": "^7.4.0",
"@types/diff": "^5.0.3",
"@types/earcut": "^2.1.1",
"@types/eslint": "^8.37.0",
"@types/gl": "^6.0.2",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.1",
"@types/jsdom": "^21.1.1",
"@types/minimist": "^1.2.2",
"@types/murmurhash-js": "^1.0.4",
"@types/nise": "^1.4.1",
"@types/node": "^20.1.0",
"@types/offscreencanvas": "^2019.7.0",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@types/request": "^2.48.8",
"@types/shuffle-seed": "^1.1.0",
"@types/supercluster": "^7.1.0",
"@types/window-or-global": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.5",
"address": "^1.2.2",
"benchmark": "^2.1.4",
"canvas": "^2.11.2",
"cssnano": "^6.0.1",
"d3": "^7.8.4",
"d3-queue": "^3.0.7",
"devtools-protocol": "^0.0.1144541",
"diff": "^5.1.0",
"documentation": "14.0.1",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.40.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^44.2.3",
"eslint-plugin-react": "^7.32.2",
"expect": "^29.5.0",
"gl": "^6.0.2",
"glob": "^10.2.4",
"is-builtin-module": "^3.2.1",
"jest": "^29.5.0",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^22.0.0",
"json-stringify-pretty-compact": "^4.0.0",
"minimist": "^1.2.8",
"mock-geolocation": "^1.0.11",
"nise": "^5.1.4",
"node-plantuml": "^0.9.0",
"npm-font-open-sans": "^1.1.0",
"npm-run-all": "^4.1.5",
"pdf-merger-js": "^4.3.0",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
"postcss": "^8.4.23",
"postcss-cli": "^10.1.0",
"postcss-inline-svg": "^6.0.0",
"pretty-bytes": "^6.1.0",
"puppeteer": "^20.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.21.5",
"rollup-plugin-sourcemaps": "^0.6.3",
"rw": "^1.3.3",
"semver": "^7.5.1",
"shuffle-seed": "^1.1.6",
"source-map-explorer": "^2.5.3",
"st": "^3.0.0",
"stylelint": "^15.6.1",
"stylelint-config-standard": "^33.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^5.0.4"
},
"overrides": {
"postcss-inline-svg": {
"css-select": "^5.1.0",
"dom-serializer": "^2.0.0",
"htmlparser2": "^8.0.1",
"postcss-value-parser": "^4.2.0"
}
},
"scripts": {
"generate-dist-package": "ts-node build/generate-dist-package",
"generate-shaders": "ts-node build/generate-shaders.ts",
"generate-struct-arrays": "ts-node build/generate-struct-arrays.ts",
"generate-style-code": "ts-node build/generate-style-code.ts",
"generate-typings": "ts-node build/generate-typings.ts",
"build-dist": "run-p --print-label generate-typings build-dev build-prod build-csp build-csp-dev build-css",
"build-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev",
"watch-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev --watch",
"build-prod": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:production",
"build-csp": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts",
"build-csp-dev": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts --environment BUILD:dev",
"build-css": "postcss -o dist/maplibre-gl.css src/css/maplibre-gl.css",
"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 && rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts",
"watch-benchmarks": "rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts --watch",
"start-server": "st --no-cache -H 0.0.0.0 --port 9966 .",
"start": "run-p watch-css watch-dev start-server",
"start-bench": "run-p watch-css watch-benchmarks start-server",
"lint": "eslint --cache --ext .ts,.tsx,.js,.html --ignore-path .gitignore .",
"lint-docs": "documentation lint src/index.ts",
"lint-css": "stylelint src/css/maplibre-gl.css",
"test": "run-p lint lint-css lint-docs test-render jest",
"jest": "jest",
"jest-ci": "jest --reporters=github-actions --reporters=summary",
"test-build": "jest --selectProjects=build",
"test-integration": "jest --selectProjects=integration",
"test-render": "ts-node test/integration/render/run_render_tests.ts",
"test-unit": "jest --selectProjects=unit",
"test-watch-roots": "jest --watch",
"codegen": "run-p generate-dist-package generate-style-code generate-struct-arrays generate-shaders",
"benchmark": "ts-node test/bench/run-benchmarks.ts",
"gl-stats": "ts-node test/bench/gl-stats.ts",
"prepare": "npm run codegen",
"typecheck": "tsc --noEmit"
},
"files": [
"build/",
"dist/*",
"src/"
],
"engines": {
"npm": ">=8.1.0",
"node": ">=16.14.0"
}
}