73 lines
2 KiB
JSON
73 lines
2 KiB
JSON
{
|
|
"name": "@docsearch/react",
|
|
"description": "React package for DocSearch, the best search experience for docs.",
|
|
"version": "4.0.0-beta.4",
|
|
"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/",
|
|
"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:clean-types": "rm -rf ./dist/esm/types",
|
|
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types",
|
|
"build": "yarn build:clean && yarn build:types && rollup --config --bundleConfigAsCjs && 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": {
|
|
"@ai-sdk/react": "^1.2.12",
|
|
"@algolia/autocomplete-core": "1.19.2",
|
|
"@docsearch/css": "4.0.0-beta.4",
|
|
"algoliasearch": "^5.28.0",
|
|
"marked": "^15.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-replace": "6.0.2",
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.2.0",
|
|
"nodemon": "^3.1.0",
|
|
"vitest": "3.0.2",
|
|
"zod": "^3.25.67"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|