{
  "name": "@docsearch/react",
  "description": "React package for DocSearch, the best search experience for docs.",
  "version": "4.6.2",
  "license": "MIT",
  "homepage": "https://docsearch.algolia.com",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/algolia/docsearch.git",
    "directory": "packages/docsearch-react"
  },
  "author": {
    "name": "Algolia, Inc.",
    "url": "https://www.algolia.com"
  },
  "sideEffects": false,
  "files": [
    "dist/",
    "button.js",
    "modal.js",
    "useTheme.js",
    "useDocSearchKeyboardEvents.js",
    "version.js",
    "sidepanel.js",
    "style/"
  ],
  "exports": {
    ".": "./dist/esm/index.js",
    "./button": "./dist/esm/DocSearchButton.js",
    "./modal": "./dist/esm/DocSearchModal.js",
    "./style": "./style/index.js",
    "./useDocSearchKeyboardEvents": "./dist/esm/useDocSearchKeyboardEvents.js",
    "./useTheme": "./dist/esm/useTheme.js",
    "./version": "./dist/esm/version.js",
    "./sidepanel": "./dist/esm/Sidepanel.js",
    "./style/sidepanel": "./style/sidepanel.js"
  },
  "source": "src/index.ts",
  "types": "dist/esm/index.d.ts",
  "module": "dist/esm/index.js",
  "main": "dist/umd/index.js",
  "umd:main": "dist/umd/index.js",
  "unpkg": "dist/umd/index.js",
  "jsdelivr": "dist/umd/index.js",
  "scripts": {
    "build:clean": "rm -rf ./dist",
    "build:clean-types": "rm -rf ./dist/esm/types",
    "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types",
    "build:source": "rollup --config --bundleConfigAsCjs",
    "build:dts": "rollup --config rollup.dts.config.js --bundleConfigAsCjs",
    "build": "yarn build:clean && yarn build:types && yarn build:source && yarn build:dts && yarn build:clean-types",
    "on:change": "yarn build",
    "watch": "nodemon --watch src --ext ts,tsx,js,jsx,json --ignore dist/ --ignore node_modules/ --verbose --delay 250ms --exec \"yarn on:change\""
  },
  "dependencies": {
    "@algolia/autocomplete-core": "1.19.2",
    "@docsearch/core": "4.6.2",
    "@docsearch/css": "4.6.2"
  },
  "devDependencies": {
    "@ai-sdk/react": "^2.0.30",
    "@rollup/plugin-replace": "6.0.2",
    "@testing-library/jest-dom": "6.6.3",
    "@testing-library/react": "16.2.0",
    "ai": "^5.0.30",
    "algoliasearch": "^5.28.0",
    "marked": "^16.3.0",
    "nodemon": "^3.1.0",
    "rollup-plugin-dts": "^6.2.1",
    "vitest": "3.0.9",
    "zod": "^4.1.8"
  },
  "peerDependencies": {
    "@types/react": ">= 16.8.0 < 20.0.0",
    "react": ">= 16.8.0 < 20.0.0",
    "react-dom": ">= 16.8.0 < 20.0.0",
    "search-insights": ">= 1 < 3"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    },
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    },
    "search-insights": {
      "optional": true
    }
  }
}
