chore: 删除脚本相关
Showing
... | ... | @@ -3,47 +3,22 @@ |
"version": "1.0.4", | ||
"private": true, | ||
"scripts": { | ||
"upload:scm": "cross-env PRO_ENV=scm taskName=upload yarn scripts:build", | ||
"upload:10": "cross-env PRO_ENV=10 taskName=upload yarn scripts:build", | ||
"upload:25": "cross-env PRO_ENV=25 taskName=upload yarn scripts:build", | ||
"upload:v2": "cross-env PRO_ENV=v2 taskName=upload yarn scripts:build", | ||
"upload:v2Preview": "cross-env PRO_ENV=v2Preview taskName=upload yarn scripts:build", | ||
"upload:study": "cross-env PRO_ENV=study taskName=upload yarn scripts:build", | ||
"upload:v2Test": "cross-env PRO_ENV=v2Test taskName=upload yarn scripts:build", | ||
"api": "cross-env PRO_ENV=v2 god-ytt", | ||
"api": "cross-env PRO_ENV=srm god-ytt", | ||
"start:analyze": "ANALYZE=1 umi dev", | ||
"scripts:build": "node scripts/run", | ||
"scripts:init": "node scripts/init", | ||
"scripts:build-test": "cross-env PRO_ENV=v2 node scripts/run", | ||
"start": "yarn scripts:init && yarn api && yarn scripts:build && umi dev", | ||
"start": "yarn scripts:init && yarn api && umi dev", | ||
"start:dev": "umi dev", | ||
"build": "yarn api && yarn scripts:build && yarn build:clean", | ||
"build:yxc": "yarn api && yarn scripts:build-yxc && umi build", | ||
"build:dev": "pm2 start scripts/devServer.js", | ||
"build": "yarn api && yarn build:clean", | ||
"build:analyze": "ANALYZE=1 umi build", | ||
"build:clean": "cross-env NODE_OPTIONS=--max_old_space_size=8192 umi build", | ||
"build:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn build", | ||
"build:all": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn build", | ||
"build:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 SOCKET_URL=ws://10.0.0.10:9400 yarn build", | ||
"build:v2": "cross-env PRO_ENV=v2 yarn build", | ||
"build:v2Preview": "cross-env PRO_ENV=v2Preview SITE_ID=1 BACK_GATEWAY=http://10.0.1.220:8100 SOCKET_URL=ws://10.0.1.220:9400 yarn build", | ||
"build:25": "cross-env SITE_ID=352 BACK_GATEWAY=http://10.0.0.25:8100 SOCKET_URL=ws://10.0.0.25:9400 yarn build", | ||
"build:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 SOCKET_URL=ws://10.0.1.207:9400 yarn build", | ||
"build:v2Test": "cross-env SITE_ID=1 BACK_GATEWAY=http://lx-pre-gateway.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lx-pre-gateway.shushangyun.com yarn build", | ||
"build:v2-ali-demo": "cross-env PRO_ENV=v2-ali-demo yarn build", | ||
"build:srm": "cross-env PRO_ENV=srm yarn build", | ||
"postinstall": "node scripts/init && umi generate tmp", | ||
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'", | ||
"test": "umi-test", | ||
"test:coverage": "umi-test --coverage", | ||
"start:cross": "cross-env SITE_ID=352 SOCKET_URL=ws://10.0.0.25:9400 yarn start", | ||
"start:cross-dev": "cross-env SITE_ID=352 SOCKET_URL=ws://10.0.0.25:9400 yarn start:dev", | ||
"start:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 SOCKET_URL=ws://10.0.0.10:9400 yarn start", | ||
"start:25": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.25:8100 SOCKET_URL=ws://10.0.0.25:9400 yarn start", | ||
"start:v2": "cross-env PRO_ENV=v2 yarn start", | ||
"start:v2Preview": "cross-env PRO_ENV=v2Preview yarn start", | ||
"start:v2Test": "cross-env SITE_ID=1 BACK_GATEWAY=http://lx-pre-gateway.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lx-pre-gateway.shushangyun.com yarn start", | ||
"start:scm": "cross-env BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com SITE_ID=1 yarn start", | ||
"start:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 SOCKET_URL=ws://10.0.1.207:9400 yarn start" | ||
"start:srm": "cross-env PRO_ENV=srm yarn start" | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,less,md,json}": [ | ||
... | ... | @@ -93,20 +68,13 @@ |
"yorkie": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@linkseeks/god-upload-scp": "^1.0.0", | ||
"@linkseeks/god-yapi2ts": "^1.0.0", | ||
"@svgr/webpack": "^5.5.0", | ||
"@types/sortablejs": "^1.10.6", | ||
"async": "^3.2.0", | ||
"axios": "^0.19.2", | ||
"case-sensitive-paths-webpack-plugin": "^2.4.0", | ||
"connect-history-api-fallback": "^1.6.0", | ||
"cross-env": "^7.0.2", | ||
"express": "^4.17.1", | ||
"gulp": "^4.0.2", | ||
"http-proxy-middleware": "^1.0.5", | ||
"json2ts": "^0.0.7", | ||
"ora": "^4.0.4", | ||
"typescript": "^3.9.7" | ||
} | ||
} |
scripts/build.js
deleted
100644 → 0
scripts/devServer.js
deleted
100644 → 0
scripts/gulpfile.js
deleted
100644 → 0
scripts/init.js
deleted
100644 → 0
scripts/run.js
deleted
100644 → 0
scripts/utils/log.js
deleted
100644 → 0
Please
register
or
sign in
to comment