44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "umi dev",
|
|
"dev": "cross-env MOCK=none 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/icons": "^4.7.0",
|
|
"@ant-design/pro-form": "^1.64.1",
|
|
"@ant-design/pro-layout": "^6.5.0",
|
|
"react": "17.x",
|
|
"react-dom": "17.x",
|
|
"umi": "^3.5.23"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@umijs/preset-react": "1.x",
|
|
"@umijs/test": "^3.5.23",
|
|
"cross-env": "^7.0.3",
|
|
"lint-staged": "^10.0.7",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.2.0",
|
|
"typescript": "^4.1.2",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|