forked from ferraridamiano/ConverterNOW
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
129 lines (120 loc) · 3.48 KB
/
pubspec.yaml
File metadata and controls
129 lines (120 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: converterpro
description: Unit and currencies converter
publish_to: none
version: 4.6.0+52
environment:
sdk: ">=3.11.0 <4.0.0"
flutter: ">=3.35.1 <4.0.0"
workspace:
- packages/calculator_widget
- packages/translations
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# Various collection utilities
collection: ^1.19.1
# App dynamic color theme
dynamic_color: ^1.8.1
# Required for import/export
file_picker: ^10.3.10
# State management
flutter_riverpod: ^3.2.1
# For svg icons
flutter_svg: ^2.2.3
# Navigation
go_router: ^17.1.0
# Downloading the exchange rates
http: ^1.6.0
# Translations
intl: ^0.20.2
# Required for import/export
path_provider: ^2.1.5
# Android app shortcuts
quick_actions: ^1.1.0
# Required for import/export
share_plus: ^12.0.1
# Store the customizations and the latest currencies conversions
shared_preferences: ^2.5.3
# Unit conversion
units_converter: ^3.1.0
# Open external pages such as GitHub repo, Play Store, etc
url_launcher: ^6.3.2
# Load optimized svg icons
vector_graphics: ^1.1.19
# Resize window during testing
window_size:
git:
url: https://github.com/google/flutter-desktop-embedding
ref: eb3964990cf19629c89ff8cb4a37640c7b3d5601
path: plugins/window_size
# Sub packages ---------------------------------------------------------------
# Calculator widget and logic
calculator_widget:
path: packages/calculator_widget
# App translations
translations:
path: packages/translations
dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
melos: ^7.4.0
msix: ^3.16.13
test: ^1.26.2
melos:
command:
bootstrap:
hooks:
post: melos run generate_translations && melos run compile_icons
scripts:
analyze:
run: melos exec -- "flutter analyze"
description: Run `flutter analyze` in all packages
format:
run: melos exec -- "flutter format . --set-exit-if-changed"
description: Run `flutter format .` in all packages
compile_icons:
steps:
- dart run vector_graphics_compiler --input-dir assets/app_icons --out-dir assets/app_icons_opti
- dart run vector_graphics_compiler --input-dir assets/property_icons --out-dir assets/property_icons_opti
- dart run vector_graphics_compiler --input-dir assets/flags --out-dir assets/flags_opti
description: Optimizes the svg icons.
generate_translations:
run: cd packages/translations && flutter gen-l10n
description: Generates translation files.
test:
run: melos exec --dir-exists=test -- "flutter test"
description: Run `flutter test` in all packages
msix_config:
display_name: Converter NOW
publisher_display_name: Damiano Ferrari
identity_name: 39826DamianoFerrari.ConverterNOW
logo_path: assets\logo.png
output_name: converternow-windows
publisher: CN=E8FE6044-F04C-422E-AC68-EDA83F6AAFB2
capabilities: internetClient
flutter:
uses-material-design: true
generate: true
fonts:
- family: JosefinSans
fonts:
- asset: assets/fonts/JosefinSans-Light.ttf
weight: 300
assets:
- assets/app_icons_opti/
- assets/fonts/OFL.txt
- assets/property_icons_opti/
- assets/flags_opti/
- assets/flags/br.png
- assets/flags/eu.png
- assets/flags/in.png
- assets/flags/mx.png
- assets/flags/nz.png
- assets/flags/us.png
- path: assets/logo.png
platforms: [windows]