UNPKG

js-solr-highlighter

Version:

A JavaScript library for highlighting HTML text based on the query in the lucene/solr query syntax

61 lines (60 loc) 1.52 kB
{ "name": "js-solr-highlighter", "version": "0.8.8", "description": "A JavaScript library for highlighting HTML text based on the query in the lucene/solr query syntax", "main": "build/index.js", "scripts": { "build": "tsc && babel dist/index.js -d build", "lint": "./node_modules/.bin/eslint index.ts index.test.js --fix", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/zhan-huang/js-solr-highlighter.git" }, "dependencies": { "lucene": "^2.1.1", "text-annotator": "^0.9.7" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.18.5", "@babel/preset-env": "^7.18.2", "@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/parser": "^5.29.0", "babel-jest": "^28.1.1", "eslint": "^8.18.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jest": "^26.5.3", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "prettier": "2.7.1", "typescript": "^4.7.4" }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "current" } } ] ] }, "keywords": [ "Lucene", "Query", "Highlighter", "JavaScript", "browser", "Node.js" ], "author": "Zhan Huang", "license": "MIT", "bugs": { "url": "https://github.com/zhan-huang/js-solr-highlighter/issues" }, "homepage": "https://github.com/zhan-huang/js-solr-highlighter#readme" }