-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
71 lines (71 loc) · 2.31 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
{
"name": "@maptiler/sdk",
"version": "2.4.1",
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
"module": "dist/maptiler-sdk.mjs",
"types": "dist/maptiler-sdk.d.ts",
"style": "dist/maptiler-sdk.css",
"type": "module",
"exports": {
".": {
"import": "./dist/maptiler-sdk.mjs",
"types": "./dist/maptiler-sdk.d.ts"
},
"./dist/maptiler-sdk.css": {
"import": "./dist/maptiler-sdk.css"
},
"./style.css": {
"import": "./dist/maptiler-sdk.css"
}
},
"keywords": [
"maptiler",
"map",
"sdk",
"webmap",
"cloud",
"webGL",
"maplibre"
],
"homepage": "https://docs.maptiler.com/sdk-js/",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/maptiler/maptiler-sdk-js.git"
},
"scripts": {
"biome": "biome check --max-diagnostics=1000",
"biome:fix": "npx @biomejs/biome check --max-diagnostics=1000 --write",
"doc": "rm -rf docs/* && typedoc --out docs && cp -r images docs/",
"test": "vitest run",
"build-css": "node scripts/replace-path-with-content.js src/style/style_template.css dist/tmp_maptiler-sdk.css && cat node_modules/maplibre-gl/dist/maplibre-gl.css dist/tmp_maptiler-sdk.css > dist/maptiler-sdk.css && rm dist/tmp_maptiler-sdk.css && cp dist/maptiler-sdk.css build/maptiler-sdk.css",
"build-umd": "tsc && NODE_ENV=production vite build -c vite.config-umd.ts",
"build-es": "tsc && NODE_ENV=production vite build -c vite.config-es.ts",
"build": "npm run build-es; npm run build-umd; npm run build-css",
"make": "npm run biome:fix && npm run build",
"dev-umd": "npm run build-css && tsc && NODE_ENV=dev vite build -w -c vite.config-umd.ts",
"help": "vite build --help"
},
"author": "MapTiler",
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/uuid": "^9.0.2",
"@types/xmldom": "^0.1.31",
"@xmldom/xmldom": "^0.8.10",
"serve": "^14.2.0",
"terser": "^5.17.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"vite": "^5.3.4",
"vite-plugin-dts": "^4.0.0-beta.0",
"vitest": "^0.34.2"
},
"dependencies": {
"@maplibre/maplibre-gl-style-spec": "^20.3.1",
"@maptiler/client": "^2.0.0",
"events": "^3.3.0",
"js-base64": "^3.7.4",
"maplibre-gl": "4.7.1",
"uuid": "^9.0.0"
}
}