Scaffold TypeScript project and add core logger

This commit is contained in:
2026-08-12 20:50:40 +02:00
parent abfbc1e2da
commit a9a8fa7c3f
9 changed files with 3116 additions and 0 deletions

36
package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "sugarr",
"version": "0.1.0",
"private": true,
"main": "dist/app/index.js",
"scripts": {
"dev": "tsx watch src/app/index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/app/index.js",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src test --ext .ts",
"format": "prettier --write ."
},
"dependencies": {
"dotenv": "^16.4.5",
"fastify": "^5.0.0",
"langfuse": "^3.30.0",
"node-cron": "^3.0.3",
"openai": "^4.60.0",
"pino": "^9.4.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.7.4",
"@types/node-cron": "^3.0.11",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"eslint": "^8.57.0",
"pino-pretty": "^11.2.2",
"prettier": "^3.3.3",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
}
}