package.json 1.1 KB

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