package.json 1022 B

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