Commit 76319ebf authored by shenshaokai's avatar shenshaokai

Merge branch 'jinfa-20221102' into 'jinfa-20221102'

build: 修改1102构建配置 See merge request project/jinfa-admin!19
parents 35710353 5f5aa162
...@@ -203,5 +203,12 @@ module.exports = { ...@@ -203,5 +203,12 @@ module.exports = {
USE_ROUTE_CONFIG: true, USE_ROUTE_CONFIG: true,
SOCKET_URL: 'ws://jinfa-gateway-test.shushangyun.com:12880', SOCKET_URL: 'ws://jinfa-gateway-test.shushangyun.com:12880',
YAPI_URL: 'http://10.0.1.181:7070/' YAPI_URL: 'http://10.0.1.181:7070/'
},
"jinfa-1102": {
SITE_ID: '1',
BACK_GATEWAY: 'http://jinfa1102-gateway-test.shushangyun.com:12880',
USE_ROUTE_CONFIG: true,
SOCKET_URL: 'ws://jinfa1102-gateway-test.shushangyun.com:12880',
YAPI_URL: 'http://10.0.1.181:7070/'
} }
} }
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
"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: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:v2-ali-demo": "cross-env PRO_ENV=v2-ali-demo yarn build",
"build:jinfa-0518": "cross-env PRO_ENV=jinfa-0518 yarn build", "build:jinfa-0518": "cross-env PRO_ENV=jinfa-0518 yarn build",
"build:jinfa-1102": "cross-env PRO_ENV=jinfa-1102 yarn build",
"postinstall": "node scripts/init && umi generate tmp", "postinstall": "node scripts/init && umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'", "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test", "test": "umi-test",
...@@ -51,7 +52,8 @@ ...@@ -51,7 +52,8 @@
"start:v20318": "cross-env PRO_ENV=v2-0318 yarn start", "start:v20318": "cross-env PRO_ENV=v2-0318 yarn start",
"start:v2-220418": "cross-env PRO_ENV=v2-220418 yarn start", "start:v2-220418": "cross-env PRO_ENV=v2-220418 yarn start",
"start:v2-220518": "cross-env PRO_ENV=v2-220518 yarn start", "start:v2-220518": "cross-env PRO_ENV=v2-220518 yarn start",
"start:jinfa-0518": "cross-env PRO_ENV=jinfa-0518 yarn start" "start:jinfa-0518": "cross-env PRO_ENV=jinfa-0518 yarn start",
"start:jinfa-1102": "cross-env PRO_ENV=jinfa-1102 yarn start"
}, },
"lint-staged": { "lint-staged": {
"*.{js,jsx,less,md,json}": [ "*.{js,jsx,less,md,json}": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment