/
package.json
84 lines (84 loc) · 2.58 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
{
"name": "@uiw/react-markdown-preview",
"version": "3.0.6",
"description": "React component preview markdown text in web browser. The minimal amount of CSS to replicate the GitHub Markdown style.",
"homepage": "https://uiwjs.github.io/react-markdown-preview",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"scripts": {
"prepare": "npm run build:lib",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"build": "npm run build:lib && npm run doc",
"build:lib": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build && npm run css:build:dist",
"watch": "npm run ts:watch & npm run types:watch & npm run css:watch",
"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",
"css:build:dist": "compile-less -d src --combine dist/markdown.css --rm-global",
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",
"ts:build": "tsbb build --target react"
},
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/react-markdown-preview.git"
},
"author": "kenny wang <wowohoo@qq.com>",
"license": "MIT",
"files": [
"lib",
"dist",
"src"
],
"keywords": [
"react",
"markdown",
"prismjs",
"react-markdown"
],
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@babel/runtime": "7.13.10",
"@mapbox/rehype-prism": "0.6.0",
"rehype-raw": "5.1.0",
"remark-gfm": "1.0.0",
"react-markdown": "6.0.2"
},
"devDependencies": {
"@kkt/less-modules": "6.9.0",
"@kkt/raw-modules": "6.9.0",
"@kkt/scope-plugin-options": "6.9.0",
"@types/react": "17.0.5",
"@types/react-dom": "17.0.3",
"@uiw/react-codesandbox": "1.1.0",
"@uiw/react-github-corners": "1.2.0",
"@uiw/react-shields": "1.1.1",
"@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",
"tsbb": "2.1.2"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}