diff --git a/package.json b/package.json index cd91ec7d948eec185aeb8a01f2328e854016aef1..7b9b0ad0da1ecc45e568c8ea200f05b504ec2222 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro", "fetch:blocks": "node ./scripts/fetch-blocks.js", - "functions:build": "npm run generateMock && netlify-lambda build ./lambda", - "functions:run": "npm run generateMock && cross-env NODE_ENV=dev netlify-lambda serve ./lambda", + "functions:build": "netlify-lambda build ./lambda", + "functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./lambda", "generateMock": "node ./scripts/generateMock", "lint": "npm run lint:js && npm run lint:ts && npm run lint:style && npm run lint:prettier", "lint-staged": "lint-staged",