-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.07 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.07 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
{
"name": "react-css-highlight",
"version": "2.0.2",
"type": "module",
"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"
],
"np": {
"yarn": false,
"yolo": true
},
"scripts": {
"build": "tsup",
"prepublishOnly": "pnpm run build",
"version": "git add .",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"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.3.5",
"@storybook/react-vite": "^10.1.4",
"@types/react": "^19.2.4",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"np": "^10.2.0",
"prop-types": "^15.8.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"storybook": "^10.1.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
}
}