Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.6 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
92
93
94
95
96
97
98
{
"name": "react-css-highlight",
"version": "3.1.1",
"type": "module",
"packageManager": "pnpm@10.34.5",
"homepage": "https://github.com/yairEO/react-css-highlight",
"description": "A powerful, zero-dependency React component for highlighting text using the modern CSS Custom Highlight API with TreeWalker for blazing-fast DOM traversal",
"keywords": [
"react",
"css",
"highlight",
"text",
"component",
"vanilla-js",
"framework-agnostic"
],
"license": "MIT",
"browserslist": [
">1%",
"not dead",
"not ie < 11",
"not IE_Mob 11",
"not op_mini all"
],
"scripts": {
"build": "tsup",
"prepublishOnly": "pnpm run build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "vitest --project=storybook --run",
"test-storybook-visual": "playwright test -c playwright.storybook.config.ts",
"check": "biome check . --diagnostic-level=error",
"check:fix": "biome check --write .",
"lint": "biome lint . --diagnostic-level=error",
"lint:fix": "biome lint --write .",
"format": "biome format --write .",
"prepare": "husky"
},
"author": "Yair Even-Or <vsync.design@gmail.com>",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./vanilla": {
"types": "./dist/vanilla/index.d.ts",
"import": "./dist/vanilla/index.js"
},
"./styles": "./dist/Highlight.css"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/yairEO/react-css-highlight.git"
},
"bugs": {
"url": "https://github.com/yaireo/react-css-highlight/issues"
},
"peerDependencies": {
"react": "^19.0.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.14",
"@playwright/test": "1.63.0",
"@storybook/addon-vitest": "10.6.0",
"@storybook/react-vite": "^10.6.0",
"@types/node": "^26.6.2",
"@types/react": "^19.3.0",
"@vitest/browser-playwright": "4.1.11",
"husky": "^9.1.7",
"lint-staged": "^17.5.1",
"playwright": "1.63.0",
"playwright-core": "1.63.0",
"prop-types": "^15.8.1",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"storybook": "^10.6.0",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "4.1.11"
},
"pnpm": {
"overrides": {
"vite": "7.3.6",
"rollup": "4.63.5",
"@babel/core": "7.29.7",
"browserslist": "4.29.1",
"picomatch@^4.0.3": "4.0.7",
"brace-expansion@^5.0.5": "5.0.12"
}
}
}