package.json 963 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "buildTest": "UMI_ENV=buildTest umi build",
  7. "postinstall": "umi generate tmp",
  8. "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
  9. "test": "umi-test",
  10. "test:coverage": "umi-test --coverage"
  11. },
  12. "gitHooks": {
  13. "pre-commit": "lint-staged"
  14. },
  15. "lint-staged": {
  16. "*.{js,jsx,less,md,json}": [
  17. "prettier --write"
  18. ],
  19. "*.ts?(x)": [
  20. "prettier --parser=typescript --write"
  21. ]
  22. },
  23. "dependencies": {
  24. "@alitajs/hd": "^2.3.12",
  25. "@umijs/preset-react": "1.x",
  26. "@umijs/test": "^3.2.1",
  27. "add": "^2.0.6",
  28. "antd-mobile": "^2.3.3",
  29. "js-base64": "^2.5.2",
  30. "lint-staged": "^10.0.7",
  31. "prettier": "^1.19.1",
  32. "qrcode.react": "^1.0.0",
  33. "react": "^16.12.0",
  34. "react-dom": "^16.12.0",
  35. "ua-parser-js": "^0.7.21",
  36. "umi": "^3.2.1",
  37. "yarn": "^1.22.4",
  38. "yorkie": "^2.0.0"
  39. }
  40. }