@turbodocx/html-to-docx 1.18.1 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turbodocx/html-to-docx",
3
- "version": "1.18.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",
@@ -55,6 +56,8 @@
55
56
  ],
56
57
  "scripts": {
57
58
  "test": "npm run build && node example/example-node.js",
59
+ "test:comprehensive-svg": "npm run build && node example/comprehensive-svg-test.js",
60
+ "test:example-inline-svg": "npm run build && node example/example-inline-svg.js",
58
61
  "test:rtl": "npm run build && node example/example-rtl.js",
59
62
  "test:headings": "npm run build && node example/example-heading-styles.js",
60
63
  "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",
@@ -63,6 +66,7 @@
63
66
  "test:unit": "jest",
64
67
  "test:unit:watch": "jest --watch",
65
68
  "test:unit:coverage": "jest --coverage",
69
+ "test:browser": "npm run build && npx -y serve . -l 8080 --no-clipboard",
66
70
  "prerelease": "npm run build:prod",
67
71
  "release": "standard-version",
68
72
  "lint": "eslint --fix .",
@@ -71,6 +75,8 @@
71
75
  "build": "rollup -c",
72
76
  "build:dev": "NODE_ENV=development rollup -c",
73
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",
74
80
  "diff:docx": "node scripts/diff-docx.js",
75
81
  "prepare": "husky install",
76
82
  "postinstall": "node scripts/postinstall.js",
@@ -107,7 +113,8 @@
107
113
  "adymo",
108
114
  "Srajan-Sanjay-Saxena",
109
115
  "jcasner",
110
- "demomacro"
116
+ "demomacro",
117
+ "29217321"
111
118
  ],
112
119
  "license": "MIT",
113
120
  "bugs": {
@@ -138,6 +145,7 @@
138
145
  "rollup": "^2.62.0",
139
146
  "rollup-plugin-cleaner": "^1.0.0",
140
147
  "rollup-plugin-node-builtins": "^2.1.2",
148
+ "rollup-plugin-polyfill-node": "^0.13.0",
141
149
  "rollup-plugin-terser": "^7.0.2",
142
150
  "standard-version": "^9.3.1",
143
151
  "ts-node": "^10.9.2",