修改 package

This commit is contained in:
sin 2019-04-03 18:18:51 +08:00
parent ffb0087ca6
commit 159e7afaa1

View File

@ -9,7 +9,7 @@
"start:no-mock": "cross-env MOCK=none umi dev",
"start:admin-web": "cross-env BASE_PATH='/admin-web/' NODE_ENV=development APP_TYPE=site umi dev",
"start:admin-web:no-mock": "cross-env BASE_PATH='/admin-web/' NODE_ENV=development MOCK=none APP_TYPE=site umi dev",
"build": "umi build",
"build": "cross-env BASE_PATH='/' NODE_ENV=production umi build",
"build:admin-web": "cross-env BASE_PATH='/admin-web/' NODE_ENV=production umi build",
"site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push",
"analyze": "cross-env ANALYZE=1 umi build",