mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 05:05:44 +08:00
Introduced new interface definitions in napcat-common for logging, status, and subscription. Refactored napcat-webui-backend to use these interfaces, decoupling it from napcat-core and napcat-onebot. Moved OneBot config schema to backend and updated imports. Updated framework and shell to pass subscriptions to InitWebUi. Improved type safety and modularity across backend and shared packages.
39 lines
814 B
JSON
39 lines
814 B
JSON
{
|
|
"name": "napcat-webui-backend",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit --skipLibCheck -p tsconfig.json"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.ts"
|
|
},
|
|
"./*": {
|
|
"import": "./*"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.38",
|
|
"ajv": "^8.13.0",
|
|
"compressing": "^1.10.3",
|
|
"express": "^5.0.0",
|
|
"express-rate-limit": "^7.5.0",
|
|
"json5": "^2.2.3",
|
|
"multer": "^2.0.1",
|
|
"napcat-common": "workspace:*",
|
|
"napcat-pty": "workspace:*",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.0",
|
|
"@types/multer": "^1.4.12",
|
|
"@types/node": "^22.0.1",
|
|
"@types/ws": "^8.5.12"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
} |