Commit 4ce47317 authored by 期贀's avatar 期贀

add lambda build

parent 6043d892
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
"docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", "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", "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro",
"fetch:blocks": "node ./scripts/fetch-blocks.js", "fetch:blocks": "node ./scripts/fetch-blocks.js",
"functions:build": "npm run generateMock && netlify-lambda build ./lambda", "functions:build": "netlify-lambda build ./lambda",
"functions:run": "npm run generateMock && cross-env NODE_ENV=dev netlify-lambda serve ./lambda", "functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./lambda",
"generateMock": "node ./scripts/generateMock", "generateMock": "node ./scripts/generateMock",
"lint": "npm run lint:js && npm run lint:ts && npm run lint:style && npm run lint:prettier", "lint": "npm run lint:js && npm run lint:ts && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment