Some checks failed
Build Server / Compile DLL (push) Failing after 1m54s
- 在项目依赖中添加了@hono/zod-validator和zod包。 - 添加依赖库"@hono/zod-validator"和"zod"以增强数据验证功能。 - 添加了请求验证以确保提供了有效的图像文件。
26 lines
511 B
JSON
26 lines
511 B
JSON
{
|
|
"name": "wxocr",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint --fix",
|
|
"start": "bun run src/index.ts"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@hono/zod-validator": "^0.7.1",
|
|
"hono": "^4.8.4",
|
|
"zod": "^4.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^4.16.2",
|
|
"@types/bun": "^1.2.18",
|
|
"eslint": "^9.30.1",
|
|
"eslint-plugin-format": "^1.0.1",
|
|
"jiti": "^2.4.2"
|
|
}
|
|
}
|