{
  "name": "@mapbox/search-js-web",
  "version": "1.0.0",
  "description": "Search web component with form autocomplete.",
  "main": "dist/index.js",
  "module": "dist/index-esm.js",
  "typings": "dist/index.d.ts",
  "unpkg": "dist/mapboxsearch.js",
  "scripts": {
    "build": "typehead build && tsc -p tsconfig.types.json",
    "watch": "typehead build --watch",
    "serve": "typehead serve",
    "serve:cdn": "yarn build && node cdn-server.js",
    "types": "tsc -p tsconfig.json --noEmit",
    "prepare": "yarn run build",
    "git-pre-commit": "size-limit && yarn run types",
    "test": "jest",
    "size-limit": "size-limit"
  },
  "license": "Mapbox Terms of Service",
  "dependencies": {
    "@floating-ui/dom": "^0.5.2",
    "@mapbox/search-js-core": "^1.0.0",
    "@mapbox/sphericalmercator": "^1.2.0",
    "focus-trap": "^6.7.3",
    "no-scroll": "^2.1.1",
    "subtag": "^0.5.0"
  },
  "peerDependencies": {
    "mapbox-gl": ">=2.7.0"
  },
  "devDependencies": {
    "@mapbox/esbuild-jest": "^1.1.0",
    "@mapbox/typehead": "^1.2.0",
    "@size-limit/preset-big-lib": "^7.0.8",
    "@testing-library/jest-dom": "^5.16.2",
    "@testing-library/react": "^12.1.4",
    "@types/geojson": "^7946.0.8",
    "@types/jest": "^27.0.1",
    "@types/lodash.debounce": "^4.0.6",
    "@types/mapbox-gl": "^2.6.1",
    "@types/mapbox__sphericalmercator": "^1.1.5",
    "@types/no-scroll": "^2.1.0",
    "cssnano": "^5.1.0",
    "jest": "^27.5.1",
    "mapbox-gl": "^2.7.0",
    "postcss": "^8.4.7",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "size-limit": "^7.0.8",
    "typescript": "^4.4.2"
  },
  "engines": {
    "node": ">=12.20.1"
  },
  "jest": {
    "preset": "@mapbox/esbuild-jest",
    "rootDir": ".",
    "setupFilesAfterEnv": [
      "<rootDir>/test/jest_framework_setup.ts"
    ],
    "transform": {
      "^.+\\.(svg)$": [
        "@mapbox/esbuild-jest",
        {
          "loader": {
            ".svg": "text"
          }
        }
      ]
    }
  },
  "size-limit": [
    {
      "path": "dist/mapboxsearch.js",
      "limit": "40 kB"
    }
  ]
}
