-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
82 lines (82 loc) · 1.83 KB
/
package.json
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
{
"name": "react-lowlight",
"version": "3.1.0",
"description": "Super-thin React wrapper for lowlight (Syntax highlighting using VDOM)",
"sideEffects": [
"./src/common.js",
"./src/all.js"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rexxars/react-lowlight.git"
},
"bugs": "https://github.com/rexxars/react-lowlight/issues",
"homepage": "https://github.com/rexxars/react-lowlight#readme",
"author": "Espen Hovlandsdal <[email protected]>",
"type": "module",
"main": "./src/Lowlight.js",
"types": "./src/Lowlight.d.ts",
"module": "./src/Lowlight.js",
"exports": {
".": {
"types": "./src/Lowlight.d.ts",
"import": "./src/Lowlight.js",
"default": "./src/Lowlight.js"
},
"./common": {
"types": "./src/common.d.ts",
"import": "./src/common.js",
"default": "./src/common.js"
},
"./all": {
"types": "./src/all.d.ts",
"import": "./src/all.js",
"default": "./src/all.js"
}
},
"files": [
"src"
],
"keywords": [
"react",
"highlight",
"syntax",
"lowlight",
"vdom"
],
"scripts": {
"lint": "standard",
"prepublishOnly": "vitest --run",
"posttest": "npm run lint",
"test": "vitest",
"serve": "vite",
"build": "vite build --base=/react-lowlight/"
},
"peerDependencies": {
"highlight.js": "^11.0.0",
"react": ">=16.8.0"
},
"peerDependenciesMeta": {
"highlight.js": {
"optional": true
}
},
"dependencies": {
"lowlight": "^2.4.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"highlight.js": "^11.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"standard": "^17.1.0",
"vite": "^6.0.3",
"vitest": "^2.1.8"
},
"standard": {
"ignore": [
"demo/js/code.js"
]
}
}