UNPKG

protomaps-leaflet

Version:

Vector tile rendering and labeling for [Leaflet](https://github.com/Leaflet/Leaflet).

56 lines (55 loc) 1.81 kB
{ "name": "protomaps-leaflet", "version": "3.0.1", "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" }