From c87ca8333beb23f1039b3ab92a96decaa2a3a9b7 Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 7 Jul 2023 16:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ package.json | 14 +++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0fb3670..4d3998f 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,7 @@ screenshot .eslintcache build + +#yarn +**/.yarn +.yarnrc.yml diff --git a/package.json b/package.json index af1e46a..683ab35 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,15 @@ }, "lint-staged": { "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js", - "**/*.{js,jsx,tsx,ts,less,md,json}": ["prettier --write"] + "**/*.{js,jsx,tsx,ts,less,md,json}": [ + "prettier --write" + ] }, - "browserslist": ["> 1%", "last 2 versions", "not ie <= 10"], + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie <= 10" + ], "dependencies": { "@ant-design/icons": "^4.8.0", "@ant-design/pro-components": "^2.3.57", @@ -85,5 +91,7 @@ "typescript": "^4.9.5", "umi-presets-pro": "^2.0.2" }, - "engines": { "node": ">=12.0.0" } + "engines": { + "node": ">=12.0.0" + } }