Files
wechat-ocr-server/package.json
imbytecat a6bfd32885
All checks were successful
Build Server / Compile DLL (push) Successful in 1m25s
chore: 配置ESLint并优化依赖与代码规范
- 在 VSCode 配置中禁用默认格式化工具并使用 ESLint 进行自动修复和代码验证。
- 添加和更新包依赖以增强代码格式化功能。
- 添加新的eslint配置文件以启用antfu规则集并自定义特定代码规范。
- 新增eslint修复脚本和格式化插件,并调整typescript为peer依赖。
- 通过优化导入语法和字符串处理方式,增强代码可读性和性能。
2025-07-07 23:39:03 +08:00

21 lines
407 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"
},
"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"
}
}