feat: add Feishu notifier for message notifications
- Implemented a lightweight notification library with support for multiple channels. - Added FeishuNotifier class to send messages via Feishu webhook. - Created README documentation for usage and configuration of Feishu notifier. - Added TypeScript configuration for the project. - Included a test script for verifying Feishu message notifications.
This commit is contained in:
47
package.json
Normal file
47
package.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "@kevisual/notifier",
|
||||
"version": "0.0.2",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"basename": "/root/notifier",
|
||||
"app": {
|
||||
"type": "system-app",
|
||||
"entry": "app.js",
|
||||
"runtime": [
|
||||
"server"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun --watch src/main.ts ",
|
||||
"build": "pnpm run clean && bun run bun.config.mjs",
|
||||
"postbuild": "ev pack",
|
||||
"compile": "bun build --compile ./src/main.ts --outfile router-template",
|
||||
"compile:win": "bun build --compile ./src/main.ts --target=bun-windows-x64 --outfile router-template.exe",
|
||||
"clean": "rm -rf dist && rimraf pack-dist",
|
||||
"pub": "envision pack -p -u"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src"
|
||||
],
|
||||
"keywords": [],
|
||||
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@10.27.0",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"dayjs": "^1.11.19",
|
||||
"es-toolkit": "^1.43.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kevisual/types": "^0.0.10",
|
||||
"@types/bun": "^1.3.5",
|
||||
"@types/node": "^25.0.3"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user