1
0

refactor: Rewrite to typescript
All checks were successful
Remote Deploy / deploy (push) Successful in 14s

This commit is contained in:
2026-02-11 08:20:56 +01:00
parent 138fa17e54
commit ae17dc241a
14 changed files with 941 additions and 121 deletions

View File

@@ -7,9 +7,10 @@
"type": "module",
"main": "server.js",
"scripts": {
"test": "node tests/test.js",
"start": "concurrently \"node server.js\" \"node cron-runner.js\"",
"build": "cd web && hugo --gc --minify",
"test": "tsx tests/test.ts",
"start": "concurrently \"NODE_ENV=development tsx server.ts\" \"NODE_ENV=development tsx cron-runner.ts\"",
"build": "tsc && cd web && hugo --gc --minify",
"serve": "concurrently \"node dist/server.js\" \"node dist/cron-runner.js\"",
"dev-web": "cd web && hugo serve"
},
"dependencies": {
@@ -24,5 +25,16 @@
"node-cron": "^4.2.1",
"puppeteer": "^24.10.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/body-parser": "^1.19.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jszip": "^3.4.0",
"@types/node": "^25.2.3",
"@types/node-cron": "^3.0.11",
"@types/xml2js": "^0.4.14",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}