feat: 自动化部署代码初步提交

This commit is contained in:
zdl
2025-10-22 11:02:39 +08:00
parent 23188d5690
commit cc210f9fda
9 changed files with 1777 additions and 2 deletions

View File

@@ -97,7 +97,9 @@
"build:analyze": "NODE_OPTIONS='--openssl-legacy-provider --max_old_space_size=4096' ANALYZE=true craco build",
"test": "craco test --env=jsdom",
"eject": "react-scripts eject",
"deploy": "npm run build",
"deploy": "bash scripts/deploy-from-local.sh",
"deploy:setup": "bash scripts/setup-deployment.sh",
"rollback": "bash scripts/rollback-from-local.sh",
"lint:check": "eslint . --ext=js,jsx; exit 0",
"lint:fix": "eslint . --ext=js,jsx --fix; exit 0",
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start"