-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.57 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
{
"name": "react-coderenderer",
"version": "1.1.4",
"main": "index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"dist/index.css"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ninsau/react-coderenderer.git"
},
"bugs": {
"url": "https://github.com/ninsau/react-coderenderer/issues"
},
"homepage": "https://github.com/ninsau/react-coderenderer#readme",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsup src/index.ts --format esm,cjs --dts && npm run build:css",
"build:css": "npx tailwindcss -i src/styles/rendererStyles.css -o dist/index.css --minify"
},
"author": "ninsau",
"license": "ISC",
"description": "A lightweight and customizable code rendering component for React, supporting syntax highlighting, dark mode, and copy functionality.",
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-syntax-highlighter": "^15.5.0"
},
"devDependencies": {
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"tailwindcss": "^3.4.13",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"keywords": [
"react",
"react component",
"code renderer",
"syntax highlighting",
"copy to clipboard",
"typescript",
"dark mode",
"light mode",
"npm package",
"code examples",
"code rendering",
"ui component",
"open source"
]
}