代码拉取完成,页面将自动刷新
{
"private": true,
"scripts": {
"dev": "cross-env UMI_ENV=dev PORT=3001 umi dev",
"dev:test": "cross-env UMI_ENV=test PORT=3001 umi dev",
"build": "cross-env UMI_ENV=prod umi build",
"test": "cross-env UMI_ENV=test umi build",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"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": "^4.16.7",
"codemirror": "^5.62.3",
"react": "17.x",
"react-codemirror2": "^7.2.1",
"react-dom": "17.x",
"umi": "^3.5.8"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/preset-react": "^1",
"@umijs/test": "^3.5.8",
"cross-env": "^7.0.3",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"umi-plugin-antd-icon-config": "^2.0.4",
"yorkie": "^2.0.0"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。