60 lines
1.4 KiB
Markdown
60 lines
1.4 KiB
Markdown
# Stream Chat Dart
|
|
|
|

|
|
|
|
This repository contains code for our [Dart](https://dart.dev/) and [Flutter](https://flutter.dev/) chat clients.
|
|
|
|
Stream allows developers to rapidly deploy scalable feeds and chat messaging with an industry leading 99.999% uptime SLA guarantee.
|
|
|
|
## Structure
|
|
Stream Chat Dart is a monorepo built using [Melos](https://docs.page/invertase/melos). Individual packages can be found in the `packages` directory while configuration and top level commands can be found in `melos.yaml`.
|
|
|
|
To get started, run `bootstrap` after cloning the project.
|
|
|
|
```shell
|
|
melos bootstrap
|
|
```
|
|
|
|
## Available Commands
|
|
### Analyze
|
|
> Requires `tuneup` to be activated globally. Please see https://pub.dev/packages/tuneup
|
|
```shell
|
|
melos run analyze
|
|
```
|
|
|
|
### Pub Lint
|
|
Runs pub publish with ``--dry-run``
|
|
```shell
|
|
melos run lint:pub
|
|
```
|
|
|
|
### Build iOS
|
|
Builds iOS examples without codesign
|
|
```shell
|
|
melos run build:examples:ios
|
|
```
|
|
|
|
### Build APK
|
|
Builds an Android APK for examples
|
|
```shell
|
|
melos run build:examples:android
|
|
```
|
|
|
|
### Build MACOS
|
|
Builds MacOs for all examples
|
|
```shell
|
|
melos run build:examples:macos
|
|
```
|
|
|
|
### Test
|
|
Runs `flutter test` on all packages
|
|
```shell
|
|
melos run test
|
|
```
|
|
|
|
### Test Web
|
|
Runs `flutter test --platform=chrome` on all packages
|
|
```shell
|
|
melos run test:web
|
|
```
|