feat: 实现 Sub2API 每日抽奖与排行榜

This commit is contained in:
root
2026-07-13 06:24:58 +02:00
commit 3ec8f3d2d6
22 changed files with 1652 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "sub2rank",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"cli": "bun scripts/sub2rank-cli.ts --config config/sub2rank.yaml",
"server": "bun src/server.ts --config config/sub2rank.yaml --runtime k8s",
"check": "bunx tsc --noEmit"
},
"dependencies": {
"luxon": "^3.7.2",
"yaml": "^2.8.1"
},
"devDependencies": {
"@types/bun": "^1.2.21",
"@types/luxon": "^3.7.1",
"typescript": "^5.9.2"
}
}