From fcf8c8b1464422aa728d0cf11e6639df0058df29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Fri, 31 May 2019 22:32:31 +0800 Subject: [PATCH] script: add two variable --- package.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 96c560d1..a07f2c09 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "fetch:blocks": "node ./scripts/fetch-blocks.js", "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", "lint-staged:js": "eslint --ext .js", @@ -148,6 +147,17 @@ "scripts/**/*.js" ], "create-umi": { + "ignoreScript": [ + "docker*", + "functions*", + "site", + "generateMock" + ], + "ignoreDependencies": [ + "netlify*", + "serverless", + "express" + ], "copy": [ [ "create-umi/README.md", @@ -175,4 +185,4 @@ "create-umi" ] } -} +} \ No newline at end of file -- GitLab