@turbodocx/html-to-docx 1.19.0 → 1.20.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 +142 -4
- package/dist/html-to-docx.browser.js +17 -0
- package/package.json +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbodocx/html-to-docx",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "HTML to DOCX converter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html-to-docx",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"main": "dist/html-to-docx.umd.js",
|
|
46
46
|
"module": "dist/html-to-docx.esm.js",
|
|
47
|
+
"browser": "dist/html-to-docx.browser.js",
|
|
47
48
|
"types": "index.d.ts",
|
|
48
49
|
"files": [
|
|
49
50
|
"dist",
|
|
@@ -65,6 +66,7 @@
|
|
|
65
66
|
"test:unit": "jest",
|
|
66
67
|
"test:unit:watch": "jest --watch",
|
|
67
68
|
"test:unit:coverage": "jest --coverage",
|
|
69
|
+
"test:browser": "npm run build && npx -y serve . -l 8080 --no-clipboard",
|
|
68
70
|
"prerelease": "npm run build:prod",
|
|
69
71
|
"release": "standard-version",
|
|
70
72
|
"lint": "eslint --fix .",
|
|
@@ -73,6 +75,8 @@
|
|
|
73
75
|
"build": "rollup -c",
|
|
74
76
|
"build:dev": "NODE_ENV=development rollup -c",
|
|
75
77
|
"build:prod": "NODE_ENV=production rollup -c",
|
|
78
|
+
"build:browser": "cross-env BUILD_TARGET=browser rollup -c",
|
|
79
|
+
"build:browser:prod": "cross-env NODE_ENV=production BUILD_TARGET=browser rollup -c",
|
|
76
80
|
"diff:docx": "node scripts/diff-docx.js",
|
|
77
81
|
"prepare": "husky install",
|
|
78
82
|
"postinstall": "node scripts/postinstall.js",
|
|
@@ -109,7 +113,8 @@
|
|
|
109
113
|
"adymo",
|
|
110
114
|
"Srajan-Sanjay-Saxena",
|
|
111
115
|
"jcasner",
|
|
112
|
-
"demomacro"
|
|
116
|
+
"demomacro",
|
|
117
|
+
"29217321"
|
|
113
118
|
],
|
|
114
119
|
"license": "MIT",
|
|
115
120
|
"bugs": {
|
|
@@ -140,6 +145,7 @@
|
|
|
140
145
|
"rollup": "^2.62.0",
|
|
141
146
|
"rollup-plugin-cleaner": "^1.0.0",
|
|
142
147
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
148
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
143
149
|
"rollup-plugin-terser": "^7.0.2",
|
|
144
150
|
"standard-version": "^9.3.1",
|
|
145
151
|
"ts-node": "^10.9.2",
|