@coco-vexel/coco-office-editor 0.0.0-stage → 1.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/LICENSE +202 -0
- package/README.md +510 -2
- package/THIRD_PARTY_NOTICES.md +212 -0
- package/dist/index.cjs +26401 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +26192 -0
- package/dist/index.js.map +1 -0
- package/dist/model-DB6aN6uJ.d.cts +321 -0
- package/dist/model-DB6aN6uJ.d.ts +321 -0
- package/dist/native-B6B649CC.d.ts +1111 -0
- package/dist/native-Ct9nN06K.d.cts +1111 -0
- package/dist/ppt-native.cjs +5334 -0
- package/dist/ppt-native.cjs.map +1 -0
- package/dist/ppt-native.d.cts +2 -0
- package/dist/ppt-native.d.ts +2 -0
- package/dist/ppt-native.js +5332 -0
- package/dist/ppt-native.js.map +1 -0
- package/dist/ppt.cjs +5426 -0
- package/dist/ppt.cjs.map +1 -0
- package/dist/ppt.d.cts +306 -0
- package/dist/ppt.d.ts +306 -0
- package/dist/ppt.js +5410 -0
- package/dist/ppt.js.map +1 -0
- package/dist/spreadsheet.cjs +4276 -0
- package/dist/spreadsheet.cjs.map +1 -0
- package/dist/spreadsheet.d.cts +676 -0
- package/dist/spreadsheet.d.ts +676 -0
- package/dist/spreadsheet.js +4213 -0
- package/dist/spreadsheet.js.map +1 -0
- package/dist/word-editing.cjs +812 -0
- package/dist/word-editing.cjs.map +1 -0
- package/dist/word-editing.d.cts +149 -0
- package/dist/word-editing.d.ts +149 -0
- package/dist/word-editing.js +803 -0
- package/dist/word-editing.js.map +1 -0
- package/dist/word-native.cjs +13400 -0
- package/dist/word-native.cjs.map +1 -0
- package/dist/word-native.d.cts +4 -0
- package/dist/word-native.d.ts +4 -0
- package/dist/word-native.js +13293 -0
- package/dist/word-native.js.map +1 -0
- package/dist/word-prosemirror.cjs +489 -0
- package/dist/word-prosemirror.cjs.map +1 -0
- package/dist/word-prosemirror.d.cts +21 -0
- package/dist/word-prosemirror.d.ts +21 -0
- package/dist/word-prosemirror.js +483 -0
- package/dist/word-prosemirror.js.map +1 -0
- package/dist/word.cjs +16764 -0
- package/dist/word.cjs.map +1 -0
- package/dist/word.d.cts +84 -0
- package/dist/word.d.ts +84 -0
- package/dist/word.js +16632 -0
- package/dist/word.js.map +1 -0
- package/package.json +106 -3
- package/src/styles/editor.css +1507 -0
package/package.json
CHANGED
|
@@ -1,6 +1,109 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coco-vexel/coco-office-editor",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/coco-vexel/coco-office.git",
|
|
8
|
+
"directory": "packages/editor"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/coco-vexel/coco-office#browser-demo",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/coco-vexel/coco-office/issues"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"description": "Coco Office browser and desktop editor runtime",
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.js",
|
|
26
|
+
"require": "./dist/index.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./word": {
|
|
29
|
+
"types": "./dist/word.d.ts",
|
|
30
|
+
"import": "./dist/word.js",
|
|
31
|
+
"require": "./dist/word.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./spreadsheet": {
|
|
34
|
+
"types": "./dist/spreadsheet.d.ts",
|
|
35
|
+
"import": "./dist/spreadsheet.js",
|
|
36
|
+
"require": "./dist/spreadsheet.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./ppt": {
|
|
39
|
+
"types": "./dist/ppt.d.ts",
|
|
40
|
+
"import": "./dist/ppt.js",
|
|
41
|
+
"require": "./dist/ppt.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./ppt/native": {
|
|
44
|
+
"types": "./dist/ppt-native.d.ts",
|
|
45
|
+
"import": "./dist/ppt-native.js",
|
|
46
|
+
"require": "./dist/ppt-native.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./word/prosemirror": {
|
|
49
|
+
"types": "./dist/word-prosemirror.d.ts",
|
|
50
|
+
"import": "./dist/word-prosemirror.js",
|
|
51
|
+
"require": "./dist/word-prosemirror.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./word/editing": {
|
|
54
|
+
"types": "./dist/word-editing.d.ts",
|
|
55
|
+
"import": "./dist/word-editing.js",
|
|
56
|
+
"require": "./dist/word-editing.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./word/native": {
|
|
59
|
+
"types": "./dist/word-native.d.ts",
|
|
60
|
+
"import": "./dist/word-native.js",
|
|
61
|
+
"require": "./dist/word-native.cjs"
|
|
62
|
+
},
|
|
63
|
+
"./styles.css": "./src/styles/editor.css",
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
|
+
},
|
|
66
|
+
"sideEffects": [
|
|
67
|
+
"./src/styles/editor.css"
|
|
68
|
+
],
|
|
69
|
+
"files": [
|
|
70
|
+
"dist",
|
|
71
|
+
"src/styles",
|
|
72
|
+
"LICENSE",
|
|
73
|
+
"THIRD_PARTY_NOTICES.md"
|
|
74
|
+
],
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@coco-vexel/coco-office": "^1.0.0",
|
|
77
|
+
"prosemirror-commands": "^1.7.2",
|
|
78
|
+
"prosemirror-keymap": "^1.2.3",
|
|
79
|
+
"prosemirror-model": "^1.25.11",
|
|
80
|
+
"prosemirror-state": "^1.4.4",
|
|
81
|
+
"prosemirror-transform": "^1.12.0",
|
|
82
|
+
"prosemirror-view": "^1.42.2"
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"happy-dom": "^20.11.2",
|
|
86
|
+
"jszip": "^3.10.1",
|
|
87
|
+
"vite": "^5.4.21",
|
|
88
|
+
"vitest": "^2.1.9",
|
|
89
|
+
"@coco-vexel/coco-office-oojson": "^1.0.0"
|
|
90
|
+
},
|
|
91
|
+
"scripts": {
|
|
92
|
+
"build": "tsup",
|
|
93
|
+
"demo": "vite --config vite.demo.config.ts",
|
|
94
|
+
"build:demo": "vite build --config vite.demo.config.ts",
|
|
95
|
+
"dev": "vite --host 127.0.0.1",
|
|
96
|
+
"dev:regression": "node dev/run-native-regression.mjs",
|
|
97
|
+
"dev:ppt-edit-roundtrip": "node dev/run-ppt-edit-roundtrip.mjs",
|
|
98
|
+
"dev:ppt-reference-cross-check": "node dev/run-ppt-wps-cross-check.mjs",
|
|
99
|
+
"dev:ppt-office-cross-check": "node dev/run-ppt-wps-cross-check.mjs --reference=powerpoint",
|
|
100
|
+
"dev:ppt-wps-cross-check": "node dev/run-ppt-wps-cross-check.mjs",
|
|
101
|
+
"dev:ppt-editor-smoke": "node dev/run-ppt-editor-smoke.mjs",
|
|
102
|
+
"dev:ppt-editor-smoke:fast": "node dev/run-ppt-editor-smoke.mjs --fast",
|
|
103
|
+
"dev:ppt-editor-smoke:quick": "node dev/run-ppt-editor-smoke.mjs",
|
|
104
|
+
"dev:ppt-editor-smoke:full": "node dev/run-ppt-editor-smoke.mjs --full",
|
|
105
|
+
"dev:word-reference": "node dev/export-word-reference.mjs",
|
|
106
|
+
"test": "vitest run --config vitest.config.ts",
|
|
107
|
+
"lint": "echo 'lint config pending' && exit 0"
|
|
108
|
+
}
|
|
6
109
|
}
|