feat: 添加环境配置文件,更新.gitignore以排除dist-test目录,新增构建和预览测试脚本

This commit is contained in:
2026-01-15 00:57:35 +07:00
parent b09e92488b
commit 87782ad55d
4 changed files with 88 additions and 80 deletions

View File

@@ -14,6 +14,8 @@
"deploy:cloudflare": "wrangler pages deploy dist --project-name=riwa --branch=main",
"test:e2e": "cypress run",
"test:unit": "vitest",
"test:build": "vite build -m test --outDir dist-test",
"test:preview": "vite preview --port 6173 -m test --outDir dist-test",
"lint": "eslint",
"lint:fix": "eslint --fix"
},