- 新增 ESLint 和 Prettier 配置文件 - 配置代码规范:4空格缩进、单引号、无分号 - 更新文档:README.md 和 CLAUDE.md - 格式化所有前端代码 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
593 B
JSON
19 lines
593 B
JSON
{
|
|
"name": "upx-gui",
|
|
"version": "1.0.0",
|
|
"description": "UPX 可视化加壳/脱壳工具",
|
|
"scripts": {
|
|
"lint": "eslint \"ui/**/*.{js,html}\" --max-warnings 0",
|
|
"lint:fix": "eslint \"ui/**/*.{js,html}\" --fix",
|
|
"format": "prettier --write \"ui/**/*.{js,html,css}\"",
|
|
"format:check": "prettier --check \"ui/**/*.{js,html,css}\"",
|
|
"check": "npm run lint && npm run format:check"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-html": "^8.1.1",
|
|
"prettier": "^3.3.3"
|
|
},
|
|
"private": true
|
|
}
|