From c4009b64ecd517fe4e17fbf71a89de53197d24a7 Mon Sep 17 00:00:00 2001 From: DaoYuan Date: Mon, 18 Jul 2022 10:52:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A86.0=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=8F=91=E7=8E=B0=E7=9A=84=E4=B8=80=E4=BA=9B=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#10033)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 没有必要的文件 * fix: can prettier pkg * chore: 有格式化后自动排序 --- .husky/.gitignore | 1 - .prettierignore | 3 +-- package.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 .husky/.gitignore diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.prettierignore b/.prettierignore index d17efb44..7999ccda 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,4 @@ **/*.svg -package.json .umi .umi-production /dist @@ -20,4 +19,4 @@ yarn-error.log .history CNAME /build -/public \ No newline at end of file +/public diff --git a/package.json b/package.json index 34c2e875..020b1834 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { - "postinstall": "max setup", "analyze": "cross-env ANALYZE=1 max build", "build": "max build", "deploy": "npm run build && npm run gh-pages", "dev": "npm run start:dev", "gh-pages": "gh-pages -d dist", "i18n-remove": "pro i18n-remove --locale=zh-CN --write", + "postinstall": "max setup", "lint": "npm run lint:js && npm run lint:prettier && npm run tsc", "lint-staged": "lint-staged", "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",