You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
775 B
34 lines
775 B
{
|
|
"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": {
|
|
"@imove/core": "^0.3.0",
|
|
"@umijs/preset-react": "1.x",
|
|
"@umijs/test": "^3.2.2",
|
|
"antd": "^4.4.3",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^1.19.1",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"umi": "^3.2.2",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|
|
|