2
0

package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "postinstall": "umi generate tmp",
  7. "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
  8. "test": "umi-test",
  9. "test:coverage": "umi-test --coverage"
  10. },
  11. "gitHooks": {
  12. "pre-commit": "lint-staged"
  13. },
  14. "lint-staged": {
  15. "*.{js,jsx,less,md,json}": [
  16. "prettier --write"
  17. ],
  18. "*.ts?(x)": [
  19. "prettier --parser=typescript --write"
  20. ]
  21. },
  22. "dependencies": {
  23. "@ant-design/pro-components": "^2.3.54",
  24. "@ant-design/pro-layout": "^6.5.0",
  25. "ahooks": "^3.7.4",
  26. "antd": "^5.2.1",
  27. "axios": "^1.3.3",
  28. "react": "17.x",
  29. "react-dom": "17.x",
  30. "umi": "^3.5.36"
  31. },
  32. "devDependencies": {
  33. "@types/express": "^4.17.17",
  34. "@types/react": "^17.0.0",
  35. "@types/react-dom": "^17.0.0",
  36. "@umijs/preset-react": "1.x",
  37. "@umijs/test": "^3.5.36",
  38. "express": "^4.18.2",
  39. "lint-staged": "^10.0.7",
  40. "prettier": "^2.2.0",
  41. "typescript": "^4.1.2",
  42. "yorkie": "^2.0.0"
  43. }
  44. }