Files
customer-im-client-dev/apps/im_app/pubspec.yaml
Cody 0ee2c8c63c 优化配置,修复 demo bug
1,network 框架完善
2,websocket 机制完善
3,设计文档整理到架构文档
4,脚本,配置完善
2026-03-07 19:29:18 +08:00

69 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: im_app
description: "Customer IM Client"
publish_to: none
version: 0.1.0
resolution: workspace
environment:
sdk: ^3.11.0
dependencies:
flutter:
sdk: flutter
# Workspace SDK packages
networks_sdk:
storage_sdk:
media_sdk:
rtc_sdk:
notification_sdk:
protocol_sdk:
l10n_sdk:
# 状态管理 - Riverpod
flutter_riverpod: ^3.0.0
riverpod_annotation: ^4.0.0
# 不可变状态 - Freezed
freezed_annotation: ^3.0.0
# JSON 序列化
json_annotation: ^4.8.1
# 路由导航
go_router: ^12.0.0
# 网络状态监听
connectivity_plus: ^6.1.0
# JWT 解析token 过期检测、主动刷新)
dart_jsonwebtoken: ^3.3.2
# 数据库schema 定义在 im_app连接/CRUD 封装在 storage_sdk
drift: ^2.22.0
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
# 代码生成
drift_dev: ^2.22.0
build_runner: ^2.4.6
riverpod_generator: ^4.0.0
freezed: ^3.0.0
json_serializable: ^6.7.1
# 代码检查
flutter_lints: ^6.0.0
very_good_analysis: ^5.1.0
# 测试
mocktail: ^1.0.1
flutter:
uses-material-design: true