https://github.com/flutterando/dart_pub
Private pub.dev for packages Flutter Dart
https://github.com/flutterando/dart_pub
Last synced: 10 months ago
JSON representation
Private pub.dev for packages Flutter Dart
- Host: GitHub
- URL: https://github.com/flutterando/dart_pub
- Owner: Flutterando
- Created: 2020-11-10T03:51:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T15:39:45.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T09:51:19.239Z (11 months ago)
- Language: Dart
- Size: 2.74 MB
- Stars: 15
- Watchers: 6
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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
```