chore: 删除环境相关配置
Showing
... | ... | @@ -2,54 +2,21 @@ |
"name": "lingxi-business-paltform", | ||
"version": "1.0.4", | ||
"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:study": "cross-env PRO_ENV=study 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:v2-demo": "cross-env PRO_ENV=v2-demo taskName=upload yarn scripts:build", | ||
"upload:v2scm": "cross-env PRO_ENV=v2scm taskName=upload yarn scripts:build", | ||
"upload:v2Test": "cross-env PRO_ENV=v2Test taskName=upload yarn scripts:build", | ||
"api": "god-ytt", | ||
"testApi": "cross-env PRO_ENV=v2 god-ytt", | ||
"scripts:build": "node scripts/run", | ||
"scripts:build-test": "cross-env PRO_ENV=v2 node scripts/run", | ||
"start:dev": "cross-env NODE_OPTIONS=--max_old_space_size=4096 umi dev", | ||
"start:analyze": "ANALYZE=1 umi dev", | ||
"clean": "rimraf node_modules", | ||
"start": "yarn api && yarn scripts:build && cross-env NODE_OPTIONS=--max_old_space_size=4096 UMI_ENV=local umi dev", | ||
"start": "yarn api && cross-env NODE_OPTIONS=--max_old_space_size=4096 UMI_ENV=local umi dev", | ||
"start-noApi": "yarn scripts:build && cross-env NODE_OPTIONS=--max_old_space_size=4096 UMI_ENV=local umi dev", | ||
"build": "yarn && yarn api && yarn scripts:build && yarn build:clean", | ||
"build-noApi": "yarn scripts:build && yarn build:clean", | ||
"build:yxc": "yarn api && yarn scripts:build-yxc && umi build", | ||
"build:analyze": "cross-env NODE_OPTIONS=--max_old_space_size=16384 ANALYZE=1 UMI_ENV=prod umi build", | ||
"build:dev": "pm2 start scripts/devServer.js", | ||
"build": "yarn && yarn api && yarn build:clean", | ||
"build:clean": "cross-env NODE_OPTIONS=--max_old_space_size=16384 UMI_ENV=prod umi build", | ||
"build:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false 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 USE_ROUTE_CONFIG=false 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 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.0.10:9400 yarn build", | ||
"build:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn build", | ||
"build:v2": "cross-env PRO_ENV=v2 yarn build", | ||
"build:v2Preview": "cross-env PRO_ENV=v2Preview yarn build", | ||
"build:v2scm": "cross-env PRO_ENV=v2scm yarn build", | ||
"build:v2-demo": "cross-env PRO_ENV=v2-demo yarn build", | ||
"build:v2-ali-demo": "cross-env PRO_ENV=v2-ali-demo 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: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 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.0.25:9400 yarn start", | ||
"start:scm": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-scm.wg.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lingxi-scm.wg.shushangyun.com yarn start", | ||
"start:url": "cross-env SITE_ID=1 BACK_GATEWAY=http://lingxi-all.wg.shushangyun.com USE_ROUTE_CONFIG=true SOCKET_URL=ws://lingxi-all.wg.shushangyun.com yarn start", | ||
"start:10": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.10:9400 yarn start", | ||
"start:study": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 USE_ROUTE_CONFIG=false SOCKET_URL=ws://10.0.1.207:9400 yarn start", | ||
"start:25": "cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.25:8100 USE_ROUTE_CONFIG=true SOCKET_URL=ws://10.0.0.25:9400 yarn start", | ||
"start:v2": "cross-env PRO_ENV=v2 yarn start", | ||
"start-noApi:v2": "cross-env PRO_ENV=v2 yarn start-noApi", | ||
"start:v2Preview": "cross-env PRO_ENV=v2Preview yarn start", | ||
"start:v2scm": "cross-env PRO_ENV=v2scm yarn start" | ||
"start:srm": "cross-env PRO_ENV=srm yarn start" | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,less,md,json}": [ | ||
... | ... | @@ -121,35 +88,19 @@ |
"yorkie": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@linkseeks/god-upload-scp": "^1.0.0", | ||
"@linkseeks/god-yapi2ts": "^1.0.0", | ||
"@svgr/webpack": "^5.5.0", | ||
"@types/lodash": "^4.14.177", | ||
"@types/qrcode": "^1.3.4", | ||
"@types/sortablejs": "^1.10.6", | ||
"async": "^3.2.0", | ||
"axios": "^0.19.2", | ||
"babel-plugin-import": "^1.13.3", | ||
"babel-plugin-transform-remove-console": "^6.9.4", | ||
"case-sensitive-paths-webpack-plugin": "^2.4.0", | ||
"chalk": "^4.1.0", | ||
"clone": "^2.1.2", | ||
"compression-webpack-plugin": "^9.0.0", | ||
"connect-history-api-fallback": "^1.6.0", | ||
"cross-env": "^7.0.3", | ||
"events": "^3.2.0", | ||
"express": "^4.17.1", | ||
"fs-extra": "^9.0.1", | ||
"glob": "^7.1.6", | ||
"gulp": "^4.0.2", | ||
"gulp-git": "^2.10.1", | ||
"hard-source-webpack-plugin": "^0.13.1", | ||
"http-proxy-middleware": "^1.0.5", | ||
"json2ts": "^0.0.7", | ||
"node-cmd": "^4.0.0", | ||
"ora": "^4.0.4", | ||
"scp2": "^0.1.0-b1", | ||
"ssh2": "^0.8.9", | ||
"util": "^0.12.3" | ||
} | ||
} |
Please
register
or
sign in
to comment