-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
105 lines (105 loc) · 3.01 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@uiw/react-code-preview",
"version": "5.2.2",
"description": "Code edit preview for React.",
"author": "Kenny Wang <wowohoo@qq.com>",
"main": "cjs/index.js",
"module": "esm/index.js",
"scripts": {
"prepare": "husky && npm run build",
"released": "npm run build && npm run doc",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"watch": "tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs & npm run css:watch",
"build": "tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs && npm run css:build && npm run css:build:dist",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail",
"css:build": "compile-less -d src -o esm",
"css:watch": "compile-less -d src -o esm --watch",
"css:build:dist": "compile-less -d src --combine dist.css --rm-global",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,html,less,md,json}'",
"map": "source-map-explorer build/static/js/*.js --html build/website-result.html"
},
"homepage": "https://uiwjs.github.io/react-code-preview",
"repository": {
"type": "git",
"url": "git+https://github.com/uiwjs/react-code-preview.git"
},
"files": [
"src",
"cjs",
"esm"
],
"keywords": [
"uiw",
"uiwjs",
"code",
"code-preview",
"react-code-preview"
],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,ts,tsx,html,less,md,json}": [
"prettier --write"
]
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@kkt/less-modules": "^7.5.5",
"@kkt/raw-modules": "^7.5.5",
"@kkt/scope-plugin-options": "^7.5.5",
"@types/babel__standalone": "~7.1.4",
"@types/react": "^18.2.69",
"@types/react-dom": "^18.2.22",
"@types/react-test-renderer": "~18.0.0",
"@uiw/react-github-corners": "~1.5.14",
"@uiw/react-markdown-preview": "^5.1.1",
"@uiw/reset.css": "~1.0.6",
"@wcj/dark-mode": "^1.0.14",
"compile-less-cli": "~1.9.0",
"husky": "^9.0.11",
"kkt": "^7.5.5",
"lint-staged": "^15.2.2",
"prettier": "~3.2.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-test-renderer": "~18.2.0",
"source-map-explorer": "~2.5.2",
"tsbb": "^4.2.5",
"uiw": "~4.13.6"
},
"dependencies": {
"@babel/core": "~7.24.0",
"@babel/plugin-transform-classes": "~7.24.0",
"@babel/runtime": "~7.24.0",
"@babel/standalone": "~7.24.0",
"@codemirror/lang-javascript": "^6.0.0",
"@uiw/copy-to-clipboard": "~1.0.12",
"@uiw/react-codemirror": "~4.21.0",
"@uiw/react-codepen": "~1.0.2",
"@uiw/react-codesandbox": "~1.1.4",
"@uiw/react-split": "~5.9.0",
"babel-plugin-transform-remove-imports": "~1.7.0"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}