1
0
Files
DiAL/package.json
lanyuanxiaoyao f723ecb1b5 chore: 清理项目冗余文件和构建中间产物
删除根目录 index.ts(与 start 脚本重复)、移除 package.json 中无效的 module 字段、构建成功后自动清理 .build/ 目录
2026-05-09 15:21:42 +08:00

40 lines
1.2 KiB
JSON

{
"name": "gateway-checker",
"type": "module",
"private": true,
"scripts": {
"dev": "bun run scripts/dev.ts",
"dev:server": "bun --watch src/server/dev.ts",
"dev:web": "bunx --bun vite --host 127.0.0.1",
"build:web": "bunx --bun vite build",
"build": "bun run scripts/build.ts",
"start": "bun src/server/dev.ts",
"lint": "eslint .",
"format": "prettier . --write",
"format:check": "prettier . --check",
"check": "bun run typecheck && bun run lint && bun run format:check && bun test",
"verify": "bun run check && bun run build && bun run test:smoke",
"test": "bun test",
"test:smoke": "bun run scripts/smoke.ts",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/bun": "^1.3.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"eslint": "^10.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"prettier": "^3.8.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2",
"vite": "^8.0.11"
},
"dependencies": {
"react": "^19.2.6",
"react-dom": "^19.2.6"
}
}