@lyrasearch/plugin-match-highlight
Version:
Lyrasearch plugin for search match highlighting
91 lines (90 loc) • 2.54 kB
JSON
{
"name": "@lyrasearch/plugin-match-highlight",
"version": "0.1.0",
"description": "Lyrasearch plugin for search match highlighting",
"keywords": [
"full-text search",
"search",
"fuzzy search",
"typo-tolerant search",
"full-text"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/lyrasearch/plugin-match-highlight"
},
"bugs": {
"url": "https://github.com/lyrasearch/plugin-match-highlight"
},
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/commonjs.cjs"
},
"./cjs": {
"types": "./dist/commonjs.d.cts",
"require": "./dist/commonjs.cjs"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "swc --delete-dir-on-start -s -w --extensions .ts,.cts -d dist src",
"prebuild": "npm run lint",
"build": "swc --delete-dir-on-start --extensions .ts,.cts -d dist src",
"postbuild": "tsc -p . --emitDeclarationOnly && tsc -p tsconfig.cjs.json --emitDeclarationOnly && mv dist/commonjs.js dist/commonjs.cjs && mv dist/commonjs.js.map dist/commonjs.cjs.map",
"test": "c8 -c test/config/c8.json tap --rcfile=test/config/tap.yml test/*.test.ts",
"format": "prettier -w src test",
"lint": "eslint src test --ext .js,.ts,.cts",
"changelog": "auto-changelog -p",
"commit": "pnpm lint-staged && cz",
"prepare": "husky install && npm run build"
},
"dependencies": {
"@lyrasearch/lyra": "^0.4.5"
},
"devDependencies": {
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.27",
"@types/node": "^18.6.2",
"@types/tap": "^15.0.7",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"auto-changelog": "^2.4.0",
"c8": "^7.12.0",
"commitizen": "^4.2.5",
"eslint": "^8.32.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^31.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"tap": "^16.3.4",
"tsx": "^3.12.2",
"typescript": "^4.9.4"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*": "pnpm lint"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"typescript"
]
}
}
}