discord2html 1.0.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 ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "discord2html",
3
+ "version": "1.0.0",
4
+ "description": "Generate styled HTML transcripts from Discord channel message history. Fork of discord-html-transcripts with bug fixes, Components V2 support, and dual CJS/ESM output.",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./dist/index.d.mts",
12
+ "default": "./dist/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ }
19
+ },
20
+ "homepage": "https://github.com/devjoseh/discord2html",
21
+ "scripts": {
22
+ "test": "echo \"Error: no test specified\" && exit 1",
23
+ "build": "tsup",
24
+ "prepack": "npm run build",
25
+ "test:typescript": "ts-node ./tests/generate.ts",
26
+ "test:send-components-v2": "ts-node ./tests/components-v2-send.ts",
27
+ "lint": "prettier --write --cache . && eslint --cache --fix .",
28
+ "typecheck": "tsc -p tsconfig.eslint.json --noEmit"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/devjoseh/discord2html.git"
33
+ },
34
+ "keywords": [
35
+ "discord.js",
36
+ "discord",
37
+ "transcript",
38
+ "html-transcript",
39
+ "discord2html",
40
+ "discord-html-transcripts",
41
+ "discord-transcripts"
42
+ ],
43
+ "author": "José Hernanes <devjoseh@gmail.com>",
44
+ "license": "Apache-2.0",
45
+ "files": [
46
+ "dist/"
47
+ ],
48
+ "devDependencies": {
49
+ "@eslint/eslintrc": "^3.3.1",
50
+ "@eslint/js": "^9.35.0",
51
+ "@types/debug": "^4.1.12",
52
+ "@types/node": "^24.3.1",
53
+ "@types/react": "^19.1.12",
54
+ "@types/react-dom": "^19.1.9",
55
+ "@typescript-eslint/eslint-plugin": "^8.43.0",
56
+ "@typescript-eslint/parser": "^8.43.0",
57
+ "discord.js": "^14.22.1",
58
+ "dotenv": "^17.2.2",
59
+ "eslint": "^9.35.0",
60
+ "globals": "^16.4.0",
61
+ "husky": "^9.1.7",
62
+ "prettier": "^3.6.2",
63
+ "pretty-quick": "^4.2.2",
64
+ "sharp": "^0.34.3",
65
+ "ts-node": "^10.9.2",
66
+ "tsup": "^8.5.1",
67
+ "typescript": "^5.9.2"
68
+ },
69
+ "dependencies": {
70
+ "@derockdev/discord-components-core": "^3.6.1",
71
+ "@derockdev/discord-components-react": "^3.6.1",
72
+ "debug": "^4.4.1",
73
+ "discord-markdown-parser": "~1.3.1",
74
+ "react": "19.2.4",
75
+ "react-dom": "19.2.4",
76
+ "simple-markdown": "^0.7.3",
77
+ "twemoji": "^14.0.2",
78
+ "undici": "^7.15.0"
79
+ },
80
+ "peerDependencies": {
81
+ "discord.js": "^14.0.0 || ^15.0.0"
82
+ },
83
+ "overrides": {
84
+ "react": "19.2.4",
85
+ "react-dom": "19.2.4"
86
+ }
87
+ }