mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 20:30:08 +08:00
Introduces a 'build🐚dev' script for development builds and updates napcat-shell's Vite config to conditionally enable source maps in development mode. This enhances build flexibility for development and production environments.
26 lines
857 B
JSON
26 lines
857 B
JSON
{
|
|
"name": "napcat",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"build:shell": "pnpm --filter napcat-shell run build || exit 1",
|
|
"build:shell:dev": "pnpm --filter napcat-shell run build:dev || exit 1",
|
|
"build:framework": "pnpm --filter napcat-framework run build || exit 1",
|
|
"build:webui": "pnpm --filter napcat-webui-frontend run build || exit 1",
|
|
"dev:shell": "pnpm --filter napcat-develop run dev || exit 1",
|
|
"typecheck": "pnpm -w -r --filter napcat-shell --filter napcat-framework run typecheck"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^6.4.1",
|
|
"vite-plugin-cp": "^6.0.3"
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.0.0",
|
|
"silk-wasm": "^3.6.1",
|
|
"ws": "^8.18.3"
|
|
}
|
|
} |