package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. "dva": "^2.6.0-beta.6",
  13. "react": "^16.8.6",
  14. "react-dom": "^16.8.6",
  15. "react-player": "^2.1.1",
  16. "ua-parser-js": "^0.7.21",
  17. "umi-request": "^1.2.17"
  18. },
  19. "devDependencies": {
  20. "antd-mobile": "^2.3.1",
  21. "babel-eslint": "^9.0.0",
  22. "babel-plugin-import": "^1.13.0",
  23. "eslint": "^5.4.0",
  24. "eslint-config-umi": "^1.4.0",
  25. "eslint-plugin-flowtype": "^2.50.0",
  26. "eslint-plugin-import": "^2.14.0",
  27. "eslint-plugin-jsx-a11y": "^5.1.1",
  28. "eslint-plugin-react": "^7.11.1",
  29. "husky": "^0.14.3",
  30. "lint-staged": "^7.2.2",
  31. "lottie-web": "^5.6.2",
  32. "react-test-renderer": "^16.7.0",
  33. "umi": "^2.7.7",
  34. "umi-plugin-react": "^1.8.4",
  35. "vconsole": "^3.3.4"
  36. },
  37. "lint-staged": {
  38. "*.{js,jsx}": [
  39. "eslint --fix",
  40. "git add"
  41. ]
  42. },
  43. "engines": {
  44. "node": ">=8.0.0"
  45. }
  46. }