md-editor-v3 2.0.0-beta.2 → 2.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +534 -534
- package/lib/MdEditor/Editor.d.ts +1 -4
- package/lib/MdEditor/extensions/DropdownToolbar.d.ts +1 -4
- package/lib/MdEditor/extensions/{Catalog → MdCatalog}/CatalogLink.d.ts +0 -0
- package/lib/MdEditor/extensions/{Catalog → MdCatalog}/index.d.ts +2 -2
- package/lib/MdEditor/extensions/ModalToolbar.d.ts +1 -10
- package/lib/MdEditor/extensions/NormalToolbar.d.ts +1 -4
- package/lib/MdEditor/index.d.ts +6 -13
- package/lib/md-editor-v3.es.js +21 -25
- package/lib/md-editor-v3.umd.js +26 -26
- package/package.json +132 -132
package/package.json
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "md-editor-v3",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"keywords": [
|
|
5
|
-
"vue",
|
|
6
|
-
"vue3",
|
|
7
|
-
"javascript",
|
|
8
|
-
"typescript",
|
|
9
|
-
"jsx",
|
|
10
|
-
"tsx",
|
|
11
|
-
"markdown",
|
|
12
|
-
"editor",
|
|
13
|
-
"theme",
|
|
14
|
-
"html"
|
|
15
|
-
],
|
|
16
|
-
"description": "Markdown editor for vue3, developed by jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...",
|
|
17
|
-
"author": {
|
|
18
|
-
"name": "zbf",
|
|
19
|
-
"url": "https://imbf.cc"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://imzbf.github.io/md-editor-v3/",
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/imzbf/md-editor-v3.git"
|
|
25
|
-
},
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/imzbf/md-editor-v3/issues"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"lib"
|
|
31
|
-
],
|
|
32
|
-
"type": "module",
|
|
33
|
-
"types": "./lib/MdEditor/index.d.ts",
|
|
34
|
-
"main": "./lib/md-editor-v3.umd.js",
|
|
35
|
-
"module": "./lib/md-editor-v3.es.js",
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"import": "./lib/md-editor-v3.es.js",
|
|
39
|
-
"require": "./lib/md-editor-v3.umd.js"
|
|
40
|
-
},
|
|
41
|
-
"./lib/style.css": "./lib/style.css"
|
|
42
|
-
},
|
|
43
|
-
"license": "MIT",
|
|
44
|
-
"scripts": {
|
|
45
|
-
"dev": "vite",
|
|
46
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
47
|
-
"build:preview": "vue-tsc --noEmit && vite build --mode=preview",
|
|
48
|
-
"serve": "vite preview"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"@types/marked": "^4.0.3"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.17.10",
|
|
55
|
-
"@babel/preset-env": "^7.17.10",
|
|
56
|
-
"@types/katex": "^0.14.0",
|
|
57
|
-
"@types/mermaid": "^8.2.9",
|
|
58
|
-
"@types/node": "16",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
60
|
-
"@typescript-eslint/parser": "^5.23.0",
|
|
61
|
-
"@vavt/markdown-theme": "^1.0.0-beta.0",
|
|
62
|
-
"@vitejs/plugin-vue": "^2.3.2",
|
|
63
|
-
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
|
64
|
-
"@vue/compiler-sfc": "^3.2.33",
|
|
65
|
-
"@vue/eslint-config-prettier": "^7.0.0",
|
|
66
|
-
"@vue/eslint-config-typescript": "^10.0.0",
|
|
67
|
-
"axios": "^0.27.2",
|
|
68
|
-
"copy-to-clipboard": "^3.3.1",
|
|
69
|
-
"cropperjs": "^1.5.12",
|
|
70
|
-
"eslint": "^8.15.0",
|
|
71
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
72
|
-
"eslint-plugin-vue": "^8.7.1",
|
|
73
|
-
"highlight.js": "^11.0.1",
|
|
74
|
-
"katex": "^0.15.1",
|
|
75
|
-
"less": "^4.1.1",
|
|
76
|
-
"marked": "^4.0.15",
|
|
77
|
-
"medium-zoom": "^1.0.6",
|
|
78
|
-
"mermaid": "^9.1.0",
|
|
79
|
-
"multiparty": "^4.2.2",
|
|
80
|
-
"prettier": "^2.3.2",
|
|
81
|
-
"screenfull": "^6.0.1",
|
|
82
|
-
"ts-morph": "^14.0.0",
|
|
83
|
-
"typescript": "^4.6.4",
|
|
84
|
-
"vite": "^2.9.8",
|
|
85
|
-
"vite-plugin-dts": "^0.9.2",
|
|
86
|
-
"vue": "^3.2.33",
|
|
87
|
-
"vue-tsc": "^0.34.12"
|
|
88
|
-
},
|
|
89
|
-
"eslintConfig": {
|
|
90
|
-
"env": {
|
|
91
|
-
"browser": true,
|
|
92
|
-
"es2021": true,
|
|
93
|
-
"node": true
|
|
94
|
-
},
|
|
95
|
-
"extends": [
|
|
96
|
-
"plugin:vue/vue3-essential",
|
|
97
|
-
"eslint:recommended",
|
|
98
|
-
"@vue/typescript/recommended",
|
|
99
|
-
"@vue/prettier",
|
|
100
|
-
"@vue/prettier/@typescript-eslint"
|
|
101
|
-
],
|
|
102
|
-
"parser": "@typescript-eslint/parser",
|
|
103
|
-
"plugins": [
|
|
104
|
-
"@typescript-eslint"
|
|
105
|
-
],
|
|
106
|
-
"parserOptions": {
|
|
107
|
-
"ecmaVersion": 12,
|
|
108
|
-
"sourceType": "module"
|
|
109
|
-
},
|
|
110
|
-
"rules": {
|
|
111
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
112
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
113
|
-
"@typescript-eslint/no-empty-function": "off"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"prettier": {
|
|
117
|
-
"singleQuote": true,
|
|
118
|
-
"trailingComma": "none",
|
|
119
|
-
"semi": true,
|
|
120
|
-
"printWidth": 90,
|
|
121
|
-
"proseWrap": "never",
|
|
122
|
-
"endOfLine": "auto"
|
|
123
|
-
},
|
|
124
|
-
"engines": {
|
|
125
|
-
"node": ">=12.0.0"
|
|
126
|
-
},
|
|
127
|
-
"browserslist": [
|
|
128
|
-
"> 1%",
|
|
129
|
-
"last 2 versions",
|
|
130
|
-
"not dead"
|
|
131
|
-
]
|
|
132
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "md-editor-v3",
|
|
3
|
+
"version": "2.0.0-beta.5",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"vue",
|
|
6
|
+
"vue3",
|
|
7
|
+
"javascript",
|
|
8
|
+
"typescript",
|
|
9
|
+
"jsx",
|
|
10
|
+
"tsx",
|
|
11
|
+
"markdown",
|
|
12
|
+
"editor",
|
|
13
|
+
"theme",
|
|
14
|
+
"html"
|
|
15
|
+
],
|
|
16
|
+
"description": "Markdown editor for vue3, developed by jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...",
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "zbf",
|
|
19
|
+
"url": "https://imbf.cc"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://imzbf.github.io/md-editor-v3/",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/imzbf/md-editor-v3.git"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/imzbf/md-editor-v3/issues"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"lib"
|
|
31
|
+
],
|
|
32
|
+
"type": "module",
|
|
33
|
+
"types": "./lib/MdEditor/index.d.ts",
|
|
34
|
+
"main": "./lib/md-editor-v3.umd.js",
|
|
35
|
+
"module": "./lib/md-editor-v3.es.js",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"import": "./lib/md-editor-v3.es.js",
|
|
39
|
+
"require": "./lib/md-editor-v3.umd.js"
|
|
40
|
+
},
|
|
41
|
+
"./lib/style.css": "./lib/style.css"
|
|
42
|
+
},
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"scripts": {
|
|
45
|
+
"dev": "vite",
|
|
46
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
47
|
+
"build:preview": "vue-tsc --noEmit && vite build --mode=preview",
|
|
48
|
+
"serve": "vite preview"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@types/marked": "^4.0.3"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@babel/core": "^7.17.10",
|
|
55
|
+
"@babel/preset-env": "^7.17.10",
|
|
56
|
+
"@types/katex": "^0.14.0",
|
|
57
|
+
"@types/mermaid": "^8.2.9",
|
|
58
|
+
"@types/node": "16",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
60
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
61
|
+
"@vavt/markdown-theme": "^1.0.0-beta.0",
|
|
62
|
+
"@vitejs/plugin-vue": "^2.3.2",
|
|
63
|
+
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
|
64
|
+
"@vue/compiler-sfc": "^3.2.33",
|
|
65
|
+
"@vue/eslint-config-prettier": "^7.0.0",
|
|
66
|
+
"@vue/eslint-config-typescript": "^10.0.0",
|
|
67
|
+
"axios": "^0.27.2",
|
|
68
|
+
"copy-to-clipboard": "^3.3.1",
|
|
69
|
+
"cropperjs": "^1.5.12",
|
|
70
|
+
"eslint": "^8.15.0",
|
|
71
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
72
|
+
"eslint-plugin-vue": "^8.7.1",
|
|
73
|
+
"highlight.js": "^11.0.1",
|
|
74
|
+
"katex": "^0.15.1",
|
|
75
|
+
"less": "^4.1.1",
|
|
76
|
+
"marked": "^4.0.15",
|
|
77
|
+
"medium-zoom": "^1.0.6",
|
|
78
|
+
"mermaid": "^9.1.0",
|
|
79
|
+
"multiparty": "^4.2.2",
|
|
80
|
+
"prettier": "^2.3.2",
|
|
81
|
+
"screenfull": "^6.0.1",
|
|
82
|
+
"ts-morph": "^14.0.0",
|
|
83
|
+
"typescript": "^4.6.4",
|
|
84
|
+
"vite": "^2.9.8",
|
|
85
|
+
"vite-plugin-dts": "^0.9.2",
|
|
86
|
+
"vue": "^3.2.33",
|
|
87
|
+
"vue-tsc": "^0.34.12"
|
|
88
|
+
},
|
|
89
|
+
"eslintConfig": {
|
|
90
|
+
"env": {
|
|
91
|
+
"browser": true,
|
|
92
|
+
"es2021": true,
|
|
93
|
+
"node": true
|
|
94
|
+
},
|
|
95
|
+
"extends": [
|
|
96
|
+
"plugin:vue/vue3-essential",
|
|
97
|
+
"eslint:recommended",
|
|
98
|
+
"@vue/typescript/recommended",
|
|
99
|
+
"@vue/prettier",
|
|
100
|
+
"@vue/prettier/@typescript-eslint"
|
|
101
|
+
],
|
|
102
|
+
"parser": "@typescript-eslint/parser",
|
|
103
|
+
"plugins": [
|
|
104
|
+
"@typescript-eslint"
|
|
105
|
+
],
|
|
106
|
+
"parserOptions": {
|
|
107
|
+
"ecmaVersion": 12,
|
|
108
|
+
"sourceType": "module"
|
|
109
|
+
},
|
|
110
|
+
"rules": {
|
|
111
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
112
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
113
|
+
"@typescript-eslint/no-empty-function": "off"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"prettier": {
|
|
117
|
+
"singleQuote": true,
|
|
118
|
+
"trailingComma": "none",
|
|
119
|
+
"semi": true,
|
|
120
|
+
"printWidth": 90,
|
|
121
|
+
"proseWrap": "never",
|
|
122
|
+
"endOfLine": "auto"
|
|
123
|
+
},
|
|
124
|
+
"engines": {
|
|
125
|
+
"node": ">=12.0.0"
|
|
126
|
+
},
|
|
127
|
+
"browserslist": [
|
|
128
|
+
"> 1%",
|
|
129
|
+
"last 2 versions",
|
|
130
|
+
"not dead"
|
|
131
|
+
]
|
|
132
|
+
}
|