package.json 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. "babel-plugin-import": "^1.13.3",
  30. "js-base64": "^2.5.2",
  31. "lint-staged": "^10.0.7",
  32. "prettier": "^1.19.1",
  33. "qrcode.react": "^1.0.0",
  34. "react": "^16.12.0",
  35. "react-dom": "^16.12.0",
  36. "ua-parser-js": "^0.7.21",
  37. "umi": "^3.2.1",
  38. "yarn": "^1.22.4",
  39. "yorkie": "^2.0.0"
  40. }
  41. }