package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "occ-mobile",
  3. "version": "0.0.1",
  4. "private": true,
  5. "scripts": {
  6. "start": "node node_modules/react-native/local-cli/cli.js start",
  7. "test": "jest",
  8. "prettier": "prettier --write --single-quote --no-semi --trailing-comma es5 --print-width 80 \"app/**/*.js\"",
  9. "lint": "eslint app",
  10. "format": "yarn prettier && yarn lint -- --fix",
  11. "precommit": "yarn format"
  12. },
  13. "dependencies": {
  14. "axios": "^0.18.0",
  15. "dva-core": "^1.1.0",
  16. "lodash": "^4.17.5",
  17. "moment": "^2.22.2",
  18. "native-echarts": "^0.4.0",
  19. "react": "^16.3.0-alpha.0",
  20. "react-native": "0.50.0",
  21. "react-native-animatable": "^1.2.4",
  22. "react-native-cli": "^2.0.1",
  23. "react-native-code-push": "^5.3.2",
  24. "react-native-collapsible": "^0.10.0",
  25. "react-native-device-info": "^0.24.3",
  26. "react-native-interactable": "^0.1.10",
  27. "react-native-keyboard-aware-scroll-view": "^0.4.4",
  28. "react-native-root-toast": "^3.0.1",
  29. "react-native-scrollable-tab-view": "^0.8.0",
  30. "react-native-splash-screen": "^3.1.1",
  31. "react-native-vector-icons": "^4.5.0",
  32. "react-native-webview": "^5.8.2",
  33. "react-navigation": "^1.5.11",
  34. "react-navigation-redux-helpers": "^1.1.1",
  35. "react-redux": "^5.0.7"
  36. },
  37. "devDependencies": {
  38. "babel-eslint": "^8.2.2",
  39. "babel-jest": "^22.4.1",
  40. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  41. "babel-preset-react-native": "^4.0.0",
  42. "eslint": "^4.18.2",
  43. "eslint-config-airbnb": "^16.1.0",
  44. "eslint-config-prettier": "^2.9.0",
  45. "eslint-plugin-babel": "^4.1.2",
  46. "eslint-plugin-import": "^2.9.0",
  47. "eslint-plugin-jsx-a11y": "^6.0.3",
  48. "eslint-plugin-prettier": "^2.6.0",
  49. "eslint-plugin-react": "^7.7.0",
  50. "husky": "^0.14.3",
  51. "jest": "^22.4.2",
  52. "prettier": "^1.11.1",
  53. "react-test-renderer": "^16.3.0-alpha.0"
  54. },
  55. "jest": {
  56. "preset": "react-native"
  57. }
  58. }