package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/icons": "^4.7.0",
  24. "@ant-design/pro-components": "1.1.1",
  25. "@ant-design/pro-layout": "^6.5.0",
  26. "@ant-design/pro-list": "^1.21.80",
  27. "antd-mobile": "^5.38.1",
  28. "enquire-js": "^0.2.1",
  29. "react": "17.x",
  30. "react-beautiful-dnd": "^13.1.1",
  31. "react-dom": "17.x",
  32. "react-scroll": "^1.8.9",
  33. "swiper": "^6.8.4",
  34. "umi": "^3.5.43",
  35. "xlsx": "^0.18.5"
  36. },
  37. "devDependencies": {
  38. "@types/react": "^17.0.0",
  39. "@types/react-dom": "^17.0.0",
  40. "@umijs/preset-react": "1.x",
  41. "@umijs/test": "^3.5.43",
  42. "lint-staged": "^10.0.7",
  43. "prettier": "^2.2.0",
  44. "typescript": "^4.1.2",
  45. "yorkie": "^2.0.0"
  46. }
  47. }