package.json 974 B

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