Sfoglia il codice sorgente

doc: add fetch:blocks in umi/package.json

陈帅 6 anni fa
parent
commit
9b3bc44575
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      create-umi/package.json

+ 2 - 2
create-umi/package.json

@@ -6,7 +6,6 @@
   "scripts": {
   "scripts": {
     "analyze": "cross-env ANALYZE=1 umi build",
     "analyze": "cross-env ANALYZE=1 umi build",
     "build": "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": "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",
@@ -22,7 +21,8 @@
     "test": "umi test",
     "test": "umi test",
     "test:all": "node ./tests/run-tests.js",
     "test:all": "node ./tests/run-tests.js",
     "test:component": "umi test ./src/components",
     "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": {
   "husky": {
     "hooks": {
     "hooks": {