pubspec.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. name: app #宿主App命名空间
  2. description: Flutter Room 临时项目
  3. version: 1.0.0
  4. environment:
  5. sdk: '>=3.0.2 <4.0.0'
  6. dependencies:
  7. flutter_localizations:
  8. sdk: flutter
  9. flutter:
  10. sdk: flutter
  11. #基础组件的依赖
  12. domain:
  13. path: ../packages/cs_domain
  14. plugin_basic:
  15. path: ../packages/cs_plugin_basic
  16. plugin_platform:
  17. path: ../packages/cs_plugin_platform
  18. shared:
  19. path: ../packages/cs_shared
  20. cs_resources:
  21. path: ../packages/cs_resources
  22. router:
  23. path: ../packages/cs_router
  24. widgets:
  25. path: ../packages/cs_widgets
  26. initializer:
  27. path: ../packages/cs_initializer
  28. #业务子组件的依赖
  29. cpt_auth:
  30. path: ../packages/cpt_auth
  31. cpt_community:
  32. path: ../packages/cpt_community
  33. cpt_facility:
  34. path: ../packages/cpt_facility
  35. cpt_form:
  36. path: ../packages/cpt_form
  37. cpt_main:
  38. path: ../packages/cpt_main
  39. cpt_notice_board:
  40. path: ../packages/cpt_notice_board
  41. cpt_payment:
  42. path: ../packages/cpt_payment
  43. cpt_profile:
  44. path: ../packages/cpt_profile
  45. cpt_property:
  46. path: ../packages/cpt_property
  47. cpt_rewards:
  48. path: ../packages/cpt_rewards
  49. cpt_services:
  50. path: ../packages/cpt_services
  51. # Riverpod核心库
  52. flutter_riverpod: ^2.5.1
  53. # Riverpod注解
  54. riverpod_annotation: ^2.3.5
  55. # Hooks 简化 Flutter 页面
  56. flutter_hooks: ^0.20.5
  57. # Hooks 简化 Riverpod 获取
  58. hooks_riverpod: ^2.5.1
  59. # 极光推送 https://github.com/jpush/jpush-flutter-plugin
  60. # jpush_flutter: 2.5.1
  61. # https://pub-web.flutter-io.cn/packages/flutter_bugly
  62. # flutter_bugly: 0.4.4
  63. dev_dependencies:
  64. flutter_test:
  65. sdk: flutter
  66. flutter_lints: ^4.0.0
  67. # Dart代码生成文件
  68. build_runner: ^2.4.12
  69. # Riverpod代码生成器
  70. riverpod_generator: ^2.4.3
  71. # 专为Riverpod设计的一套lint规则
  72. riverpod_lint: ^2.3.13
  73. # AutoRouter 生成代码
  74. auto_route_generator: ^8.0.0
  75. flutter:
  76. uses-material-design: true