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 a0e949db0cd044a927d7f35eb5cda309097ceaf3..6f51cd4f2673f15cb167fd0ea126d9797a76a1a1 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": {