NapCatQQ/packages/napcat-schema/package.json
手瓜一十雪 613690f5af Fix build:openapi script to use sequential commands
Replaces '&' with '&&' in the build:openapi script to ensure that 'node ./dist/schemas.mjs' runs only after 'vite build' completes successfully.
2026-01-27 20:34:21 +08:00

20 lines
430 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"
}
}