代码拉取完成,页面将自动刷新
{
"private": true,
"scripts": {
"start": "cross-env PORT=8556 ENV=1 umi dev",
"build": "umi build",
"page": "cross-env REPO=gitee umi build && gh-pages -d dist",
"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",
"antd-mobile": "^5.4.0",
"cross-env": "^7.0.3",
"react": "17.x",
"react-copy-to-clipboard": "^5.0.4",
"react-dom": "17.x",
"umi": "^3.5.21"
},
"devDependencies": {
"@types/qs": "^6.9.7",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/preset-react": "^2.1.1",
"@umijs/test": "^3.5.21",
"gh-pages": "^5.0.0",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"yorkie": "^2.0.0"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。