-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 5.43 KB
/
package.json
File metadata and controls
186 lines (186 loc) · 5.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "@turbodocx/html-to-docx",
"version": "1.20.1",
"description": "HTML to DOCX converter",
"keywords": [
"html-to-docx",
"html to docx",
"html",
"docx",
"office",
"word",
"pptx",
"templates",
"template",
"templater",
"templating",
"report",
"xlsx",
"generation",
"generate",
"generator",
"document generation",
"document creator",
"document automation",
"dynamic document generation",
"microsoft office",
"microsoft word",
"microsoft powerpoint",
"microsoft excel",
"create",
"make",
"Office Open XML",
"OOXML",
"document generation software",
"automated document creation",
"batch document generation",
"document templating",
"typescript",
"ts",
"hebrew",
"arabic",
"rtl",
"right to left"
],
"main": "dist/html-to-docx.umd.js",
"module": "dist/html-to-docx.esm.js",
"browser": "dist/html-to-docx.browser.js",
"types": "index.d.ts",
"files": [
"dist",
"scripts/postinstall.js",
"scripts/messages.json",
"index.d.ts",
"README.md",
"LICENSE"
],
"scripts": {
"test": "npm run build && node example/example-node.js",
"test:comprehensive-svg": "npm run build && node example/comprehensive-svg-test.js",
"test:example-inline-svg": "npm run build && node example/example-inline-svg.js",
"test:rtl": "npm run build && node example/example-rtl.js",
"test:headings": "npm run build && node example/example-heading-styles.js",
"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",
"test:ts-rtl": "npm run build && cross-env TS_NODE_PROJECT=example/typescript/tsconfig.json ts-node -r tsconfig-paths/register example/typescript/rtl-example.ts",
"test:all": "npm run test:unit && npm run test && npm run test:headings && npm run test:ts && npm run test:ts-rtl",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:browser": "npm run build && npx -y serve . -l 8080 --no-clipboard",
"prerelease": "npm run build:prod",
"release": "standard-version",
"lint": "eslint --fix .",
"prettier:check": "prettier --check '**/*.{js}'",
"validate": "run-s lint prettier:check",
"build": "rollup -c",
"build:dev": "NODE_ENV=development rollup -c",
"build:prod": "NODE_ENV=production rollup -c",
"build:browser": "cross-env BUILD_TARGET=browser rollup -c",
"build:browser:prod": "cross-env NODE_ENV=production BUILD_TARGET=browser rollup -c",
"diff:docx": "node scripts/diff-docx.js",
"prepare": "husky install",
"postinstall": "node scripts/postinstall.js",
"test:ts-example": "npm run build && cross-env TS_NODE_PROJECT=example/typescript/tsconfig.json ts-node -r tsconfig-paths/register example/typescript/typescript-example.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/turbodocx/html-to-docx.git"
},
"author": "TurboDocx, Inc.",
"contributors": [
"amrita-syn <amrita.yadav@synapsica.com>",
"charuthaB <charutha.bhaskar@synapsica.com>",
"hanagejet",
"kurukururuu <apriansyah.fajar94@gmail.com>",
"erenard",
"KeithGillette",
"juralio-james",
"nicolasiscoding",
"K-Kumar-01 ",
"Swayamshu",
"zedtux <zedtux@zedroot.org>",
"hlerebours",
"hakjeri",
"tasola",
"AmitSharma512",
"AudunWA",
"warlock7",
"taro-shono",
"braun1928",
"juralio-james",
"robinminso",
"shareefalis",
"adymo",
"Srajan-Sanjay-Saxena",
"jcasner",
"demomacro",
"29217321"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/TurboDocx/html-to-docx/issues"
},
"homepage": "https://github.com/TurboDocx/html-to-docx#readme",
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^13.1.0",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.1",
"babel-jest": "^30.2.0",
"cross-env": "^7.0.3",
"diff": "^5.2.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"jest": "^29.7.0",
"lint-staged": "^11.1.2",
"lodash-es": "^4.17.21",
"prettier": "^2.4.1",
"rollup": "^2.62.0",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^9.3.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.8.3"
},
"dependencies": {
"axios": "^1.12.2",
"color-name": "^1.1.4",
"html-entities": "^2.3.3",
"html-minifier-terser": "^7.2.0",
"htmlparser2": "^10.0.0",
"image-size": "^2.0.2",
"jszip": "^3.7.1",
"lodash": "^4.17.21",
"lru-cache": "^10.4.3",
"mime-types": "^2.1.35",
"nanoid": "^3.1.25",
"xmlbuilder2": "2.1.2"
},
"overrides": {
"bl": "^1.2.3",
"semver": "^7.6.0",
"sharp": {
"semver": "^7.6.0"
}
},
"resolutions": {
"bl": "^1.2.3",
"semver": "^7.6.0"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"eslint --fix"
]
}
}