mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Replaces '&' with '&&' in the build:openapi script to ensure that 'node ./dist/schemas.mjs' runs only after 'vite build' completes successfully.
20 lines
430 B
JSON
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"
|
|
}
|
|
} |