From 9b3bc44575482d3f9d7adc7bfab6c0bb08095600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 29 May 2019 20:25:38 +0800 Subject: [PATCH] doc: add fetch:blocks in umi/package.json --- create-umi/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-umi/package.json b/create-umi/package.json index 813bef86..d10870aa 100644 --- a/create-umi/package.json +++ b/create-umi/package.json @@ -6,7 +6,6 @@ "scripts": { "analyze": "cross-env ANALYZE=1 umi build", "build": "umi build", - "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", @@ -22,7 +21,8 @@ "test": "umi test", "test:all": "node ./tests/run-tests.js", "test:component": "umi test ./src/components", - "tslint:fix": "tslint --fix 'src/**/*.ts*'" + "tslint:fix": "tslint --fix 'src/**/*.ts*'", + "fetch:blocks": "node ./scripts/fetch-blocks.js" }, "husky": { "hooks": { -- GitLab