Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flutterando/dart_pub

Private pub.dev for packages Flutter Dart
https://github.com/flutterando/dart_pub

Last synced: 3 days ago
JSON representation

Private pub.dev for packages Flutter Dart

Awesome Lists containing this project

README

        

# dart_pub
Private pub.dev for packages Flutter Dart

# On server

```
docker-compose up
```

# Publish package

Add the ```publish_to``` property in package's pubspec.yaml

```yaml
name: my_amazing_package
description: The Package!
version: 1.0.0
author: Author
homepage: example.com

publish_to: http://your-server.com

```

Use command:
```
flutter pub publish
```

# Using in other projects

Add in package's pubspec.yaml

```yaml

dependencies:
my_amazing_package:
hosted:
url: http://your-server.com
version: ˆ1.0.0

```