NapCatQQ/packages/napcat-schema/package.json
手瓜一十雪 8f1dc3fdde Add napcat-schema package for OpenAPI generation
Introduces the napcat-schema package with scripts and configuration to auto-generate OpenAPI schemas for NapCat OneBot 11 actions. Refactors action handler export in napcat-onebot to support schema extraction.
2026-01-25 17:12:25 +08:00

19 lines
383 B
JSON

{
"name": "napcat-schema",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "index.ts",
"scripts": {
"generate:openapi": "node ./dist/schemas.mjs",
"build:schema": "vite build"
},
"dependencies": {
"@sinclair/typebox": "^0.34.38",
"napcat-onebot": "workspace:*"
},
"devDependencies": {
"tsx": "^4.7.1",
"vite": "^6.0.0"
}
}