package.json 915 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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": "^4.6.3",
  12. "qrcode.react": "^1.0.0",
  13. "react": "^16.8.6",
  14. "react-dom": "^16.8.6",
  15. "ua-parser-js": "^0.7.21"
  16. },
  17. "devDependencies": {
  18. "babel-eslint": "^9.0.0",
  19. "eslint": "^5.4.0",
  20. "eslint-config-umi": "^1.4.0",
  21. "eslint-plugin-flowtype": "^2.50.0",
  22. "eslint-plugin-import": "^2.14.0",
  23. "eslint-plugin-jsx-a11y": "^5.1.1",
  24. "eslint-plugin-react": "^7.11.1",
  25. "husky": "^0.14.3",
  26. "lint-staged": "^7.2.2",
  27. "react-test-renderer": "^16.7.0",
  28. "umi": "^2.7.7",
  29. "umi-plugin-react": "^1.8.4"
  30. },
  31. "lint-staged": {
  32. "*.{js,jsx}": [
  33. "eslint --fix",
  34. "git add"
  35. ]
  36. },
  37. "engines": {
  38. "node": ">=8.0.0"
  39. }
  40. }