* 新增 TrashItemInfo 组件以优化回收站列表项展示 * 封装 trashPresentation 工具类处理时间显示逻辑 * 调整 TrashView 布局,重构列表项渲染逻辑 * 新增回收站功能相关的集成测试与单元测试 * 更新测试文档以说明回收站日期格式化测试规则 * 更新 package.json 依赖配置
64 lines
2.2 KiB
JSON
64 lines
2.2 KiB
JSON
{
|
|
"name": "filecodeboxfronted",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"test:trash": "node --experimental-strip-types --test tests/trashPresentation.test.mjs tests/trashPresentation.integration.test.mjs",
|
|
"test:trash:coverage": "node --experimental-strip-types --test --experimental-test-coverage --test-coverage-include=src/utils/trashPresentation.ts tests/trashPresentation.test.mjs",
|
|
"test:motion": "node --experimental-strip-types --test tests/detailMotion.test.mjs",
|
|
"test:motion:coverage": "node --experimental-strip-types --test --experimental-test-coverage --test-coverage-include=src/utils/detailMotion.ts tests/detailMotion.test.mjs",
|
|
"build": "run-s check:architecture type-check build-only",
|
|
"preview": "vite preview",
|
|
"build-only": "vite build",
|
|
"type-check": "vue-tsc --build --force",
|
|
"check:architecture": "node scripts/check-architecture.mjs",
|
|
"lint": "eslint . --fix",
|
|
"format": "prettier --write src/"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"axios": "^1.13.2",
|
|
"dompurify": "^3.2.6",
|
|
"file-saver": "^2.0.5",
|
|
"jszip": "3.10.1",
|
|
"lru-cache": "^11.1.0",
|
|
"lucide-vue-next": "^0.535.0",
|
|
"marked": "^16.1.1",
|
|
"pinia": "^3.0.3",
|
|
"qrcode.vue": "^3.6.0",
|
|
"spark-md5": "^3.0.2",
|
|
"vue": "^3.5.18",
|
|
"vue-i18n": "9",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/config-array": "^0.21.0",
|
|
"@eslint/js": "^9.39.2",
|
|
"@eslint/object-schema": "^2.1.6",
|
|
"@rushstack/eslint-patch": "^1.12.0",
|
|
"@tsconfig/node20": "^20.1.6",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/node": "^24.1.0",
|
|
"@types/spark-md5": "^3.0.5",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-vue": "^10.4.0",
|
|
"glob": "^13.0.0",
|
|
"npm-run-all2": "^8.0.4",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.6.2",
|
|
"rimraf": "^6.0.1",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "~5.8.3",
|
|
"vite": "^7.3.0",
|
|
"vue-tsc": "^3.0.4"
|
|
}
|
|
}
|