package.json 838 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
  7. "test": "umi-test",
  8. "test:coverage": "umi-test --coverage"
  9. },
  10. "gitHooks": {
  11. "pre-commit": "lint-staged"
  12. },
  13. "lint-staged": {
  14. "*.{js,jsx,less,md,json}": [
  15. "prettier --write"
  16. ],
  17. "*.ts?(x)": [
  18. "prettier --parser=typescript --write"
  19. ]
  20. },
  21. "dependencies": {
  22. "@alitajs/hd": "^2.3.5",
  23. "@umijs/preset-react": "1.x",
  24. "@umijs/test": "^3.0.14",
  25. "lint-staged": "^10.0.7",
  26. "lottie-web": "^5.6.8",
  27. "prettier": "^1.19.1",
  28. "react": "^16.12.0",
  29. "react-dom": "^16.12.0",
  30. "umi": "^3.0.14",
  31. "yorkie": "^2.0.0"
  32. },
  33. "devDependencies": {
  34. "@types/ua-parser-js": "^0.7.33",
  35. "antd-mobile": "^2.3.1"
  36. }
  37. }