mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 20:30:08 +08:00
Introduces the napcat-test package with initial SHA-1 stream tests, configuration files, and scripts for running tests. Updates root package.json to include test commands and Vitest dependencies, and adds Vitest configuration at the root and package level for test environment setup.
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
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 -r --if-present run typecheck",
|
|
"test": "pnpm --filter napcat-test run test",
|
|
"test:ui": "pnpm --filter napcat-test run test:ui"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
"@vitest/ui": "^4.0.9",
|
|
"inversify": "^7.10.4",
|
|
"reflect-metadata": "^0.2.2",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^6.4.1",
|
|
"vite-plugin-cp": "^6.0.3",
|
|
"vitest": "^4.0.9"
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.0.0",
|
|
"silk-wasm": "^3.6.1",
|
|
"ws": "^8.18.3"
|
|
}
|
|
} |