/
package.json
81 lines (81 loc) · 2.41 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
{
"name": "@uiw/react-markdown-preview",
"version": "2.1.0",
"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": "ENTRYDIR=website kkt build",
"start": "ENTRYDIR=website kkt start",
"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",
"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: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.12.5",
"@types/prismjs": "1.16.2",
"prismjs": "1.22.0",
"remark-gfm": "1.0.0",
"react-markdown": "5.0.2"
},
"devDependencies": {
"@kkt/loader-less": "5.10.3",
"@kkt/loader-raw": "5.10.3",
"@types/react": "16.14.2",
"@types/react-dom": "16.9.10",
"@uiw/react-github-corners": "1.2.0",
"@uiw/react-shields": "1.1.0",
"@uiw/reset.css": "1.0.4",
"compile-less-cli": "1.5.1",
"kkt": "5.10.3",
"react": "16.14.0",
"react-dom": "16.14.0",
"tsbb": "1.7.8"
},
"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"
]
}
}