package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "lint-staged": {
  12. "*.{js,jsx,less,md,json}": [
  13. "prettier --write"
  14. ],
  15. "*.ts?(x)": [
  16. "prettier --parser=typescript --write"
  17. ]
  18. },
  19. "dependencies": {
  20. "ahooks": "^3.1.4",
  21. "antd-mobile": "^5.0.0-rc.12",
  22. "antd-mobile-icons": "^0.2.2",
  23. "babel-plugin-import": "^1.13.3",
  24. "mobx": "^6.3.3",
  25. "mobx-react-lite": "^3.2.1",
  26. "numeral": "^2.0.6",
  27. "react": "17.x",
  28. "react-dom": "17.x",
  29. "umi": "^3.5.20",
  30. "vconsole": "^3.10.1"
  31. },
  32. "devDependencies": {
  33. "@types/react": "^17.0.0",
  34. "@types/react-dom": "^17.0.0",
  35. "@umijs/preset-react": "1.x",
  36. "@umijs/test": "^3.5.19",
  37. "lint-staged": "^10.0.7",
  38. "moment": "^2.29.1",
  39. "postcss-plugin-px2rem": "^0.8.1",
  40. "postcss-px-to-viewport": "^1.1.1",
  41. "prettier": "^2.2.0",
  42. "typescript": "^4.1.2",
  43. "yorkie": "^2.0.0"
  44. }
  45. }