add function build
Showing
... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
"description": "An out-of-box UI solution for enterprise applications", | "description": "An out-of-box UI solution for enterprise applications", | ||
"scripts": { | "scripts": { | ||
"analyze": "cross-env ANALYZE=1 umi build", | "analyze": "cross-env ANALYZE=1 umi build", | ||
"build": "umi build", | "build": "umi build && functions:build", | ||
"docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./", | "docker-hub:build": "docker build -f Dockerfile.hub -t ant-design-pro ./", | ||
"docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build", | "docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build", | ||
"docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", | "docker-prod:dev": "docker-compose -f ./docker/docker-compose.yml up", | ||
... | @@ -111,6 +111,7 @@ | ... | @@ -111,6 +111,7 @@ |
"merge-umi-mock-data": "^1.0.4", | "merge-umi-mock-data": "^1.0.4", | ||
"mockjs": "^1.0.1-beta3", | "mockjs": "^1.0.1-beta3", | ||
"prettier": "^1.16.4", | "prettier": "^1.16.4", | ||
"serverless-http": "^1.9.1", | |||
"slash2": "^2.0.0", | "slash2": "^2.0.0", | ||
"stylelint": "^9.10.1", | "stylelint": "^9.10.1", | ||
"stylelint-config-css-modules": "^1.3.0", | "stylelint-config-css-modules": "^1.3.0", | ||
... | @@ -122,8 +123,7 @@ | ... | @@ -122,8 +123,7 @@ |
"tslint": "^5.12.1", | "tslint": "^5.12.1", | ||
"tslint-config-prettier": "^1.17.0", | "tslint-config-prettier": "^1.17.0", | ||
"tslint-react": "^3.6.0", | "tslint-react": "^3.6.0", | ||
"umi-plugin-ga": "^1.1.3", | "umi-plugin-ga": "^1.1.3" | ||
"serverless-http": "^1.9.1" | |||
}, | }, | ||
"optionalDependencies": { | "optionalDependencies": { | ||
"puppeteer": "^1.12.1" | "puppeteer": "^1.12.1" | ||
... | ... |
Please register or sign in to comment