NapCatQQ/packages/napcat-schema/package.json
手瓜一十雪 7b9c42cfca Update napcat-schema build and OpenAPI version
Renamed the build script from build:schema to build:openapi in napcat-schema and updated the workflow to use the new script. Changed OpenAPI version from 3.1.0 to 3.0.1 in the schema generator. Added napcat-vite as a dependency and integrated its version plugin into the Vite config.
2026-01-27 15:23:12 +08:00

20 lines
429 B
JSON

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