自动化构建
Showing
env.js
0 → 100644
... | ... | @@ -3,6 +3,8 @@ |
"version": "1.0.4", | ||
"private": true, | ||
"scripts": { | ||
"upload:scm": "cross-env local=scm taskName=upload yarn scripts:build", | ||
"upload:10": "cross-env local=10 taskName=upload yarn scripts:build", | ||
"api": "god-ytt", | ||
"start:analyze": "ANALYZE=1 umi dev", | ||
"scripts:build": "node scripts/run", | ||
... | ... | @@ -14,6 +16,8 @@ |
"build:dev": "pm2 start scripts/devServer.js", | ||
"build:analyze": "ANALYZE=1 umi build", | ||
"build:clean": "umi build", | ||
"build:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com yarn build", | ||
"build:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 yarn build", | ||
"postinstall": "umi generate tmp", | ||
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'", | ||
"test": "umi-test", | ||
... | ... | @@ -68,6 +72,7 @@ |
"connect-history-api-fallback": "^1.6.0", | ||
"cross-env": "^7.0.2", | ||
"express": "^4.17.1", | ||
"god-upload-scp": "1.2.0", | ||
"god-yapi2ts": "^1.6.0", | ||
"gulp": "^4.0.2", | ||
"http-proxy-middleware": "^1.0.5", | ||
... | ... |
scripts/build.js
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment