{
  "name": "@maplibre/maplibre-gl-directions",
  "version": "0.8.0",
  "type": "module",
  "main": "./dist/maplibre-gl-directions.js",
  "module": "./dist/maplibre-gl-directions.js",
  "types": "./dist/src/main.d.ts",
  "files": [
    "dist"
  ],
  "license": "MIT",
  "homepage": "https://maplibre.org/maplibre-gl-directions/#/",
  "repository": "https://github.com/maplibre/maplibre-gl-directions",
  "keywords": [
    "directions",
    "osrm",
    "routing",
    "mapbox",
    "maplibre"
  ],
  "prettier": {
    "tabWidth": 2,
    "semi": true,
    "singleQuote": false,
    "quoteProps": "as-needed",
    "trailingComma": "all",
    "bracketSpacing": true,
    "printWidth": 120,
    "plugins": [
      "prettier-plugin-svelte"
    ],
    "svelteSortOrder": "options-scripts-markup-styles",
    "svelteStrictMode": false,
    "svelteIndentScriptAndStyle": true
  },
  "scripts": {
    "prepare": "husky install",
    "env:prep": "npm run build:lib && npm link && npm link @maplibre/maplibre-gl-directions",
    "dev:lib": "npm run check:lib && npm run tsc:lib && vite build --watch --mode development --config vite.lib.config.ts",
    "dev:doc": "typedoc --tsconfig tsconfig.lib.json --watch",
    "dev:demo": "npm run check:demo && npm run tsc:demo && vite --config vite.demo.config.ts",
    "build": "npm run lint && npm run build:lib && npm run build:doc && npm run build:demo",
    "build:lib": "npm run check:lib && npm run tsc:lib && vite build --config vite.lib.config.ts",
    "build:doc": "typedoc --tsconfig tsconfig.lib.json",
    "build:demo": "npm run check:demo && npm run tsc:demo && vite build --config vite.demo.config.ts --base /maplibre-gl-directions/",
    "format": "prettier --write .",
    "prelint": "npm run format",
    "tsc:lib": "tsc --project ./tsconfig.lib.json",
    "tsc:lib:watch": "npm run tsc:lib -- --watch",
    "tsc:demo": "tsc --project ./tsconfig.json",
    "tsc:demo:watch": "npm run tsc:demo -- --watch",
    "lint": "eslint --fix './{demo,src}/**/*.{ts,js,cjs,svelte}'",
    "check:lib": "svelte-check --tsconfig ../tsconfig.lib.json --workspace src",
    "check:demo": "svelte-check --tsconfig ../tsconfig.json --workspace demo",
    "check": "npm run lint && npm run check:lib && npm run check:demo"
  },
  "lint-staged": {
    "./{src,demo}/**/*.{ts,js,cjs,svelte}": [
      "npm run check"
    ]
  },
  "dependencies": {
    "@placemarkio/polyline": "^1.2.0",
    "nanoid": "^5.0.6"
  },
  "peerDependencies": {
    "maplibre-gl": "^5.0.0"
  },
  "devDependencies": {
    "@sveltejs/vite-plugin-svelte": "^2.5.3",
    "@tailwindcss/forms": "^0.5.7",
    "@tsconfig/svelte": "^5.0.4",
    "@types/geojson": "^7946.0.13",
    "@types/lodash": "^4.17.0",
    "@types/mapbox__point-geometry": "^0.1.4",
    "@types/mapbox__vector-tile": "^1.3.4",
    "@types/node": "^16",
    "@typescript-eslint/parser": "^7.7.0",
    "@typescript-eslint/eslint-plugin": "^7.7.0",
    "autoprefixer": "^10.4.19",
    "eslint": "^8.56.0",
    "eslint-plugin-svelte": "^2.35.1",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.0",
    "lodash": "^4.17.21",
    "maplibre-gl": "^5.1.0",
    "postcss": "^8.4.38",
    "postcss-load-config": "^5.0.3",
    "prettier": "^3.1.1",
    "prettier-plugin-svelte": "^3.2.2",
    "rollup-plugin-visualizer": "^5.9.2",
    "svelte": "^4.2.8",
    "svelte-check": "^3.6.8",
    "svelte-preprocess": "^5.0.4",
    "svelte-spa-router": "^3.3.0",
    "tailwindcss": "^3.4.3",
    "tslib": "^2.6.2",
    "typedoc": "^0.24.8",
    "typescript": "^5.1.6",
    "vite": "^4.5.3"
  }
}
