62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"name": "@docsearch/core",
|
|
"description": "Core package logic for DocSearch",
|
|
"version": "5.0.2",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"homepage": "https://docsearch.algolia.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/algolia/docsearch.git",
|
|
"directory": "packages/docsearch-core"
|
|
},
|
|
"author": {
|
|
"name": "Algolia, Inc.",
|
|
"url": "https://www.algolia.com"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"exports": {
|
|
".": "./dist/esm/index.js",
|
|
"./useDocSearchKeyboardEvents": "./dist/esm/useDocSearchKeyboardEvents.js",
|
|
"./useKeyboardShortcuts": "./dist/esm/useKeyboardShortcuts.js",
|
|
"./useTheme": "./dist/esm/useTheme.js"
|
|
},
|
|
"source": "src/index.ts",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"main": "./dist/esm/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"umd:main": "dist/umd/index.js",
|
|
"unpkg": "dist/umd/index.js",
|
|
"jsdelivr": "dist/umd/index.js",
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"watch": "tsdown --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.2.0",
|
|
"preact": "11.0.0-beta.0",
|
|
"tsdown": "0.22.7",
|
|
"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
|
|
}
|
|
}
|
|
}
|