Added Typescript and rewritten config.js into config.ts (use AI)

This commit is contained in:
2026-09-23 16:50:29 +02:00
parent 53160b3ea4
commit 1ecb44faa8
7 changed files with 353 additions and 100 deletions
+9 -3
View File
@@ -6,10 +6,12 @@
"engines": {
"node": ">=22"
},
"scripts": {
"scripts": {
"start": "node server.js",
"dev": "node --watch server.js",
"lint": "node scripts/lint.mjs",
"lint": "eslint .",
"typecheck": "tsc --noEmit && tsc --noEmit -p public",
"check": "npm run lint && npm run typecheck",
"test": "node --test"
},
"dependencies": {
@@ -25,7 +27,11 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.6.2",
"eslint": "^10.11.0",
"globals": "^17.12.0"
"eslint-plugin-jsdoc": "^64.5.4",
"globals": "^17.12.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.70.1"
}
}