Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-admin
Commits
76319ebf
Commit
76319ebf
authored
Oct 26, 2022
by
shenshaokai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinfa-20221102' into 'jinfa-20221102'
build: 修改1102构建配置 See merge request
project/jinfa-admin!19
parents
35710353
5f5aa162
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
env.js
env.js
+7
-0
package.json
package.json
+3
-1
No files found.
env.js
View file @
76319ebf
...
@@ -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/'
}
}
}
}
package.json
View file @
76319ebf
...
@@ -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}"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment