refactor(project): 全面清理项目代码并重命名项目
- 移除无用文件和空文件夹,清理 effects 和 scripts 目录 - 将项目从 ruixin-website-react 重命名为 novalon-website-react - 修复所有测试用例,确保 731 个测试全部通过 - 优化组件导入路径和测试 mock 设置 - 更新项目配置文件和依赖管理 关联任务:项目清理与重构
This commit is contained in:
+1
-8
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "ruixin-website-react",
|
||||
"name": "novalon-website-react",
|
||||
"version": "1.0.0-phase1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -20,19 +20,12 @@
|
||||
"test:stress": "k6 run tests/performance/stress-test.js",
|
||||
"check:contrast": "tsx scripts/utils/check-color-contrast.ts",
|
||||
"check:headings": "tsx scripts/utils/check-heading-hierarchy.ts",
|
||||
"audit:performance": "node scripts/performance-audit.js",
|
||||
"audit:seo": "node scripts/seo-check.js",
|
||||
"audit:accessibility": "node scripts/accessibility-test.js",
|
||||
"audit:forms": "node scripts/form-validation.js",
|
||||
"audit:all": "./scripts/run-all-tests.sh",
|
||||
"report:generate": "node scripts/generate-test-report.js",
|
||||
"lighthouse": "lhci autorun",
|
||||
"lighthouse:collect": "lhci collect",
|
||||
"lighthouse:assert": "lhci assert",
|
||||
"lighthouse:upload": "lhci upload",
|
||||
"lighthouse:desktop": "lhci autorun --settings.preset=desktop",
|
||||
"lighthouse:mobile": "lhci autorun --settings.preset=mobile",
|
||||
"clean:tests": "bash scripts/maintenance/clean-test-files.sh",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user