UNPKG

react-highlight-selector

Version:

Text highlighter with customizable palette and text copier

78 lines (77 loc) 2.16 kB
{ "name": "react-highlight-selector", "version": "1.0.8", "description": "Text highlighter with customizable palette and text copier", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/DhyanTD/react-highlight-selector.git" }, "scripts": { "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc", "test": "", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"", "prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"", "prepare": "npm run build", "prepublishOnly": "npm test && npm run prettier && npm run lint" }, "keywords": [ "selection", "highlight", "annotations", "react selection", "react-highlight-words", "react-highlight-selection", "react-selection", "react-select-words", "react highlight text", "react annotations", "highlight words", "select words", "react", "text", "words", "highlighter", "text highlighter", "text copier", "customizable palette", "background color", "react text highlight", "html string input", "plain string input", "text styling", "react highlight selector", "customizable highlighter", "react text copier", "text highlight tool", "text highlight component", "color palette", "html string highlight", "react string highlighter" ], "author": "Dhyan T D", "license": "MIT", "dependencies": { "xpath-range": "^1.1.1" }, "devDependencies": { "@types/react": "^18.2.59", "@types/react-dom": "^18.2.19", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "prettier": "^3.3.3", "react": "^18.2.0", "react-dom": "^18.2.0", "tslib": "^2.6.2", "typescript": "^5.6.2" } }