@turbodocx/html-to-docx 1.20.1 → 1.22.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbodocx/html-to-docx",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"description": "HTML to DOCX converter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html-to-docx",
|
|
@@ -42,9 +42,24 @@
|
|
|
42
42
|
"rtl",
|
|
43
43
|
"right to left"
|
|
44
44
|
],
|
|
45
|
+
"exports": {
|
|
46
|
+
".": {
|
|
47
|
+
"types": "./index.d.ts",
|
|
48
|
+
"node": {
|
|
49
|
+
"import": "./dist/html-to-docx.esm.js",
|
|
50
|
+
"require": "./dist/html-to-docx.umd.js"
|
|
51
|
+
},
|
|
52
|
+
"browser": "./dist/html-to-docx.browser.esm.js",
|
|
53
|
+
"import": "./dist/html-to-docx.esm.js",
|
|
54
|
+
"require": "./dist/html-to-docx.umd.js",
|
|
55
|
+
"default": "./dist/html-to-docx.esm.js"
|
|
56
|
+
},
|
|
57
|
+
"./dist/*": "./dist/*",
|
|
58
|
+
"./package.json": "./package.json"
|
|
59
|
+
},
|
|
45
60
|
"main": "dist/html-to-docx.umd.js",
|
|
46
61
|
"module": "dist/html-to-docx.esm.js",
|
|
47
|
-
"browser": "dist/html-to-docx.browser.js",
|
|
62
|
+
"browser": "dist/html-to-docx.browser.esm.js",
|
|
48
63
|
"types": "index.d.ts",
|
|
49
64
|
"files": [
|
|
50
65
|
"dist",
|
|
@@ -58,6 +73,7 @@
|
|
|
58
73
|
"test": "npm run build && node example/example-node.js",
|
|
59
74
|
"test:comprehensive-svg": "npm run build && node example/comprehensive-svg-test.js",
|
|
60
75
|
"test:example-inline-svg": "npm run build && node example/example-inline-svg.js",
|
|
76
|
+
"test:alignments": "npm run build && node example/example-alignments.js",
|
|
61
77
|
"test:rtl": "npm run build && node example/example-rtl.js",
|
|
62
78
|
"test:headings": "npm run build && node example/example-heading-styles.js",
|
|
63
79
|
"test:ts": "npm run build && cross-env TS_NODE_PROJECT=example/typescript/tsconfig.json ts-node -r tsconfig-paths/register example/typescript/typescript-example.ts",
|
|
@@ -114,13 +130,18 @@
|
|
|
114
130
|
"Srajan-Sanjay-Saxena",
|
|
115
131
|
"jcasner",
|
|
116
132
|
"demomacro",
|
|
117
|
-
"29217321"
|
|
133
|
+
"29217321",
|
|
134
|
+
"FultonG",
|
|
135
|
+
"odex21"
|
|
118
136
|
],
|
|
119
137
|
"license": "MIT",
|
|
120
138
|
"bugs": {
|
|
121
139
|
"url": "https://github.com/TurboDocx/html-to-docx/issues"
|
|
122
140
|
},
|
|
123
141
|
"homepage": "https://github.com/TurboDocx/html-to-docx#readme",
|
|
142
|
+
"engines": {
|
|
143
|
+
"node": ">=20.0.0"
|
|
144
|
+
},
|
|
124
145
|
"devDependencies": {
|
|
125
146
|
"@babel/core": "^7.28.4",
|
|
126
147
|
"@babel/preset-env": "^7.28.3",
|
|
@@ -129,6 +150,7 @@
|
|
|
129
150
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
130
151
|
"@rollup/plugin-json": "^4.1.0",
|
|
131
152
|
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
153
|
+
"@rollup/plugin-terser": "1.0.0",
|
|
132
154
|
"babel-jest": "^30.2.0",
|
|
133
155
|
"cross-env": "^7.0.3",
|
|
134
156
|
"diff": "^5.2.0",
|
|
@@ -144,9 +166,7 @@
|
|
|
144
166
|
"prettier": "^2.4.1",
|
|
145
167
|
"rollup": "^2.62.0",
|
|
146
168
|
"rollup-plugin-cleaner": "^1.0.0",
|
|
147
|
-
"rollup-plugin-node-builtins": "^2.1.2",
|
|
148
169
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
149
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
150
170
|
"standard-version": "^9.3.1",
|
|
151
171
|
"ts-node": "^10.9.2",
|
|
152
172
|
"tsconfig-paths": "^4.2.0",
|