1
0
Fork 0
docsearch/packages/docsearch-modal/package.json
Paul Jankowski 83759e1e0f
feat(askai): Split Ask AI modal into own component (#2884)
* feat(askai): Split Ask AI modal into own component

* refactor(react): share modal utilities

* refactor(react): share search box form

* refactor(react): extract start screen sections

* refactor(react): extract shared modal hooks

* fix: lint adapter

* refactor(react): reorganize modal files

* fix: type error in examples

* fix: remove ai modal from adapter for now, fix import paths of react package
2026-05-19 13:36:23 -04:00

68 lines
1.6 KiB
JSON

{
"name": "@docsearch/modal",
"description": "DocSearch modal package for keyword search and Ask AI.",
"version": "4.6.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/docsearch.git",
"directory": "packages/docsearch-modal"
},
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"
},
"sideEffects": false,
"files": [
"dist/",
"button.js",
"index.js",
"modal.js",
"askai.js"
],
"exports": {
".": "./dist/esm/index.js",
"./button": "./dist/esm/DocSearchButton.js",
"./askai": "./dist/esm/DocSearchAskAiModal.js",
"./modal": "./dist/esm/DocSearchModal.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": "tsdown",
"watch": "tsdown --watch"
},
"dependencies": {
"@docsearch/core": "4.6.0",
"@docsearch/react": "4.6.0"
},
"devDependencies": {
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0",
"tsdown": "^0.18.3",
"typescript": "5.7.3",
"vitest": "3.0.2"
},
"peerDependencies": {
"@types/react": ">= 16.8.0 < 20.0.0",
"react": ">= 16.8.0 < 20.0.0",
"react-dom": ">= 16.8.0 < 20.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
}