* chore(deps): update react to 19 * fix: examples to show backwards compatibility with react 18 * fix: types * fix: eslint --------- Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
23 lines
520 B
JSON
23 lines
520 B
JSON
{
|
|
"name": "@docsearch/react-18-example",
|
|
"description": "DocSearch v3 React 18 example",
|
|
"version": "3.8.3",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@docsearch/css": "workspace:*",
|
|
"@docsearch/react": "workspace:*",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"vite": "^6.0.7"
|
|
}
|
|
}
|