修改配置

This commit is contained in:
brian 2023-07-07 16:57:37 +08:00
parent b7a5d4b53e
commit c87ca8333b
2 changed files with 15 additions and 3 deletions

4
.gitignore vendored
View File

@ -39,3 +39,7 @@ screenshot
.eslintcache
build
#yarn
**/.yarn
.yarnrc.yml

View File

@ -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"
}
}