{ "name": "@docsearch/react", "description": "React package for DocSearch, the best search experience for docs.", "version": "3.6.0", "license": "MIT", "homepage": "https://docsearch.algolia.com", "repository": "algolia/docsearch", "author": { "name": "Algolia, Inc.", "url": "https://www.algolia.com" }, "sideEffects": false, "files": [ "dist/", "style/", "button.js", "modal.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:esm": "babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm", "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm", "build:umd": "rollup --config", "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types", "on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"", "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { "@algolia/autocomplete-core": "1.9.3", "@algolia/autocomplete-preset-algolia": "1.9.3", "@docsearch/css": "3.6.0", "algoliasearch": "^4.19.1" }, "peerDependencies": { "@types/react": ">= 16.8.0 < 19.0.0", "react": ">= 16.8.0 < 19.0.0", "react-dom": ">= 16.8.0 < 19.0.0", "search-insights": ">= 1 < 3" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "react": { "optional": true }, "react-dom": { "optional": true }, "search-insights": { "optional": true } } }