{
  "name": "leaflet.locatecontrol",
  "version": "0.90.1",
  "type": "module",
  "homepage": "https://domoritz.github.io/leaflet-locatecontrol/",
  "description": "A useful control to geolocate the user with many options. Used by osm.org and mapbox among many others.",
  "main": "dist/L.Control.Locate.min.js",
  "module": "dist/L.Control.Locate.esm.js",
  "types": "dist/L.Control.Locate.d.ts",
  "exports": {
    ".": {
      "types": "./dist/L.Control.Locate.d.ts",
      "import": "./dist/L.Control.Locate.esm.js",
      "require": "./dist/L.Control.Locate.min.js",
      "default": "./dist/L.Control.Locate.min.js"
    },
    "./dist/*": "./dist/*"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "sideEffects": [
    "*.css",
    "./dist/L.Control.Locate.min.js",
    "./dist/L.Control.Locate.umd.js"
  ],
  "author": "Dominik Moritz <domoritz@gmail.com>",
  "repository": {
    "type": "git",
    "url": "https://github.com/domoritz/leaflet-locatecontrol.git"
  },
  "bugs": {
    "url": "https://github.com/domoritz/leaflet-locatecontrol/issues"
  },
  "keywords": [
    "leaflet",
    "locate",
    "plugin"
  ],
  "license": "MIT",
  "scripts": {
    "build": "npm run build:js && npm run build:css && npm run build:types",
    "build:js": "rollup -c",
    "build:css": "npm run build:css:leaflet && npm run build:css:mapbox",
    "build:css:leaflet": "cd dist && lightningcss --bundle --sourcemap --targets '>= 0.25%' ../src/L.Control.Locate.css -o L.Control.Locate.css && lightningcss --minify --bundle --sourcemap --targets '>= 0.25%' ../src/L.Control.Locate.css -o L.Control.Locate.min.css",
    "build:css:mapbox": "cd dist && lightningcss --bundle --sourcemap --targets '>= 0.25%' ../src/L.Control.Locate.mapbox.css -o L.Control.Locate.mapbox.css && lightningcss --minify --bundle --sourcemap --targets '>= 0.25%' ../src/L.Control.Locate.mapbox.css -o L.Control.Locate.mapbox.min.css",
    "build:types": "cp src/L.Control.Locate.d.ts dist/L.Control.Locate.d.ts",
    "bump:minor": "npm version minor",
    "bump:patch": "npm version patch",
    "preversion": "npm run lint && npm run test",
    "version": "npm run build && git add -A dist",
    "lint": "eslint && prettier --check .",
    "lint:fix": "eslint --fix && prettier --write .",
    "start": "node scripts/server.js",
    "test": "node --test spec/*.spec.js"
  },
  "devDependencies": {
    "@eslint/css": "^1.4.0",
    "@eslint/js": "^10.0.1",
    "@rollup/plugin-terser": "^1.0.0",
    "eslint": "^10.8.1",
    "globals": "^17.11.0",
    "happy-dom": "^20.11.2",
    "leaflet": "^1.9.4",
    "lightningcss-cli": "^1.33.0",
    "prettier": "^3.9.6",
    "rollup": "^4.62.4",
    "typescript": "^7.0.2"
  },
  "peerDependencies": {
    "leaflet": "^1.9.0 || >=2.0.0-alpha.1"
  },
  "allowScripts": {
    "lightningcss-cli@1.33.0": true
  }
}
