UNPKG

react-leaflet-vector-tile-layer

Version:
41 lines (40 loc) 1.1 kB
{ "name": "react-leaflet-vector-tile-layer", "version": "0.3.2", "description": "React Leaflet V3 layer for displaying vector tiles", "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/ted-piotrowski/react-leaflet-vector-tile-layer.git" }, "scripts": { "build": "rimraf dist && yarn add -D @react-leaflet/core@1.0.2 && tsc && yarn run minify && yarn remove @react-leaflet/core", "minify": "uglifyjs --compress --mangle --output dist/index.min.js -- dist/index.js", "prepublishOnly": "npm run build" }, "author": "Ted Piotrowski", "license": "MIT", "peerDependencies": { "react-leaflet": "^3.0.0 || ^4.0.0" }, "devDependencies": { "@types/leaflet": "^1.5.21", "@types/react": "^16.8.6", "rimraf": "^3.0.2", "typescript": "^4.1.3", "uglify-js": "^3.12.5" }, "keywords": [ "react", "leaflet", "canvas", "typescript", "vector", "tile", "react-leaflet-v3" ], "dependencies": { "@maplibre/maplibre-gl-leaflet": "^0.0.20", "maplibre-gl": "^2.2.1" } }