reorganizage du projet et mise en place d'un vrai build

This commit is contained in:
Puechberty Arthur
2026-04-13 19:42:38 +02:00
parent 0f82c7e287
commit 3eb23eb27a
30 changed files with 823 additions and 307 deletions
+4 -4
View File
@@ -8,12 +8,11 @@
},
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc -p tsconfig.json",
"build": "npm run typecheck && node scripts/build.mjs",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --import tsx --test src/**/*.test.ts",
"test": "node --import tsx --test tests/**/*.test.ts",
"check": "npm run typecheck && npm run test",
"start": "node dist/index.js",
"deploy:commands": "tsx src/scripts/deployCommands.ts"
"start": "node build/index.js"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.97",
@@ -25,6 +24,7 @@
"devDependencies": {
"@types/node": "20.17.24",
"@types/pg": "^8.20.0",
"esbuild": "^0.25.12",
"tsx": "4.19.2",
"typescript": "5.8.2"
}