From cc57c6a9c22b7edb61b66c7efa34bc2e830612b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 2 Apr 2019 12:27:07 +0800 Subject: [PATCH] fix error script --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0f6364bb..f720ef1f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "An out-of-box UI solution for enterprise applications", "scripts": { "analyze": "cross-env ANALYZE=1 umi build", - "build": "umi build && functions:build", + "build": "umi build && npm run functions:build", "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:dev": "docker-compose -f ./docker/docker-compose.yml up", @@ -111,7 +111,6 @@ "merge-umi-mock-data": "^1.0.4", "mockjs": "^1.0.1-beta3", "prettier": "^1.16.4", - "serverless-http": "^1.9.1", "slash2": "^2.0.0", "stylelint": "^9.10.1", "stylelint-config-css-modules": "^1.3.0", @@ -123,7 +122,8 @@ "tslint": "^5.12.1", "tslint-config-prettier": "^1.17.0", "tslint-react": "^3.6.0", - "umi-plugin-ga": "^1.1.3" + "umi-plugin-ga": "^1.1.3", + "serverless-http": "^1.9.1" }, "optionalDependencies": { "puppeteer": "^1.12.1" -- GitLab