修改配置
This commit is contained in:
parent
b7a5d4b53e
commit
c87ca8333b
4
.gitignore
vendored
4
.gitignore
vendored
@ -39,3 +39,7 @@ screenshot
|
|||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
||||||
build
|
build
|
||||||
|
|
||||||
|
#yarn
|
||||||
|
**/.yarn
|
||||||
|
.yarnrc.yml
|
||||||
|
|||||||
14
package.json
14
package.json
@ -36,9 +36,15 @@
|
|||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
|
"**/*.{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": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^4.8.0",
|
"@ant-design/icons": "^4.8.0",
|
||||||
"@ant-design/pro-components": "^2.3.57",
|
"@ant-design/pro-components": "^2.3.57",
|
||||||
@ -85,5 +91,7 @@
|
|||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
"umi-presets-pro": "^2.0.2"
|
"umi-presets-pro": "^2.0.2"
|
||||||
},
|
},
|
||||||
"engines": { "node": ">=12.0.0" }
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user