forked from protomaps/protomaps-leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.77 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
{
"name": "protomaps-leaflet",
"version": "3.1.2",
"files": [
"dist",
"src"
],
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@types/leaflet": "^1.9.8",
"@types/mapbox__point-geometry": "^0.1.2",
"@types/mapbox__vector-tile": "^1.3.0",
"@types/node": "^16.18.74",
"@types/pbf": "^3.0.2",
"@types/rbush": "^3.0.0",
"esbuild": "^0.15.11",
"tslib": "^2.3.0",
"tsx": "^4.7.1",
"typescript": "^4.3.5"
},
"dependencies": {
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/vector-tile": "^1.3.1",
"@types/css-font-loading-module": "^0.0.7",
"color2k": "^2.0.3",
"pbf": "^3.2.1",
"pmtiles": "^3.0.3",
"potpack": "^1.0.2",
"rbush": "^3.0.1"
},
"scripts": {
"dev": "esbuild src/index.ts --bundle --target=es6 --servedir=. --outfile=dist/protomaps-leaflet.js --global-name=protomapsL",
"build": "esbuild src/index.ts --bundle --target=es6 --outfile=dist/protomaps-leaflet.js --global-name=protomapsL",
"build-min": "esbuild src/index.ts --bundle --target=es6 --minify --outfile=dist/protomaps-leaflet.min.js --global-name=protomapsL",
"build-module": "esbuild src/index.ts --bundle --target=es6 --outfile=dist/index.js --format=esm",
"build-tsc": "tsc --declaration --outdir dist",
"tsc": "tsc --noEmit --watch",
"test": "tsx --test --test-reporter spec test/*.test.ts",
"dist": "npm run build && npm run build-min && npm run build-module && npm run build-tsc",
"check": "biome check src test"
},
"repository": {
"type": "git",
"url": "git://github.com/protomaps/protomaps-leaflet.git"
},
"keywords": [
"gis",
"map"
],
"license": "BSD-3-Clause"
}