UNPKG

@maptiler/geocoding-control

Version:

The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.

164 lines (163 loc) 5.49 kB
{ "name": "@maptiler/geocoding-control", "version": "3.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": "MapTiler", "email": "info@maptiler.com" }, "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" ], "scripts": { "dev": "vite -c vite.config-dev.ts", "make": "npm run clean && npm run build && npm run check-version", "build": "npm run build:index && npm run build:index:umd && npm run build:maptilersdk && npm run build:maptilersdk:umd && npm run build:maplibregl && npm run build:maplibregl:umd && npm run build:leaflet && npm run build:leaflet:umd && npm run build:openlayers && npm run build:openlayers:umd", "build:index": "FLAVOUR=index vite build", "build:index:umd": "FLAVOUR=index MODE=umd vite build", "build:maptilersdk": "FLAVOUR=maptilersdk vite build", "build:maptilersdk:umd": "FLAVOUR=maptilersdk MODE=umd vite build", "build:maplibregl": "FLAVOUR=maplibregl vite build", "build:maplibregl:umd": "FLAVOUR=maplibregl MODE=umd vite build", "build:leaflet": "FLAVOUR=leaflet vite build", "build:leaflet:umd": "FLAVOUR=leaflet MODE=umd vite build", "build:openlayers": "FLAVOUR=openlayers vite build", "build:openlayers:umd": "FLAVOUR=openlayers MODE=umd vite build", "check-version": "node check-version.js", "lint": "eslint -c eslint.config.js . && prettier --check . && tsc --noEmit", "lint:fix": "eslint -c eslint.config.js --fix && prettier --write . && tsc --noEmit", "test": "vitest run -c vite.config-test.ts --dom", "test:watch": "vitest watch -c vite.config-test.ts --dom", "clean": "rm -rf dist", "preview": "vite preview", "prepare": "husky" }, "module": "dist/index.js", "types": "dist/index.d.ts", "main": "dist/index.js", "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.umd.js" }, "./maplibregl": { "types": "./dist/src/maplibregl.public.d.ts", "import": "./dist/maplibregl.js", "require": "./dist/maplibregl.umd.js" }, "./maptilersdk": { "types": "./dist/src/maptilersdk.public.d.ts", "import": "./dist/maptilersdk.js", "require": "./dist/maptilersdk.umd.js" }, "./leaflet": { "types": "./dist/src/leaflet.public.d.ts", "import": "./dist/leaflet.js", "require": "./dist/leaflet.umd.js" }, "./openlayers": { "types": "./dist/src/openlayers.public.d.ts", "import": "./dist/openlayers.js", "require": "./dist/openlayers.umd.js" } }, "dependencies": { "@turf/bbox": "^7.2.0", "@turf/clone": "^7.2.0", "@turf/difference": "^7.2.0", "@turf/flatten": "^7.2.0", "@turf/helpers": "^7.2.0", "@turf/union": "^7.2.0", "@types/geojson": "^7946.0.16", "geo-coordinates-parser": "^1.7.4", "lit": "^3.3.1" }, "devDependencies": { "@canvas/image-data": "^1.1.0", "@maptiler/sdk": "^4.0.0", "@maptiler/sdk--v3.0": "npm:@maptiler/sdk@3.0", "@maptiler/sdk--v3.11": "npm:@maptiler/sdk@3.11", "@maptiler/sdk--v3.5": "npm:@maptiler/sdk@3.5", "@maptiler/sdk--v4.0": "npm:@maptiler/sdk@4.0", "@types/leaflet": "^1.9.21", "@types/leaflet--v1.5": "npm:@types/leaflet@1.5", "@types/leaflet--v1.7": "npm:@types/leaflet@1.7", "@types/leaflet--v1.9": "npm:@types/leaflet@1.9", "@types/node": "ts5.8", "@types/react": "^19.2.6", "@types/react-dom": "^19.2.3", "@vitest/web-worker": "^4.0.9", "dotenv": "^16.4.7", "eslint": "^9.38.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "happy-dom": "^20.0.10", "husky": "^9.1.7", "leaflet": "^1.9.4", "maplibre-gl": "~5.21.1", "maplibre-gl--v5.0": "npm:maplibre-gl@5.0", "maplibre-gl--v5.10": "npm:maplibre-gl@5.10", "maplibre-gl--v5.15": "npm:maplibre-gl@5.15", "maplibre-gl--v5.20": "npm:maplibre-gl@5.20", "maplibre-gl--v5.5": "npm:maplibre-gl@5.5", "ol": "^10.6.1", "ol--v10.0": "npm:ol@10.0", "ol--v10.3": "npm:ol@10.3", "ol--v10.6": "npm:ol@10.6", "ol--v9.1": "npm:ol@9.1", "ol--v9.2": "npm:ol@9.2", "prettier": "^3.6.2", "prettier-plugin-organize-imports": "^4.3.0", "react": "^19.2.0", "react-dom": "^19.2.0", "tslib": "^2.8.1", "typescript": "~5.8.3", "typescript-eslint": "^8.46.2", "unplugin-replace": "^0.6.3", "vite": "^7.1.12", "vite-plugin-dts": "^4.5.4", "vite-plugin-externalize-deps": "^0.10.0", "vite-plugin-static-copy": "^3.1.4", "vitest": "^4.0.8" }, "peerDependencies": { "@maptiler/sdk": "3 - 4", "leaflet": "1.5 - 2", "maplibre-gl": "5", "ol": "9.1 - 10" }, "peerDependenciesMeta": { "@maptiler/sdk": { "optional": true }, "leaflet": { "optional": true }, "maplibre-gl": { "optional": true }, "ol": { "optional": true } } }