@mapslibvn/web 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@mapslibvn/web",
3
+ "version": "0.4.0",
4
+ "description": "SDK web MapsLibVN: bọc maplibre-gl, pmtiles, attribution bắt buộc",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./umd": "./dist/mapslibvn.umd.js",
15
+ "./style.css": "./dist/mapslibvn.css"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md",
20
+ "LICENSE",
21
+ "THIRD_PARTY_NOTICES.md"
22
+ ],
23
+ "sideEffects": false,
24
+ "peerDependencies": {
25
+ "maplibre-gl": "^6.4.1"
26
+ },
27
+ "dependencies": {
28
+ "pmtiles": "^4.3.0",
29
+ "@mapslibvn/core": "0.4.0"
30
+ },
31
+ "devDependencies": {
32
+ "@size-limit/file": "^11.1.0",
33
+ "maplibre-gl": "^6.8.0",
34
+ "size-limit": "^11.1.0",
35
+ "tsup": "^8.3.0",
36
+ "typescript": "^5.6.0",
37
+ "vite": "^6.0.0"
38
+ },
39
+ "scripts": {
40
+ "build": "tsup src/index.ts --format esm --dts --clean --target es2022 --external maplibre-gl --external pmtiles && vite build -c vite.umd.config.ts && size-limit",
41
+ "typecheck": "tsc --noEmit"
42
+ }
43
+ }