- CLAUDE.md: 新增 SW 规则第 10 条摘要 - CODING_RULES.md: 详细规则包含 3 个错误/正确示例 - subscribe 回调需从 response.data 提取数据 - handler 必须返回响应避免发送方超时 - 客户端需先发 SW_CHANNEL_CONNECT 让 SW 创建 channel
22 lines
515 B
JSON
22 lines
515 B
JSON
{
|
|
"name": "@aitu/utils",
|
|
"version": "0.0.1",
|
|
"description": "Shared utility functions for Opentu project",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"private": false,
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "eslint src --ext .ts,.tsx",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"vite": "^6.4.1",
|
|
"vite-plugin-dts": "^4.3.0"
|
|
}
|
|
}
|