36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"name": "@docsearch/js",
|
|
"description": "JavaScript package for DocSearch, the best search experience for docs.",
|
|
"version": "3.3.5",
|
|
"license": "MIT",
|
|
"homepage": "https://docsearch.algolia.com",
|
|
"repository": "algolia/docsearch",
|
|
"author": {
|
|
"name": "Algolia, Inc.",
|
|
"url": "https://www.algolia.com"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"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": "cross-env BUILD=esm rollup --config",
|
|
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
|
|
"build:umd": "cross-env 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": {
|
|
"@docsearch/react": "3.3.5",
|
|
"preact": "^10.0.0"
|
|
}
|
|
}
|