Files
zclaw_openfang/package.json
iven 1d831fb286 test: configure Vitest testing framework
- Add vitest, @testing-library/react, @vitest/ui, jsdom dependencies
- Create vitest.config.ts with jsdom environment and coverage settings
- Add tests/setup.ts with localStorage mock and crypto mock
- Add tests/gateway/ws-client.test.ts for GatewayClient unit tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 00:48:58 +08:00

42 lines
998 B
JSON

{
"name": "zclaw",
"version": "0.2.0",
"description": "ZCLAW - OpenClaw customization with Tauri desktop, Chinese model providers, and Feishu integration",
"main": "dist/gateway/index.js",
"scripts": {
"dev": "tsx watch src/gateway/index.ts",
"build": "tsc",
"setup": "tsx scripts/setup.ts",
"test": "jest",
"gateway:start": "openclaw gateway",
"gateway:status": "openclaw status",
"gateway:doctor": "openclaw doctor"
},
"keywords": [
"ai",
"agent",
"openclaw",
"tauri",
"feishu",
"chinese-models"
],
"author": "ZCLAW Team",
"license": "MIT",
"dependencies": {
"ws": "^8.16.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^20.11.0",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/ui": "^4.0.18",
"jest": "^29.7.0",
"jsdom": "^28.1.0",
"tsx": "^4.7.0",
"typescript": "^5.3.0",
"vitest": "^4.0.18"
}
}