-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 1.72 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
{
"name": "react-lowlight",
"version": "3.0.0",
"description": "Super-thin React wrapper for lowlight (Syntax highlighting using VDOM)",
"sideEffects": [
"./src/common.js",
"./src/all.js"
],
"license": "MIT",
"repository": "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",
"module": "./src/Lowlight.js",
"exports": {
".": "./src/Lowlight.js",
"./common": "./src/common.js",
"./all": "./src/all.js"
},
"files": [
"src"
],
"keywords": [
"react",
"highlight",
"syntax",
"lowlight",
"vdom"
],
"scripts": {
"lint": "standard",
"prepublishOnly": "npm run test",
"posttest": "npm run lint",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"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": {
"@jest/globals": "^29.5.0",
"@vitejs/plugin-react": "^4.0.1",
"highlight.js": "^11.8.0",
"jest": "^29.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"standard": "^17.1.0",
"vite": "^4.3.9"
},
"standard": {
"ignore": [
"demo/js/code.js"
]
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coverageDirectory": "coverage",
"coverageProvider": "v8",
"testEnvironment": "node",
"verbose": true
}
}