This commit is contained in:
2025-11-24 18:58:32 +08:00
parent 8b9fdb706f
commit a2cee7c27a
28 changed files with 931 additions and 81 deletions

View File

@@ -3,12 +3,27 @@
"version": "0.0.1",
"description": "",
"main": "index.js",
"basename": "/root/daily-question-server",
"app": {
"type": "system-app",
"key": "daily-question-server",
"entry": "app.js",
"runtime": [
"server"
]
},
"files": [
"dist"
],
"scripts": {
"dev": "bun --watch src/main.ts ",
"build": "rimraf dist && bun run bun.config.mjs",
"compile": "bun build --compile ./src/main.ts --outfile myapp",
"compile:win": "bun build --compile ./src/main.ts --target=bun-windows-x64 --outfile myapp.exe",
"build": "rimraf dist && rimraf pack-dist && bun run bun.config.mjs",
"postbuild": "ev pack",
"compile": "bun build --compile ./src/main.ts --outfile daily-question",
"compile:win": "bun build --compile ./src/main.ts --target=bun-windows-x64 --outfile daily-question.exe",
"postcompile:win": "bun zip.ts",
"clean": "rm -rf dist",
"sc": "rimraf *.zip && rimraf *.exe",
"pub": "envision pack -p -u"
},
"keywords": [],
@@ -18,7 +33,7 @@
"type": "module",
"dependencies": {
"@kevisual/ai": "^0.0.12",
"@kevisual/local-proxy": "^0.0.6",
"@kevisual/local-proxy": "^0.0.8",
"@kevisual/query": "^0.0.29",
"@kevisual/router": "0.0.33",
"@kevisual/use-config": "^1.0.21",
@@ -34,6 +49,7 @@
"@types/better-sqlite3": "^7.6.13",
"@types/bun": "^1.3.3",
"@types/node": "^24.10.1",
"archiver": "^7.0.1",
"drizzle-kit": "^0.31.7"
}
}