From bd910cab246c18b94f6609456cf172107c6c79a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 27 Mar 2019 12:38:48 +0800 Subject: [PATCH] dom: add new dev function --- Exception500/.umirc.js => .umirc.js | 0 package.json | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename Exception500/.umirc.js => .umirc.js (100%) diff --git a/Exception500/.umirc.js b/.umirc.js similarity index 100% rename from Exception500/.umirc.js rename to .umirc.js diff --git a/package.json b/package.json index a0e949db..6f51cd4f 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "private": true, "scripts": { - "dev": "umi dev", + "dev": "PAGES_PATH='Exception500/src' umi dev", "lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint": "eslint --ext .js src mock tests && npm run lint:style", "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", "lint-staged": "lint-staged", "lint-staged:js": "eslint --ext .js", - "prettier": "node ./_scripts/prettier.js" + "prettier": "node ./_scripts/prettier.jsy" }, "devDependencies": { "@types/classnames": "^2.2.7", @@ -29,7 +29,7 @@ "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", "umi": "^2.3.0-0", - "umi-plugin-block-dev": "^1.0.0", + "umi-plugin-block-dev": "^1.3.1", "umi-plugin-react": "^1.3.0-0" }, "lint-staged": { -- GitLab