package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "@cycjimmy/jsmpeg-player": "^5.0.1",
  26. "@types/react": "^17.0.20",
  27. "@types/react-dom": "^17.0.9",
  28. "@umijs/preset-react": "1.x",
  29. "@umijs/test": "^3.2.1",
  30. "add": "^2.0.6",
  31. "antd-mobile": "^2.3.3",
  32. "babel-plugin-import": "^1.13.3",
  33. "file-loader": "^6.2.0",
  34. "js-base64": "^2.5.2",
  35. "lint-staged": "^10.0.7",
  36. "mobile-detect": "^1.4.5",
  37. "prettier": "^1.19.1",
  38. "qrcode.react": "^1.0.0",
  39. "react": "^16.12.0",
  40. "react-dom": "^16.12.0",
  41. "ts-loader": "^9.2.5",
  42. "ua-parser-js": "^0.7.28",
  43. "umi": "^3.2.1",
  44. "yarn": "^1.22.4",
  45. "yorkie": "^2.0.0"
  46. }
  47. }