pubspec.yaml 1.9 KB

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