package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "test": "umi test",
  7. "build:test": "cross-env UMI_ENV=test umi build",
  8. "build:prod": "cross-env UMI_ENV=prod umi build",
  9. "lint": "eslint --ext .js src mock tests"
  10. },
  11. "dependencies": {
  12. "@alitajs/hd": "^2.5.5",
  13. "@rongcloud/imlib-v4": "^4.2.6",
  14. "ahooks": "^2.0.1",
  15. "dva": "^2.6.0-beta.6",
  16. "moment": "^2.29.1",
  17. "numeral": "^2.0.6",
  18. "postcss-px-to-viewport": "^1.1.1",
  19. "react": "^16.8.6",
  20. "react-dom": "^16.8.6",
  21. "react-ticker": "^1.2.2",
  22. "svgaplayerweb": "^2.3.2",
  23. "ua-parser-js": "^0.7.21",
  24. "umi-request": "^1.2.17"
  25. },
  26. "devDependencies": {
  27. "antd-mobile": "^2.3.1",
  28. "babel-eslint": "^9.0.0",
  29. "babel-plugin-import": "^1.13.0",
  30. "cross-env": "^7.0.3",
  31. "eslint": "^5.4.0",
  32. "eslint-config-umi": "^1.4.0",
  33. "eslint-plugin-flowtype": "^2.50.0",
  34. "eslint-plugin-import": "^2.14.0",
  35. "eslint-plugin-jsx-a11y": "^5.1.1",
  36. "eslint-plugin-react": "^7.11.1",
  37. "husky": "^0.14.3",
  38. "lint-staged": "^7.2.2",
  39. "lottie-web": "^5.7.7",
  40. "react-test-renderer": "^16.7.0",
  41. "umi": "^2.7.7",
  42. "umi-plugin-react": "^1.8.4",
  43. "vconsole": "^3.3.4"
  44. },
  45. "lint-staged": {
  46. "*.{js,jsx}": [
  47. "eslint --fix",
  48. "git add"
  49. ]
  50. },
  51. "engines": {
  52. "node": ">=8.0.0"
  53. }
  54. }