mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 13:10:16 +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.
34 lines
825 B
JSON
34 lines
825 B
JSON
{
|
|
"name": "napcat-shell",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:dev": "vite build --mode development",
|
|
"typecheck": "tsc --noEmit --skipLibCheck -p tsconfig.json"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.ts"
|
|
},
|
|
"./*": {
|
|
"import": "./*"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"napcat-core": "workspace:*",
|
|
"napcat-common": "workspace:*",
|
|
"napcat-onebot": "workspace:*",
|
|
"napcat-webui-backend": "workspace:*",
|
|
"napcat-qrcode": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.1",
|
|
"napcat-vite": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
} |