@umoteam/editor-external 3.1.2 → 4.0.0
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/build.js +1 -3
- package/package.json +3 -6
- package/libs/paged.polyfill.min.js +0 -4
- package/libs/umo-editor/style.css +0 -1
- package/libs/umo-editor/umo-editor.mjs +0 -46464
package/build.js
CHANGED
|
@@ -35,10 +35,8 @@ const copyDir = (sourcePath, targetPath) => {
|
|
|
35
35
|
// 定义要复制的文件和目录列表
|
|
36
36
|
const files = [
|
|
37
37
|
{ from: 'imgly/background-removal-data', to: 'imgly/background-removal-data', npm: false },
|
|
38
|
-
{ from: '@umoteam/editor/dist', to: 'umo-editor' },
|
|
39
38
|
{ from: 'monaco-editor/min', to: 'monaco-editor/min' },
|
|
40
|
-
{ from: 'katex/dist', to: 'katex' }
|
|
41
|
-
{ from: 'pagedjs/dist/paged.polyfill.min.js', to: 'paged.polyfill.min.js' }
|
|
39
|
+
{ from: 'katex/dist', to: 'katex' }
|
|
42
40
|
];
|
|
43
41
|
|
|
44
42
|
// 循环遍历每个要复制的文件或目录
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umoteam/editor-external",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "The modules that Umo Editor depends on. Umo Editor 所依赖的部分模块。",
|
|
5
5
|
"main": "build.js",
|
|
6
6
|
"author": {
|
|
@@ -15,13 +15,10 @@
|
|
|
15
15
|
"email": "support@umodoc.com"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "node build.js"
|
|
19
|
-
"prepublishOnly": "yarn && npm run build"
|
|
18
|
+
"build": "node build.js"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|
|
22
|
-
"@umoteam/editor": "3.1.2",
|
|
23
21
|
"katex": "^0.16.11",
|
|
24
|
-
"monaco-editor": "^0.50.0"
|
|
25
|
-
"pagedjs": "^0.4.3"
|
|
22
|
+
"monaco-editor": "^0.50.0"
|
|
26
23
|
}
|
|
27
24
|
}
|