docx-plus 0.1.7 → 0.3.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/README.md +21 -37
- package/dist/index.cjs +6 -33268
- package/dist/index.d.cts +1 -5110
- package/dist/index.d.mts +1 -5112
- package/dist/index.mjs +2 -32907
- package/package.json +13 -53
- package/dist/index.iife.js +0 -33270
- package/dist/index.umd.js +0 -33277
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docx-plus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"clippy",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"officegen",
|
|
16
16
|
"word"
|
|
17
17
|
],
|
|
18
|
-
"homepage": "https://github.com/DemoMacro/
|
|
18
|
+
"homepage": "https://github.com/DemoMacro/office-open#readme",
|
|
19
19
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/DemoMacro/
|
|
20
|
+
"url": "https://github.com/DemoMacro/office-open/issues"
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"author": {
|
|
@@ -27,67 +27,27 @@
|
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/DemoMacro/
|
|
30
|
+
"url": "git+https://github.com/DemoMacro/office-open.git"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"type": "module",
|
|
36
|
-
"main": "dist/index.
|
|
37
|
-
"module": "
|
|
38
|
-
"types": "
|
|
36
|
+
"main": "dist/index.cjs",
|
|
37
|
+
"module": "dist/index.mjs",
|
|
38
|
+
"types": "dist/index.d.mts",
|
|
39
39
|
"exports": {
|
|
40
40
|
".": {
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
"require": {
|
|
46
|
-
"types": "./dist/index.d.cts",
|
|
47
|
-
"default": "./dist/index.cjs"
|
|
48
|
-
}
|
|
41
|
+
"types": "./dist/index.d.mts",
|
|
42
|
+
"import": "./dist/index.mjs",
|
|
43
|
+
"require": "./dist/index.cjs"
|
|
49
44
|
}
|
|
50
45
|
},
|
|
51
46
|
"dependencies": {
|
|
52
|
-
"
|
|
53
|
-
"hash.js": "1.1.7",
|
|
54
|
-
"nanoid": "5.1.9",
|
|
55
|
-
"undio": "0.2.0",
|
|
56
|
-
"xml": "1.0.1",
|
|
57
|
-
"xml-js": "1.6.11"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@rolldown/plugin-node-polyfills": "1.0.3",
|
|
61
|
-
"@types/node": "25.6.0",
|
|
62
|
-
"@types/xml": "1.0.11",
|
|
63
|
-
"@vitest/coverage-v8": "4.1.4",
|
|
64
|
-
"cspell": "10.0.0",
|
|
65
|
-
"docsify-cli": "4.4.4",
|
|
66
|
-
"execa": "9.6.1",
|
|
67
|
-
"happy-dom": "20.9.0",
|
|
68
|
-
"inquirer": "13.4.1",
|
|
69
|
-
"pre-commit": "1.2.2",
|
|
70
|
-
"tsx": "4.21.0",
|
|
71
|
-
"typedoc": "0.28.19",
|
|
72
|
-
"typescript": "6.0.2",
|
|
73
|
-
"vite-plus": "0.1.18"
|
|
74
|
-
},
|
|
75
|
-
"pre-commit": [
|
|
76
|
-
"check"
|
|
77
|
-
],
|
|
78
|
-
"engines": {
|
|
79
|
-
"node": ">=10"
|
|
47
|
+
"@office-open/docx": "0.3.0"
|
|
80
48
|
},
|
|
81
49
|
"scripts": {
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"check": "vp check --fix",
|
|
85
|
-
"predemo": "pnpm run build",
|
|
86
|
-
"demo": "tsx ./demo/index.ts",
|
|
87
|
-
"typedoc": "typedoc src/index.ts --tsconfig tsconfig.typedoc.json",
|
|
88
|
-
"cspell": "cspell \"{src,demo,docs,scripts}/**/*.{ts,scss,html,md}\" && cspell \"./*.*\"",
|
|
89
|
-
"serve.docs": "cd docs && docsify serve",
|
|
90
|
-
"extract": "tsx scripts/extract-document.ts",
|
|
91
|
-
"run-ts": "tsx"
|
|
50
|
+
"dev": "basis build --stub",
|
|
51
|
+
"build": "basis build"
|
|
92
52
|
}
|
|
93
53
|
}
|