@suphark/notify 0.3.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/LICENSE +21 -0
- package/README.md +200 -0
- package/dist/index.d.ts +564 -0
- package/dist/index.js +1062 -0
- package/package.json +64 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@suphark/notify",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "ส่งอีเมล + แจ้งเตือน Telegram ผ่าน Pi Notify hub (notify.suphark.com) หรือส่งอีเมลตรงไป Resend/SMTP/Zoho/ZeptoMail ใน API เดียว พร้อม failover อัตโนมัติ",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=20"
|
|
21
|
+
},
|
|
22
|
+
"packageManager": "pnpm@12.4.1",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsup",
|
|
25
|
+
"dev": "tsup --watch",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"test:watch": "vitest",
|
|
29
|
+
"verify": "pnpm typecheck && pnpm test && pnpm build",
|
|
30
|
+
"send:test": "node --env-file-if-exists=.env scripts/send-test.mjs",
|
|
31
|
+
"prepack": "pnpm run build"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"nodemailer": "^10.0.9"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@biomejs/biome": "^2.5.13",
|
|
38
|
+
"@types/node": "^24.13.4",
|
|
39
|
+
"@types/nodemailer": "^8.0.1",
|
|
40
|
+
"tsup": "^8.5.1",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"vitest": "^4.1.11",
|
|
43
|
+
"@pi/config": "workspace:*"
|
|
44
|
+
},
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/suphark/notify",
|
|
49
|
+
"directory": "packages/notify"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"email",
|
|
53
|
+
"mailer",
|
|
54
|
+
"resend",
|
|
55
|
+
"smtp",
|
|
56
|
+
"nodemailer",
|
|
57
|
+
"zoho",
|
|
58
|
+
"zeptomail",
|
|
59
|
+
"failover",
|
|
60
|
+
"telegram",
|
|
61
|
+
"notify",
|
|
62
|
+
"notification"
|
|
63
|
+
]
|
|
64
|
+
}
|