fix: replace winston with pino

This commit is contained in:
2025-01-08 12:33:27 +01:00
parent 990e7b1dbe
commit 203eb0e3ec
3 changed files with 23 additions and 16 deletions

View File

@@ -2,7 +2,8 @@
"scripts": {
"build": "bun build --minify --target bun --outdir dist --sourcemap src/app.ts",
"check:code": "eslint src/ --ext .ts",
"check:spell": "cspell --config cspell.code.json **/*.ts"
"check:spell": "cspell --config cspell.code.json **/*.ts",
"start": "bun run src/app.ts"
},
"devDependencies": {
"@types/ts3-nodejs-library": "^2.0.1",
@@ -16,8 +17,9 @@
"dependencies": {
"env-var": "^7.5.0",
"gotify": "^1.1.0",
"ts3-nodejs-library": "^3.4.1",
"winston": "^3.8.2"
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"ts3-nodejs-library": "^3.4.1"
},
"name": "ts3gotify",
"module": "src/app.ts",