package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "startTest": "UMI_ENV=test umi dev",
  6. "build:test": "cross-env UMI_ENV=test umi build",
  7. "build:prod": "cross-env UMI_ENV=prod umi build",
  8. "buildTest": "UMI_ENV=test umi build",
  9. "test": "umi test",
  10. "lint": "eslint --ext .js src mock tests"
  11. },
  12. "dependencies": {
  13. "cross-env": "^7.0.3",
  14. "dva": "^2.6.0-beta.6",
  15. "react": "^16.8.6",
  16. "react-dom": "^16.8.6",
  17. "react-player": "^2.1.1",
  18. "ua-parser-js": "^0.7.21",
  19. "umi-request": "^1.2.17"
  20. },
  21. "devDependencies": {
  22. "antd-mobile": "^2.3.1",
  23. "babel-eslint": "^9.0.0",
  24. "babel-plugin-import": "^1.13.0",
  25. "eslint": "^5.4.0",
  26. "eslint-config-umi": "^1.4.0",
  27. "eslint-plugin-flowtype": "^2.50.0",
  28. "eslint-plugin-import": "^2.14.0",
  29. "eslint-plugin-jsx-a11y": "^5.1.1",
  30. "eslint-plugin-react": "^7.11.1",
  31. "husky": "^0.14.3",
  32. "lint-staged": "^7.2.2",
  33. "lottie-web": "^5.6.2",
  34. "react-test-renderer": "^16.7.0",
  35. "umi": "^2.7.7",
  36. "umi-plugin-react": "^1.8.4",
  37. "vconsole": "^3.3.4"
  38. },
  39. "lint-staged": {
  40. "*.{js,jsx}": [
  41. "eslint --fix",
  42. "git add"
  43. ]
  44. },
  45. "engines": {
  46. "node": ">=8.0.0"
  47. }
  48. }