- build:admin-web 构建命令存在转义

pull/1/head
sin 2019-03-10 17:10:29 +08:00
parent a73b3a472d
commit f02e4d26ef
1 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@
"presite": "cd functions && npm install",
"start": "cross-env APP_TYPE=site umi dev",
"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",
"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:admin-web": "cross-env BASE_PATH=/admin-web/ 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",
"lint:style": "stylelint 'src/**/*.less' --syntax less",