mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 06:31:13 +00:00
Added the new napcat-protocol package with protocol config, event, API, and network management modules. Introduced napcat-adapter package to unify protocol adapter management, replacing direct OneBot usage in framework and shell. Updated napcat-framework and napcat-shell to use NapCatAdapterManager for protocol initialization and registration. Adjusted dependencies and Vite configs to include new packages.
34 lines
724 B
JSON
34 lines
724 B
JSON
{
|
|
"name": "napcat-shell",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:dev": "vite build --mode development",
|
|
"typecheck": "tsc --noEmit --skipLibCheck -p tsconfig.json"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.ts"
|
|
},
|
|
"./*": {
|
|
"import": "./*"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"napcat-core": "workspace:*",
|
|
"napcat-common": "workspace:*",
|
|
"napcat-adapter": "workspace:*",
|
|
"napcat-webui-backend": "workspace:*",
|
|
"napcat-qrcode": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.1",
|
|
"napcat-vite": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
} |