feat: 添加环境配置文件,更新.gitignore以排除dist-test目录,新增构建和预览测试脚本
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user