package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "private": true,
  3. "scripts": {
  4. "start": "umi dev",
  5. "build": "umi build",
  6. "build:58": "UMI_ENV=58live umi build",
  7. "test": "umi test",
  8. "lint": "eslint --ext .js src mock tests",
  9. "precommit": "lint-staged",
  10. "analyze": "cross-env ANALYZE=1 umi build"
  11. },
  12. "dependencies": {
  13. "antd-mobile": "^2.3.1",
  14. "js-base64": "^2.5.2",
  15. "lib-flexible": "^0.3.2",
  16. "qrcode.react": "^1.0.0",
  17. "react": "^16.8.6",
  18. "react-dom": "^16.8.6",
  19. "umi-request": "^1.2.15"
  20. },
  21. "devDependencies": {
  22. "babel-eslint": "^9.0.0",
  23. "eslint": "^5.4.0",
  24. "eslint-config-umi": "^1.4.0",
  25. "eslint-plugin-flowtype": "^2.50.0",
  26. "eslint-plugin-import": "^2.14.0",
  27. "eslint-plugin-jsx-a11y": "^5.1.1",
  28. "eslint-plugin-react": "^7.11.1",
  29. "husky": "^0.14.3",
  30. "lint-staged": "^7.2.2",
  31. "react-test-renderer": "^16.7.0",
  32. "umi": "^2.7.7",
  33. "umi-plugin-react": "^1.8.4"
  34. },
  35. "lint-staged": {
  36. "*.{js,jsx}": [
  37. "eslint --fix",
  38. "git add"
  39. ]
  40. },
  41. "engines": {
  42. "node": ">=8.0.0"
  43. }
  44. }