@lingxiteam/lcdp-ueditor-react 1.0.3-alpha.4 → 1.0.3-alpha.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.
Files changed (76) hide show
  1. package/es/LcdpUeditor.js +41 -37
  2. package/es/const.js +4 -4
  3. package/es/defaultConfig.json +76 -76
  4. package/es/tools/UeditorResourceLoader.js +6 -6
  5. package/es/tools/loadScript.js +3 -3
  6. package/lib/LcdpUeditor.js +5 -1
  7. package/lib/defaultConfig.json +76 -76
  8. package/package.json +35 -35
  9. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  10. package/ueditor-resource/dialogs/attachment/attachment.css +2 -2
  11. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  12. package/ueditor-resource/dialogs/audio/audio.css +2 -2
  13. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  14. package/ueditor-resource/dialogs/background/background.css +2 -2
  15. package/ueditor-resource/dialogs/background/background.html +59 -59
  16. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  17. package/ueditor-resource/dialogs/emotion/emotion.css +2 -2
  18. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  19. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  20. package/ueditor-resource/dialogs/help/help.css +2 -2
  21. package/ueditor-resource/dialogs/help/help.html +82 -82
  22. package/ueditor-resource/dialogs/image/image.css +2 -2
  23. package/ueditor-resource/dialogs/image/image.html +144 -144
  24. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  25. package/ueditor-resource/dialogs/link/link.html +148 -148
  26. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  27. package/ueditor-resource/dialogs/scrawl/scrawl.css +2 -2
  28. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  29. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  30. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  31. package/ueditor-resource/dialogs/table/edittable.css +2 -2
  32. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  33. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  34. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  35. package/ueditor-resource/dialogs/template/template.css +2 -2
  36. package/ueditor-resource/dialogs/template/template.html +26 -26
  37. package/ueditor-resource/dialogs/video/video.css +2 -2
  38. package/ueditor-resource/dialogs/video/video.html +114 -114
  39. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  40. package/ueditor-resource/themes/default/css/ueditor.css +2 -2
  41. package/ueditor-resource/themes/default/dialog.css +2 -2
  42. package/ueditor-resource/themes/default/dialogbase.css +2 -2
  43. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  44. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  45. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  46. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  47. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  48. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  49. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  50. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  51. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  52. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  53. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  54. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  55. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  56. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  57. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  58. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  59. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  60. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  61. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  62. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  63. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  64. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  65. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  66. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  67. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  68. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  69. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  70. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  71. package/ueditor-resource/themes/iframe.css +2 -2
  72. package/ueditor-resource/third-party/SyntaxHighlighter/shCoreDefault.css +2 -2
  73. package/ueditor-resource/third-party/codemirror/codemirror.css +2 -2
  74. package/ueditor-resource/third-party/webuploader/webuploader.css +2 -2
  75. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  76. package/ueditor-resource/ueditor.all.js +3 -3
package/es/LcdpUeditor.js CHANGED
@@ -20,58 +20,58 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
20
20
  var _this;
21
21
  _classCallCheck(this, LcdpUeditor);
22
22
  _this = _super.call(this, props);
23
- /**
24
- * 静态资源地址
23
+ /**
24
+ * 静态资源地址
25
25
  */
26
26
  _defineProperty(_assertThisInitialized(_this), "ueditorPath", DEFAULT_UEDITOR_PATH);
27
- /**
28
- * 文件上传inputRef
27
+ /**
28
+ * 文件上传inputRef
29
29
  */
30
30
  _defineProperty(_assertThisInitialized(_this), "inputRef", /*#__PURE__*/React.createRef());
31
- /**
32
- * 编辑器容器ref
31
+ /**
32
+ * 编辑器容器ref
33
33
  */
34
34
  _defineProperty(_assertThisInitialized(_this), "containerRef", /*#__PURE__*/React.createRef());
35
- /**
36
- * 编辑器容器id
35
+ /**
36
+ * 编辑器容器id
37
37
  */
38
38
  _defineProperty(_assertThisInitialized(_this), "containerId", void 0);
39
- /**
40
- * 编辑器实例
39
+ /**
40
+ * 编辑器实例
41
41
  */
42
42
  _defineProperty(_assertThisInitialized(_this), "ueditorInst", null);
43
- /**
44
- * 是否上报
43
+ /**
44
+ * 是否上报
45
45
  */
46
46
  _defineProperty(_assertThisInitialized(_this), "isReportFlag", true);
47
- /**
48
- * 值变化节流函数
47
+ /**
48
+ * 值变化节流函数
49
49
  */
50
50
  _defineProperty(_assertThisInitialized(_this), "debounceContentChange", void 0);
51
- /**
52
- * 当前值
51
+ /**
52
+ * 当前值
53
53
  */
54
54
  _defineProperty(_assertThisInitialized(_this), "currentContent", '');
55
- /**
56
- * 上传文件函数
55
+ /**
56
+ * 上传文件函数
57
57
  */
58
58
  _defineProperty(_assertThisInitialized(_this), "uploadFunction", void 0);
59
- /**
60
- * 是否加载完成
59
+ /**
60
+ * 是否加载完成
61
61
  */
62
62
  _defineProperty(_assertThisInitialized(_this), "isReady", false);
63
- /**
64
- * 保存 compositionend 事件处理器引用
63
+ /**
64
+ * 保存 compositionend 事件处理器引用
65
65
  */
66
66
  _defineProperty(_assertThisInitialized(_this), "compositionEndHandler", void 0);
67
- /**
68
- * 初始加载失败
67
+ /**
68
+ * 初始加载失败
69
69
  */
70
70
  _defineProperty(_assertThisInitialized(_this), "state", {
71
71
  initError: false
72
72
  });
73
- /**
74
- * 编辑器配置项
73
+ /**
74
+ * 编辑器配置项
75
75
  */
76
76
  _defineProperty(_assertThisInitialized(_this), "editorConfig", {});
77
77
  var config = props.config;
@@ -188,10 +188,10 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
188
188
  }
189
189
  }
190
190
 
191
- /**
192
- * 文件选择
193
- * @param cb 回调给编辑器
194
- * @param type 类型
191
+ /**
192
+ * 文件选择
193
+ * @param cb 回调给编辑器
194
+ * @param type 类型
195
195
  */
196
196
  }, {
197
197
  key: "fileSelect",
@@ -269,8 +269,8 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
269
269
  }
270
270
  return fileSelect;
271
271
  }()
272
- /**
273
- * 对外暴露编辑器实例
272
+ /**
273
+ * 对外暴露编辑器实例
274
274
  */
275
275
  )
276
276
  }, {
@@ -281,8 +281,8 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
281
281
  }
282
282
  }
283
283
 
284
- /**
285
- * 初始化样式
284
+ /**
285
+ * 初始化样式
286
286
  */
287
287
  }, {
288
288
  key: "initStyle",
@@ -304,8 +304,8 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
304
304
  }
305
305
  }
306
306
 
307
- /**
308
- * 初始化编辑器实例
307
+ /**
308
+ * 初始化编辑器实例
309
309
  */
310
310
  }, {
311
311
  key: "initUeditor",
@@ -318,7 +318,11 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
318
318
  case 0:
319
319
  UeditorResourceLoader.onReady(function () {
320
320
  _this3.initConfig();
321
- _this3.ueditorInst = window.UE.getEditor(_this3.containerId, _this3.editorConfig);
321
+ var target = document.getElementById(_this3.containerId);
322
+ if (!window.UE || !target) {
323
+ return;
324
+ }
325
+ _this3.ueditorInst = window.UE.getEditor(target, _this3.editorConfig);
322
326
  _this3.ueditorInst.ready(function () {
323
327
  _this3.isReady = true;
324
328
  // 禁用状态设置
package/es/const.js CHANGED
@@ -1,10 +1,10 @@
1
- /**
2
- * 默认的ueditor资源路径
1
+ /**
2
+ * 默认的ueditor资源路径
3
3
  */
4
4
  export var DEFAULT_UEDITOR_PATH = './ueditor-resource';
5
5
 
6
- /**
7
- * ueditor 资源文件名
6
+ /**
7
+ * ueditor 资源文件名
8
8
  */
9
9
  export var DEFAULT_UEDITOR_CONFIG = {
10
10
  // 配置文件
@@ -1,77 +1,77 @@
1
- {
2
- "imageActionName": "image",
3
- "imageFieldName": "file",
4
- "imageMaxSize": 10485760,
5
- "imageAllowFiles": [
6
- ".jpg",
7
- ".png",
8
- ".jpeg"
9
- ],
10
- "imageCompressEnable": true,
11
- "imageCompressBorder": 5000,
12
- "imageInsertAlign": "none",
13
- "imageUrlPrefix": "",
14
- "scrawlActionName": "crawl",
15
- "scrawlFieldName": "file",
16
- "scrawlMaxSize": 10485760,
17
- "scrawlUrlPrefix": "",
18
- "scrawlInsertAlign": "none",
19
- "snapscreenActionName": "snap",
20
- "snapscreenUrlPrefix": "",
21
- "snapscreenInsertAlign": "none",
22
- "catcherLocalDomain": [
23
- "127.0.0.1",
24
- "localhost"
25
- ],
26
- "catcherActionName": "catch",
27
- "catcherFieldName": "source",
28
- "catcherUrlPrefix": "",
29
- "catcherMaxSize": 10485760,
30
- "catcherAllowFiles": [
31
- ".jpg",
32
- ".png",
33
- ".jpeg"
34
- ],
35
- "videoActionName": "video",
36
- "videoFieldName": "file",
37
- "videoUrlPrefix": "",
38
- "videoMaxSize": 104857600,
39
- "videoAllowFiles": [
40
- ".mp4",
41
- ".webm",
42
- ".mkv"
43
- ],
44
- "audioActionName": "audio",
45
- "audioFieldName": "file",
46
- "audioUrlPrefix": "",
47
- "audioMaxSize": 104857600,
48
- "audioAllowFiles": [
49
- ".mp3"
50
- ],
51
- "fileActionName": "file",
52
- "fileFieldName": "file",
53
- "fileUrlPrefix": "",
54
- "fileMaxSize": 104857600,
55
- "fileAllowFiles": [
56
- ".zip",
57
- ".pdf",
58
- ".doc"
59
- ],
60
- "imageManagerActionName": "listImage",
61
- "imageManagerListSize": 20,
62
- "imageManagerUrlPrefix": "",
63
- "imageManagerInsertAlign": "none",
64
- "imageManagerAllowFiles": [
65
- ".jpg",
66
- ".png",
67
- ".jpeg"
68
- ],
69
- "fileManagerActionName": "listFile",
70
- "fileManagerUrlPrefix": "",
71
- "fileManagerListSize": 20,
72
- "fileManagerAllowFiles": [
73
- ".zip",
74
- ".pdf",
75
- ".doc"
76
- ]
1
+ {
2
+ "imageActionName": "image",
3
+ "imageFieldName": "file",
4
+ "imageMaxSize": 10485760,
5
+ "imageAllowFiles": [
6
+ ".jpg",
7
+ ".png",
8
+ ".jpeg"
9
+ ],
10
+ "imageCompressEnable": true,
11
+ "imageCompressBorder": 5000,
12
+ "imageInsertAlign": "none",
13
+ "imageUrlPrefix": "",
14
+ "scrawlActionName": "crawl",
15
+ "scrawlFieldName": "file",
16
+ "scrawlMaxSize": 10485760,
17
+ "scrawlUrlPrefix": "",
18
+ "scrawlInsertAlign": "none",
19
+ "snapscreenActionName": "snap",
20
+ "snapscreenUrlPrefix": "",
21
+ "snapscreenInsertAlign": "none",
22
+ "catcherLocalDomain": [
23
+ "127.0.0.1",
24
+ "localhost"
25
+ ],
26
+ "catcherActionName": "catch",
27
+ "catcherFieldName": "source",
28
+ "catcherUrlPrefix": "",
29
+ "catcherMaxSize": 10485760,
30
+ "catcherAllowFiles": [
31
+ ".jpg",
32
+ ".png",
33
+ ".jpeg"
34
+ ],
35
+ "videoActionName": "video",
36
+ "videoFieldName": "file",
37
+ "videoUrlPrefix": "",
38
+ "videoMaxSize": 104857600,
39
+ "videoAllowFiles": [
40
+ ".mp4",
41
+ ".webm",
42
+ ".mkv"
43
+ ],
44
+ "audioActionName": "audio",
45
+ "audioFieldName": "file",
46
+ "audioUrlPrefix": "",
47
+ "audioMaxSize": 104857600,
48
+ "audioAllowFiles": [
49
+ ".mp3"
50
+ ],
51
+ "fileActionName": "file",
52
+ "fileFieldName": "file",
53
+ "fileUrlPrefix": "",
54
+ "fileMaxSize": 104857600,
55
+ "fileAllowFiles": [
56
+ ".zip",
57
+ ".pdf",
58
+ ".doc"
59
+ ],
60
+ "imageManagerActionName": "listImage",
61
+ "imageManagerListSize": 20,
62
+ "imageManagerUrlPrefix": "",
63
+ "imageManagerInsertAlign": "none",
64
+ "imageManagerAllowFiles": [
65
+ ".jpg",
66
+ ".png",
67
+ ".jpeg"
68
+ ],
69
+ "fileManagerActionName": "listFile",
70
+ "fileManagerUrlPrefix": "",
71
+ "fileManagerListSize": 20,
72
+ "fileManagerAllowFiles": [
73
+ ".zip",
74
+ ".pdf",
75
+ ".doc"
76
+ ]
77
77
  }
@@ -88,9 +88,9 @@ var UeditorResourceLoader = /*#__PURE__*/function () {
88
88
  return this.instance;
89
89
  }
90
90
 
91
- /**
92
- * 加载完成执行
93
- * @param callback 回调函数
91
+ /**
92
+ * 加载完成执行
93
+ * @param callback 回调函数
94
94
  */
95
95
  }, {
96
96
  key: "onReady",
@@ -103,9 +103,9 @@ var UeditorResourceLoader = /*#__PURE__*/function () {
103
103
  }
104
104
  }
105
105
 
106
- /**
107
- * 资源加载失败执行
108
- * @param callback
106
+ /**
107
+ * 资源加载失败执行
108
+ * @param callback
109
109
  */
110
110
  }, {
111
111
  key: "onLoadError",
@@ -1,8 +1,8 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
- /**
4
- * 同步加载js
5
- * @param strs 路径地址
3
+ /**
4
+ * 同步加载js
5
+ * @param strs 路径地址
6
6
  */
7
7
  export var loadScriptSync = /*#__PURE__*/function () {
8
8
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(strs) {
@@ -241,7 +241,11 @@ var LcdpUeditor = class extends import_react.default.Component {
241
241
  async initUeditor() {
242
242
  import_UeditorResourceLoader.default.onReady(() => {
243
243
  this.initConfig();
244
- this.ueditorInst = window.UE.getEditor(this.containerId, this.editorConfig);
244
+ const target = document.getElementById(this.containerId);
245
+ if (!window.UE || !target) {
246
+ return;
247
+ }
248
+ this.ueditorInst = window.UE.getEditor(target, this.editorConfig);
245
249
  this.ueditorInst.ready(() => {
246
250
  this.isReady = true;
247
251
  if (this.props.disabled) {
@@ -1,77 +1,77 @@
1
- {
2
- "imageActionName": "image",
3
- "imageFieldName": "file",
4
- "imageMaxSize": 10485760,
5
- "imageAllowFiles": [
6
- ".jpg",
7
- ".png",
8
- ".jpeg"
9
- ],
10
- "imageCompressEnable": true,
11
- "imageCompressBorder": 5000,
12
- "imageInsertAlign": "none",
13
- "imageUrlPrefix": "",
14
- "scrawlActionName": "crawl",
15
- "scrawlFieldName": "file",
16
- "scrawlMaxSize": 10485760,
17
- "scrawlUrlPrefix": "",
18
- "scrawlInsertAlign": "none",
19
- "snapscreenActionName": "snap",
20
- "snapscreenUrlPrefix": "",
21
- "snapscreenInsertAlign": "none",
22
- "catcherLocalDomain": [
23
- "127.0.0.1",
24
- "localhost"
25
- ],
26
- "catcherActionName": "catch",
27
- "catcherFieldName": "source",
28
- "catcherUrlPrefix": "",
29
- "catcherMaxSize": 10485760,
30
- "catcherAllowFiles": [
31
- ".jpg",
32
- ".png",
33
- ".jpeg"
34
- ],
35
- "videoActionName": "video",
36
- "videoFieldName": "file",
37
- "videoUrlPrefix": "",
38
- "videoMaxSize": 104857600,
39
- "videoAllowFiles": [
40
- ".mp4",
41
- ".webm",
42
- ".mkv"
43
- ],
44
- "audioActionName": "audio",
45
- "audioFieldName": "file",
46
- "audioUrlPrefix": "",
47
- "audioMaxSize": 104857600,
48
- "audioAllowFiles": [
49
- ".mp3"
50
- ],
51
- "fileActionName": "file",
52
- "fileFieldName": "file",
53
- "fileUrlPrefix": "",
54
- "fileMaxSize": 104857600,
55
- "fileAllowFiles": [
56
- ".zip",
57
- ".pdf",
58
- ".doc"
59
- ],
60
- "imageManagerActionName": "listImage",
61
- "imageManagerListSize": 20,
62
- "imageManagerUrlPrefix": "",
63
- "imageManagerInsertAlign": "none",
64
- "imageManagerAllowFiles": [
65
- ".jpg",
66
- ".png",
67
- ".jpeg"
68
- ],
69
- "fileManagerActionName": "listFile",
70
- "fileManagerUrlPrefix": "",
71
- "fileManagerListSize": 20,
72
- "fileManagerAllowFiles": [
73
- ".zip",
74
- ".pdf",
75
- ".doc"
76
- ]
1
+ {
2
+ "imageActionName": "image",
3
+ "imageFieldName": "file",
4
+ "imageMaxSize": 10485760,
5
+ "imageAllowFiles": [
6
+ ".jpg",
7
+ ".png",
8
+ ".jpeg"
9
+ ],
10
+ "imageCompressEnable": true,
11
+ "imageCompressBorder": 5000,
12
+ "imageInsertAlign": "none",
13
+ "imageUrlPrefix": "",
14
+ "scrawlActionName": "crawl",
15
+ "scrawlFieldName": "file",
16
+ "scrawlMaxSize": 10485760,
17
+ "scrawlUrlPrefix": "",
18
+ "scrawlInsertAlign": "none",
19
+ "snapscreenActionName": "snap",
20
+ "snapscreenUrlPrefix": "",
21
+ "snapscreenInsertAlign": "none",
22
+ "catcherLocalDomain": [
23
+ "127.0.0.1",
24
+ "localhost"
25
+ ],
26
+ "catcherActionName": "catch",
27
+ "catcherFieldName": "source",
28
+ "catcherUrlPrefix": "",
29
+ "catcherMaxSize": 10485760,
30
+ "catcherAllowFiles": [
31
+ ".jpg",
32
+ ".png",
33
+ ".jpeg"
34
+ ],
35
+ "videoActionName": "video",
36
+ "videoFieldName": "file",
37
+ "videoUrlPrefix": "",
38
+ "videoMaxSize": 104857600,
39
+ "videoAllowFiles": [
40
+ ".mp4",
41
+ ".webm",
42
+ ".mkv"
43
+ ],
44
+ "audioActionName": "audio",
45
+ "audioFieldName": "file",
46
+ "audioUrlPrefix": "",
47
+ "audioMaxSize": 104857600,
48
+ "audioAllowFiles": [
49
+ ".mp3"
50
+ ],
51
+ "fileActionName": "file",
52
+ "fileFieldName": "file",
53
+ "fileUrlPrefix": "",
54
+ "fileMaxSize": 104857600,
55
+ "fileAllowFiles": [
56
+ ".zip",
57
+ ".pdf",
58
+ ".doc"
59
+ ],
60
+ "imageManagerActionName": "listImage",
61
+ "imageManagerListSize": 20,
62
+ "imageManagerUrlPrefix": "",
63
+ "imageManagerInsertAlign": "none",
64
+ "imageManagerAllowFiles": [
65
+ ".jpg",
66
+ ".png",
67
+ ".jpeg"
68
+ ],
69
+ "fileManagerActionName": "listFile",
70
+ "fileManagerUrlPrefix": "",
71
+ "fileManagerListSize": 20,
72
+ "fileManagerAllowFiles": [
73
+ ".zip",
74
+ ".pdf",
75
+ ".doc"
76
+ ]
77
77
  }
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "@lingxiteam/lcdp-ueditor-react",
3
- "version": "1.0.3-alpha.4",
4
- "license": "MIT",
5
- "main": "lib/index.js",
6
- "module": "es/index.js",
7
- "types": "es/index.d.ts",
8
- "typings": "es/index.d.ts",
9
- "files": [
10
- "ueditor-resource",
11
- "es",
12
- "lib"
13
- ],
14
- "scripts": {
15
- "build": "father build",
16
- "dev": "father dev",
17
- "prepublishOnly": "npm run build && cd ../../ueditor-plus && npm run prepublish"
18
- },
19
- "devDependencies": {
20
- "@types/lodash": "^4.14.180",
21
- "father": "^4.1.9"
22
- },
23
- "peerDependencies": {
24
- "react": "^16.12.0 || ^17.0.0",
25
- "lodash": "^4.0.0"
26
- },
27
- "dependencies": {
28
- "@babel/runtime": "7.23.2"
29
- },
30
- "publishConfig": {
31
- "access": "public",
32
- "registry": "https://registry.npmjs.org/"
33
- },
34
- "gitHead": "be7b48f706ff0186d2f2f42d59a25b4973f935d4"
35
- }
1
+ {
2
+ "name": "@lingxiteam/lcdp-ueditor-react",
3
+ "version": "1.0.3-alpha.5",
4
+ "license": "MIT",
5
+ "main": "lib/index.js",
6
+ "module": "es/index.js",
7
+ "types": "es/index.d.ts",
8
+ "typings": "es/index.d.ts",
9
+ "files": [
10
+ "ueditor-resource",
11
+ "es",
12
+ "lib"
13
+ ],
14
+ "scripts": {
15
+ "build": "father build",
16
+ "dev": "father dev",
17
+ "prepublishOnly": "npm run build && cd ../../ueditor-plus && npm run prepublish"
18
+ },
19
+ "devDependencies": {
20
+ "@types/lodash": "^4.14.180",
21
+ "father": "^4.1.9"
22
+ },
23
+ "peerDependencies": {
24
+ "react": "^16.12.0 || ^17.0.0",
25
+ "lodash": "^4.0.0"
26
+ },
27
+ "dependencies": {
28
+ "@babel/runtime": "7.23.2"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public",
32
+ "registry": "https://registry.npmjs.org/"
33
+ },
34
+ "gitHead": "be7b48f706ff0186d2f2f42d59a25b4973f935d4"
35
+ }