1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- "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/pro-components": "^2.3.54",
- "@ant-design/pro-layout": "^6.5.0",
- "ahooks": "^3.7.4",
- "antd": "^5.2.1",
- "axios": "^1.3.3",
- "react": "17.x",
- "react-dom": "17.x",
- "umi": "^3.5.36"
- },
- "devDependencies": {
- "@types/express": "^4.17.17",
- "@types/react": "^17.0.0",
- "@types/react-dom": "^17.0.0",
- "@umijs/preset-react": "1.x",
- "@umijs/test": "^3.5.36",
- "express": "^4.18.2",
- "lint-staged": "^10.0.7",
- "prettier": "^2.2.0",
- "typescript": "^4.1.2",
- "yorkie": "^2.0.0"
- }
- }
|