forked from bvaughn/react-highlight-words
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.47 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "react-highlighter-words",
"version": "0.21.4",
"description": "React component to highlight words within a larger body of text",
"types": "./dist/react-highlighter-words.es.d.ts",
"files": [
"dist",
"src",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"main": "./dist/react-highlighter-words.umd.js",
"module": "./dist/react-highlighter-words.es.js",
"exports": {
".": {
"import": "./dist/react-highlighter-words.es.js",
"require": "./dist/react-highlighter-words.umd.js"
}
},
"type": "module",
"scripts": {
"dev": "vite",
"test": "vitest --project=unit --run",
"test:watch": "vitest --project=unit --watch",
"start": "npm run dev",
"build": "npm run build:lib && npm run build:website",
"build:lib": "vite build",
"build:website": "tsc -b && vite build -c vite.website.config.ts",
"prebuild": "npm run lint",
"prepublishOnly": "npm run build",
"lint": "eslint . && tsc -b",
"preview": "vite preview -c vite.website.config.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/andreykovalenko/react-highlighter-words.git"
},
"author": "Andrey Kovalenko",
"license": "MIT",
"bugs": {
"url": "https://github.com/andreykovalenko/react-highlighter-words/issues"
},
"homepage": "https://github.com/andreykovalenko/react-highlighter-words#readme",
"keywords": [
"react",
"react19",
"reactjs",
"react-component",
"highlighter",
"highlight",
"text",
"words",
"matches",
"substring",
"occurrences",
"search"
],
"dependencies": {
"highlight-words-core": "^1.2.3"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/highlight-words-core": "^1.2.3",
"@types/latinize": "^0.2.18",
"@types/node": "^22.10.5",
"@types/react": "^19.0.3",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"jest-extended": "^4.0.2",
"jsdom": "^25.0.1",
"latinize": "^2.0.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.7",
"vite-plugin-dts": "^4.4.0",
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": "^18 || ^19"
}
}