Added Typescript and rewritten config.js into config.ts (use AI)
This commit is contained in:
+9
-3
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user