package.json 987 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "test": "umi test",
  7. "lint": "eslint {src,mock,tests}/**/*.{js,jsx} --fix",
  8. "precommit": "lint-staged"
  9. },
  10. "dependencies": {
  11. "antd-mobile": "^2.3.3",
  12. "postcss-px-to-viewport": "^1.1.1",
  13. "react": "^16.8.6",
  14. "react-dom": "^16.8.6",
  15. "ua-parser-js": "^0.7.21",
  16. "umi-request": "^1.3.5"
  17. },
  18. "devDependencies": {
  19. "babel-eslint": "^9.0.0",
  20. "eslint": "^5.4.0",
  21. "eslint-config-umi": "^1.4.0",
  22. "eslint-plugin-flowtype": "^2.50.0",
  23. "eslint-plugin-import": "^2.14.0",
  24. "eslint-plugin-jsx-a11y": "^5.1.1",
  25. "eslint-plugin-react": "^7.11.1",
  26. "husky": "^0.14.3",
  27. "lint-staged": "^7.2.2",
  28. "react-test-renderer": "^16.7.0",
  29. "umi": "^2.7.7",
  30. "umi-plugin-react": "^1.8.4",
  31. "vconsole": "^3.3.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. }