Commit fcf8c8b1 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

script: add two variable

parent cda8b969
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
"fetch:blocks": "node ./scripts/fetch-blocks.js", "fetch:blocks": "node ./scripts/fetch-blocks.js",
"functions:build": "netlify-lambda build ./lambda", "functions:build": "netlify-lambda build ./lambda",
"functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./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": "npm run lint:js && npm run lint:ts && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js", "lint-staged:js": "eslint --ext .js",
...@@ -148,6 +147,17 @@ ...@@ -148,6 +147,17 @@
"scripts/**/*.js" "scripts/**/*.js"
], ],
"create-umi": { "create-umi": {
"ignoreScript": [
"docker*",
"functions*",
"site",
"generateMock"
],
"ignoreDependencies": [
"netlify*",
"serverless",
"express"
],
"copy": [ "copy": [
[ [
"create-umi/README.md", "create-umi/README.md",
...@@ -175,4 +185,4 @@ ...@@ -175,4 +185,4 @@
"create-umi" "create-umi"
] ]
} }
} }
\ No newline at end of file
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