package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev --port 8008",
  5. "build": "umi build",
  6. "test": "umi test",
  7. "lint": "eslint {src,mock,tests}/**/*.{js,jsx} --fix"
  8. },
  9. "dependencies": {
  10. "ahooks": "^2.5.0",
  11. "antd-mobile": "^2.3.3",
  12. "dva": "^2.6.0-beta.6",
  13. "numeral": "^2.0.6",
  14. "postcss-px-to-viewport": "^1.1.1",
  15. "qiniu-js": "^3.1.1",
  16. "react": "^16.8.6",
  17. "react-dom": "^16.8.6",
  18. "react-player": "^2.6.0",
  19. "react-to-copy": "^0.1.1",
  20. "ua-parser-js": "^0.7.21",
  21. "vconsole": "^3.3.4"
  22. },
  23. "devDependencies": {
  24. "babel-eslint": "^9.0.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. "react-test-renderer": "^16.7.0",
  34. "umi": "^2.7.7",
  35. "umi-plugin-react": "^1.8.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. }