/
package.json
97 lines (97 loc) · 2.86 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
{
"name": "@uiw/react-code-preview",
"version": "1.11.13",
"description": "Code edit preview for React.",
"author": "Kenny Wang <wowohoo@qq.com>",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/cjs/index.d.ts",
"scripts": {
"prepare": "npm run build",
"released": "npm run build && npm run doc",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"watch": "npm run ts:watch & npm run types:watch & npm run css:watch",
"build": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build",
"types:build": "tsbb types --sourceRoot src --target ESNEXT",
"types:watch": "npm run types:esm -- --watch & npm run types:cjs -- --watch",
"types:esm": "npm run types:build -- --outDir ../lib/esm",
"types:cjs": "npm run types:build -- --outDir ../lib/cjs",
"css:build": "compile-less -d src -o lib/esm",
"css:watch": "compile-less -d src -o lib/esm --watch",
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",
"ts:build": "tsbb build --target react"
},
"homepage": "https://uiwjs.github.io/react-code-preview",
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/react-code-preview"
},
"files": [
"src",
"lib"
],
"keywords": [
"uiw",
"uiwjs",
"code",
"code-preview",
"react-code-preview"
],
"license": "MIT",
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"devDependencies": {
"@kkt/less-modules": "6.9.0",
"@kkt/raw-modules": "6.9.0",
"@kkt/scope-plugin-options": "6.9.0",
"@types/babel__standalone": "7.1.3",
"@types/codemirror": "5.60.0",
"@types/react": "17.0.5",
"@types/react-dom": "17.0.5",
"@types/react-test-renderer": "17.0.1",
"@types/react-transition-group": "4.4.1",
"@types/webpack-node-externals": "2.5.1",
"@uiw/react-github-corners": "1.2.0",
"@uiw/react-markdown-preview": "3.0.6",
"@uiw/reset.css": "1.0.4",
"compile-less-cli": "1.7.0",
"kkt": "6.9.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2",
"tsbb": "2.1.2",
"uiw": "4.7.14"
},
"dependencies": {
"@babel/plugin-transform-classes": "7.14.5",
"@babel/runtime": "7.14.6",
"@babel/standalone": "7.14.6",
"@uiw/copy-to-clipboard": "1.0.11",
"@uiw/react-codemirror": "3.0.8",
"@uiw/react-split": "5.7.0",
"@uiw/react-codesandbox": "1.1.0",
"@uiw/react-codepen": "1.0.1",
"babel-plugin-transform-remove-imports": "1.5.5"
},
"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"
]
}
}