@turbodocx/html-to-docx 1.9.1
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/LICENSE +21 -0
- package/README.md +162 -0
- package/dist/html-to-docx.esm.js +2 -0
- package/dist/html-to-docx.esm.js.map +1 -0
- package/dist/html-to-docx.umd.js +2 -0
- package/dist/html-to-docx.umd.js.map +1 -0
- package/example/example-node.js +1636 -0
- package/example/example.js +1639 -0
- package/example/react-example/README.md +70 -0
- package/example/react-example/package-lock.json +23047 -0
- package/example/react-example/package.json +40 -0
- package/package.json +100 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-example",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@testing-library/jest-dom": "^5.11.4",
|
|
7
|
+
"@testing-library/react": "^11.1.0",
|
|
8
|
+
"@testing-library/user-event": "^12.1.10",
|
|
9
|
+
"file-saver": "^2.0.5",
|
|
10
|
+
"html-to-docx": "file:../..",
|
|
11
|
+
"react": "^17.0.2",
|
|
12
|
+
"react-dom": "^17.0.2",
|
|
13
|
+
"react-scripts": "4.0.3",
|
|
14
|
+
"web-vitals": "^1.0.1"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"start": "react-scripts start",
|
|
18
|
+
"build": "react-scripts build",
|
|
19
|
+
"test": "react-scripts test",
|
|
20
|
+
"eject": "react-scripts eject"
|
|
21
|
+
},
|
|
22
|
+
"eslintConfig": {
|
|
23
|
+
"extends": [
|
|
24
|
+
"react-app",
|
|
25
|
+
"react-app/jest"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"browserslist": {
|
|
29
|
+
"production": [
|
|
30
|
+
">0.2%",
|
|
31
|
+
"not dead",
|
|
32
|
+
"not op_mini all"
|
|
33
|
+
],
|
|
34
|
+
"development": [
|
|
35
|
+
"last 1 chrome version",
|
|
36
|
+
"last 1 firefox version",
|
|
37
|
+
"last 1 safari version"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@turbodocx/html-to-docx",
|
|
3
|
+
"version": "1.9.1",
|
|
4
|
+
"description": "HTML to DOCX converter",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"html",
|
|
7
|
+
"docx",
|
|
8
|
+
"html-to-docx",
|
|
9
|
+
"html to docx",
|
|
10
|
+
"office",
|
|
11
|
+
"word"
|
|
12
|
+
],
|
|
13
|
+
"main": "dist/html-to-docx.umd.js",
|
|
14
|
+
"module": "dist/html-to-docx.esm.js",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "npm run build && node example/example-node.js",
|
|
17
|
+
"prerelease": "rollup -c",
|
|
18
|
+
"release": "standard-version",
|
|
19
|
+
"lint": "eslint --fix .",
|
|
20
|
+
"prettier:check": "prettier --check '**/*.{js}'",
|
|
21
|
+
"validate": "run-s lint prettier:check",
|
|
22
|
+
"build": "rollup -c",
|
|
23
|
+
"prepare": "husky install"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/turbodocx/html-to-docx.git"
|
|
28
|
+
},
|
|
29
|
+
"author": "TurboDocx, Inc.",
|
|
30
|
+
"contributors": [
|
|
31
|
+
"amrita-syn <amrita.yadav@synapsica.com>",
|
|
32
|
+
"charuthaB <charutha.bhaskar@synapsica.com>",
|
|
33
|
+
"hanagejet",
|
|
34
|
+
"kurukururuu <apriansyah.fajar94@gmail.com>",
|
|
35
|
+
"erenard",
|
|
36
|
+
"KeithGillette",
|
|
37
|
+
"juralio-james",
|
|
38
|
+
"nicolasiscoding",
|
|
39
|
+
"K-Kumar-01 ",
|
|
40
|
+
"Swayamshu",
|
|
41
|
+
"zedtux <zedtux@zedroot.org>",
|
|
42
|
+
"hlerebours",
|
|
43
|
+
"hakjeri",
|
|
44
|
+
"tasola"
|
|
45
|
+
],
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/TurboDocx/html-to-docx/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/TurboDocx/html-to-docx#readme",
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@commitlint/cli": "^13.1.0",
|
|
53
|
+
"@commitlint/config-conventional": "^13.1.0",
|
|
54
|
+
"@rollup/plugin-commonjs": "^12.0.0",
|
|
55
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
56
|
+
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
57
|
+
"eslint": "^7.32.0",
|
|
58
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
59
|
+
"eslint-config-prettier": "^8.3.0",
|
|
60
|
+
"eslint-plugin-import": "^2.24.2",
|
|
61
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
62
|
+
"husky": "^7.0.0",
|
|
63
|
+
"lint-staged": "^11.1.2",
|
|
64
|
+
"prettier": "^2.4.1",
|
|
65
|
+
"rollup": "^2.62.0",
|
|
66
|
+
"rollup-plugin-cleaner": "^1.0.0",
|
|
67
|
+
"rollup-plugin-node-builtins": "^2.1.2",
|
|
68
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
69
|
+
"standard-version": "^9.3.1"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@oozcitak/util": "8.3.4",
|
|
73
|
+
"@oozcitak/dom": "1.15.6",
|
|
74
|
+
"color-name": "^1.1.4",
|
|
75
|
+
"html-entities": "^2.3.3",
|
|
76
|
+
"html-to-vdom": "^0.7.0",
|
|
77
|
+
"image-size": "^1.0.0",
|
|
78
|
+
"image-to-base64": "^2.2.0",
|
|
79
|
+
"jszip": "^3.7.1",
|
|
80
|
+
"lodash": "^4.17.21",
|
|
81
|
+
"mime-types": "^2.1.35",
|
|
82
|
+
"nanoid": "^3.1.25",
|
|
83
|
+
"virtual-dom": "^2.1.1",
|
|
84
|
+
"xmlbuilder2": "2.1.2"
|
|
85
|
+
},
|
|
86
|
+
"lint-staged": {
|
|
87
|
+
"src/**/*.js": [
|
|
88
|
+
"prettier --write",
|
|
89
|
+
"eslint --fix"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"resolutions": {
|
|
93
|
+
"@oozcitak/util": "8.3.4",
|
|
94
|
+
"@oozcitak/dom": "1.15.6"
|
|
95
|
+
},
|
|
96
|
+
"overrides": {
|
|
97
|
+
"@oozcitak/util": "8.3.4",
|
|
98
|
+
"@oozcitak/dom": "1.15.6"
|
|
99
|
+
}
|
|
100
|
+
}
|