-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
150 lines (150 loc) · 3.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
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
{
"name": "styled-map-package",
"version": "2.0.0",
"description": "",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./lib/index.js"
},
"./reader": {
"types": "./dist/reader.d.ts",
"import": "./lib/reader.js"
},
"./reader-watch": {
"types": "./dist/reader-watch.d.ts",
"import": "./lib/reader-watch.js"
},
"./writer": {
"types": "./dist/writer.d.ts",
"import": "./lib/writer.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./lib/server.js"
},
"./style-downloader": {
"types": "./dist/style-downloader.d.ts",
"import": "./lib/style-downloader.js"
},
"./tile-downloader": {
"types": "./dist/tile-downloader.d.ts",
"import": "./lib/tile-downloader.js"
},
"./download": {
"types": "./dist/download.d.ts",
"import": "./lib/download.js"
},
"./from-mbtiles": {
"types": "./dist/from-mbtiles.d.ts",
"import": "./lib/from-mbtiles.js"
}
},
"main": "./lib/index.js",
"types": "./dist/index.d.ts",
"bin": {
"styled-map-package": "./bin/smp.js",
"smp": "./bin/smp.js"
},
"type": "module",
"files": [
"bin",
"dist",
"lib",
"map-viewer"
],
"scripts": {
"test": "npm run lint && npm run types && node --test",
"prepare": "husky",
"lint": "eslint .",
"types": "tsc",
"build:types": "rimraf \"dist/\" && tsc -p tsconfig.publish.json",
"prepack": "npm run build:types"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@fastify/static": "^7.0.4",
"@mapbox/sphericalmercator": "^1.2.0",
"@maplibre/maplibre-gl-style-spec": "^20.3.1",
"@placemarkio/check-geojson": "^0.1.12",
"@turf/bbox": "^7.1.0",
"@turf/helpers": "^7.1.0",
"ansi-diff": "^1.2.0",
"archiver": "^7.0.1",
"buffer-peek-stream": "^1.1.0",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"fastify": "^4.28.1",
"filter-obj": "^6.1.0",
"http-errors": "^2.0.0",
"into-stream": "^8.0.1",
"is-stream": "^4.0.1",
"ky": "^1.7.1",
"log-symbols": "^7.0.0",
"map-obj": "^5.0.2",
"mbtiles-reader": "^1.0.0",
"open": "^10.1.0",
"ora": "^8.1.0",
"p-event": "^6.0.1",
"p-limit": "^6.1.0",
"pretty-bytes": "^6.1.1",
"pretty-ms": "^9.1.0",
"readable-stream": "^4.5.2",
"temp-dir": "^3.0.0",
"yauzl-promise": "^4.0.0",
"yocto-queue": "^1.1.1"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@jsquash/jpeg": "^1.4.0",
"@jsquash/png": "^3.0.1",
"@stealthybox/jpg-stream": "^1.1.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/archiver": "^6.0.2",
"@types/eslint": "^9.6.1",
"@types/eslint__js": "^8.42.3",
"@types/geojson": "^7946.0.14",
"@types/http-errors": "^2.0.4",
"@types/mapbox__sphericalmercator": "^1.2.3",
"@types/node": "^20.16.3",
"@types/readable-stream": "^4.0.15",
"@types/yauzl-promise": "^4.0.1",
"ava": "^6.1.3",
"block-stream2": "^2.1.0",
"eslint": "^9.9.1",
"execa": "^9.4.0",
"globals": "^15.9.0",
"husky": "^9.1.5",
"jpg-stream": "^1.1.2",
"lint-staged": "^15.2.10",
"pixel-stream": "^1.0.3",
"playwright": "^1.46.1",
"png-stream": "^1.0.5",
"prettier": "^3.3.3",
"random-bytes-readable-stream": "^3.0.0",
"rimraf": "^4.4.1",
"tempy": "^3.1.0",
"type-fest": "^4.26.0",
"typescript": "5.5.4"
},
"prettier": {
"semi": false,
"singleQuote": true,
"importOrder": [
"^node:",
"^[./]"
],
"importOrderSeparation": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"lint-staged": {
"*.js": [
"eslint --cache --fix"
],
"*.{js,css,md}": "prettier --write"
}
}