-
-
Notifications
You must be signed in to change notification settings - Fork 168
/
package.json
89 lines (89 loc) · 2.54 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
{
"name": "@uiw/react-md-editor",
"version": "4.0.5",
"description": "A markdown editor with preview, implemented with React.js and TypeScript.",
"homepage": "https://uiwjs.github.io/react-md-editor/",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wang <[email protected]>",
"main": "lib/index.js",
"module": "esm/index.js",
"exports": {
"./README.md": "./README.md",
"./package.json": "./package.json",
"./markdown-editor.css": "./markdown-editor.css",
".": {
"import": "./esm/index.js",
"types": "./lib/index.d.ts",
"require": "./lib/index.js"
},
"./nohighlight": {
"import": "./esm/index.nohighlight.js",
"types": "./lib/index.nohighlight.d.ts",
"require": "./lib/index.nohighlight.js"
},
"./commands": {
"import": "./esm/commands/index.js",
"types": "./lib/commands/index.d.ts",
"require": "./lib/commands/index.js"
},
"./commands-cn": {
"import": "./esm/commands/index.cn.js",
"types": "./lib/commands/index.cn.d.ts",
"require": "./lib/commands/index.cn.js"
}
},
"scripts": {
"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 markdown-editor.css --rm-global",
"bundle": "ncc build src/index.tsx --target web --filename mdeditor",
"bundle:watch": "ncc watch src/index.tsx --target web --filename mdeditor",
"bundle:min": "ncc build src/index.tsx --target web --filename mdeditor --minify",
"watch": "tsbb watch src/*.tsx --use-babel & npm run css:watch",
"build": "tsbb build src/*.tsx --use-babel && npm run css:build && npm run css:build:dist",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail"
},
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/react-md-editor"
},
"publishConfig": {
"access": "public"
},
"files": [
"markdown-editor.css",
"nohighlight.d.ts",
"commands.d.ts",
"commands-cn.d.ts",
"lib",
"dist",
"esm",
"src"
],
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@uiw/react-markdown-preview": "^5.0.6",
"rehype": "~13.0.0",
"rehype-prism-plus": "~2.0.0"
},
"keywords": [
"react",
"editor",
"md-editor",
"markdown",
"react-markdown",
"react-md-editor",
"react-markdown-editor",
"markdown-editor",
"md",
"uiw",
"uiwjs",
"code"
]
}