-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
176 lines (176 loc) · 5.64 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
{
"name": "@maptiler/geocoding-control",
"version": "2.0.0",
"description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
"type": "module",
"author": {
"name": "Martin Ždila",
"email": "[email protected]"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/maptiler/maptiler-geocoding-control"
},
"bugs": {
"url": "https://github.com/maptiler/maptiler-geocoding-control/issues"
},
"keywords": [
"geocoding",
"forward-geocoding",
"reverse-geocoding",
"maptiler",
"leaflet",
"maplibre",
"map",
"search",
"leaflet-control",
"maplibre-control",
"control",
"react",
"svelte"
],
"scripts": {
"dev": "vite --host",
"build": "npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPTILER,MAPLIB-C,LEAFLET ,LEAFLE-C,OL ,OL-C ,REACT ,TYPES ,VANILLA \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maptilersdk\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-openlayers\" \"npm run build-openlayers-controller\" \"npm run build-react\" \"npm run build-vanilla\" \"npm run build-types\" && cp LICENSE README.md package.json dist && cp -r dist.svelte dist/svelte",
"build-svelte": "svelte-package -i src -o dist.svelte && VITE_LIB_VERSION=$npm_package_version node replace-env-vars.js",
"build-maptilersdk": "FLAVOUR=maptilersdk vite build",
"build-maplibre": "FLAVOUR=maplibre vite build",
"build-maplibre-controller": "FLAVOUR=maplibregl-controller vite build",
"build-leaflet": "FLAVOUR=leaflet vite build",
"build-leaflet-controller": "FLAVOUR=leaflet-controller vite build",
"build-openlayers": "FLAVOUR=openlayers vite build",
"build-openlayers-controller": "FLAVOUR=openlayers-controller vite build",
"build-react": "FLAVOUR=react vite build",
"build-vanilla": "FLAVOUR=vanilla vite build",
"build-types": "tsc --outDir dist --declaration --emitDeclarationOnly -p tsconfig.dist.json",
"clean": "rm -rf dist dist.svelte",
"pack": "npm run clean && npm run build && cd dist && npm pack",
"pub": "npm run clean && npm run build && cd dist && npm publish",
"pub-next": "npm run clean && npm run build && cd dist && npm publish --tag next",
"cdn-pr": "npm run clean && npm run build && ./create-cdn-pr.sh",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"prepare": "husky"
},
"exports": {
"./leaflet": {
"import": "./leaflet.js",
"require": "./leaflet.umd.js"
},
"./leaflet-controller": {
"import": "./leaflet-controller.js",
"require": "./leaflet-controller.umd.js"
},
"./openlayers": {
"import": "./openlayers.js",
"require": "./openlayers.umd.js"
},
"./openlayers-controller": {
"import": "./openlayers-controller.js",
"require": "./openlayers-controller.umd.js"
},
"./maplibregl": {
"import": "./maplibregl.js",
"require": "./maplibregl.umd.js"
},
"./maptilersdk": {
"import": "./maptilersdk.js",
"require": "./maptilersdk.umd.js"
},
"./maplibregl-controller": {
"import": "./maplibregl-controller.js",
"require": "./maplibregl-controller.umd.js"
},
"./react": {
"import": "./react.js",
"require": "./react.umd.js"
},
"./vanilla": {
"import": "./vanilla.js",
"require": "./vanilla.umd.js"
},
"./style.css": {
"import": "./style.css",
"require": "./style.css"
},
"./svelte/GeocodingControl.svelte": {
"types": "./svelte/GeocodingControl.svelte.d.ts",
"svelte": "./svelte/GeocodingControl.svelte"
},
"./svelte/*": "./svelte/*",
"./types": "./types.d.ts"
},
"devDependencies": {
"@maptiler/sdk": "^2.4.0",
"@sveltejs/package": "^2.3.5",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tsconfig/svelte": "^5.0.4",
"@types/geojson": "^7946.0.14",
"@types/leaflet": "^1.9.12",
"@types/node": "^22.7.6",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"concurrently": "^9.0.1",
"dotenv": "^16.4.5",
"eslint": "^9.12.0",
"eslint-plugin-svelte": "^2.45.1",
"esm-env": "^1.0.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"leaflet": "^1.9.4",
"lint-staged": "^15.2.10",
"maplibre-gl": "^4.7.1",
"ol": "10.2",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-svelte": "^3.2.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"replace-in-file": "^8.2.0",
"sass": "^1.80.2",
"svelte": "^4.2.19",
"svelte-check": "^4.0.5",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.8.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.10.0",
"vite": "^5.4.9"
},
"peerDependencies": {
"@maptiler/sdk": "^1 || ^2",
"leaflet": "^1.7 || ^1.8 || ^1.9",
"maplibre-gl": "^2 || ^3 || ^4 || ^5",
"ol": "^6 || ^7 || ^8 || ^9 || ^10",
"react": "^17 || ^18",
"svelte": "^4.2"
},
"peerDependenciesMeta": {
"@maptiler/sdk": {
"optional": true
},
"leaflet": {
"optional": true
},
"maplibre-gl": {
"optional": true
},
"ol": {
"optional": true
},
"react": {
"optional": true
},
"svelte": {
"optional": true
}
},
"dependencies": {
"@turf/bbox": "^7.1.0",
"@turf/clone": "^7.1.0",
"@turf/difference": "^7.1.0",
"@turf/flatten": "^7.1.0",
"@turf/union": "^7.1.0",
"geo-coordinates-parser": "^1.7.4"
}
}