2023-10-01 00:14:36 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"start": "umi dev",
|
|
|
|
"build": "umi build",
|
|
|
|
"postinstall": "umi generate tmp",
|
|
|
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
|
|
"test": "umi-test",
|
|
|
|
"test:coverage": "umi-test --coverage"
|
|
|
|
},
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx,less,md,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.ts?(x)": [
|
|
|
|
"prettier --parser=typescript --write"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@ant-design/pro-layout": "^6.5.0",
|
|
|
|
"react": "17.x",
|
|
|
|
"react-dom": "17.x",
|
|
|
|
"umi": "^3.5.41"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
2023-10-01 01:06:54 +08:00
|
|
|
"@umijs/preset-react": "latest",
|
2023-10-01 00:14:36 +08:00
|
|
|
"@umijs/test": "^3.5.41",
|
|
|
|
"lint-staged": "^10.0.7",
|
|
|
|
"prettier": "^2.2.0",
|
|
|
|
"typescript": "^4.1.2",
|
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
}
|
|
|
|
}
|