Commit e8eb8e50 authored by 前端-许佳敏's avatar 前端-许佳敏

chore: 更改构建方式

parent 760a225b
......@@ -94,11 +94,7 @@ module.exports = {
forcePasv: true
})
},
<<<<<<< HEAD
"study": {
=======
207: {
>>>>>>> 59f689106c4a102e876cd5f50a97a2190908ff09
study: {
SITE_ID: '1',
BACK_GATEWAY: 'http://10.0.1.207:8100',
USE_ROUTE_CONFIG: true,
......@@ -110,11 +106,7 @@ module.exports = {
host: "10.0.1.207",
port: 22,
localRoot: path.resolve('./dist/'),
<<<<<<< HEAD
remoteRoot: "/home/www/lingxi-business-platform/dist/",
=======
remoteRoot: "/home/www/lingxi/lingxi-business-platform/dist/",
>>>>>>> 59f689106c4a102e876cd5f50a97a2190908ff09
// include: ["*", "**/*"], // this would upload everything except dot files
include: ["*"],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
......@@ -124,9 +116,5 @@ module.exports = {
// Passive mode is forced (EPSV command is not sent)
forcePasv: true
})
<<<<<<< HEAD
},
=======
}
>>>>>>> 59f689106c4a102e876cd5f50a97a2190908ff09
}
......@@ -5,11 +5,7 @@
"upload:scm": "cross-env local=scm taskName=upload yarn scripts:build",
"upload:10": "cross-env local=10 taskName=upload yarn scripts:build",
"upload:25": "cross-env local=25 taskName=upload yarn scripts:build",
<<<<<<< HEAD
"upload:study": "cross-env local=study taskName=upload yarn scripts:build",
=======
"upload:207": "cross-env local=207 taskName=upload yarn scripts:build",
>>>>>>> 59f689106c4a102e876cd5f50a97a2190908ff09
"api": "god-ytt",
"scripts:build": "node scripts/run",
"scripts:build-yxc": "node scripts/run http://yxc-web-demo.shushangyun.com/api",
......@@ -25,11 +21,7 @@
"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",
<<<<<<< HEAD
"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:207": "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",
>>>>>>> 59f689106c4a102e876cd5f50a97a2190908ff09
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
......@@ -38,7 +30,7 @@
"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:207": "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: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"
},
"lint-staged": {
......
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