50 line
1.4 KiB
JSON
50 line
1.4 KiB
JSON
{
|
|
"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/icons": "^4.7.0",
|
|
"@jiaminghi/data-view-react": "^1.2.5",
|
|
"antd": "^4.20.6",
|
|
"echarts": "^5.3.2",
|
|
"echarts-for-react": "^3.0.2",
|
|
"framer-motion": "^6.3.3",
|
|
"less": "^4.1.3",
|
|
"less-loader": "^11.0.0",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"react-router-dom": "^6.3.0",
|
|
"style-components": "^0.1.0",
|
|
"styled-components": "^5.3.5",
|
|
"umi": "^3.5.23"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/runtime": "^7.18.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@umijs/preset-react": "1.x",
|
|
"@umijs/test": "^3.5.23",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^2.2.0",
|
|
"typescript": "^4.1.2",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|