-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpubspec.yaml
More file actions
106 lines (90 loc) · 2.54 KB
/
Copy pathpubspec.yaml
File metadata and controls
106 lines (90 loc) · 2.54 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
name: boilerplate_melos_project
description: Boilerplate project
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+3
environment:
sdk: ">=3.7.2 <4.0.0"
dependencies:
flutter:
sdk: flutter
workspace:
- apps/app_core
- packages/api_client
- packages/app_notification_service
- packages/app_subscription
- packages/app_translations
- packages/app_ui
- packages/widgetbook
dependency_overrides:
web: ^1.1.1
source_gen: ^4.1.1
dev_dependencies:
flutter_test:
sdk: flutter
husky: ^0.1.7
melos: ^7.3.0
flutter_lints: ^6.0.0
lint_staged:
"lib/**.dart": dart format -l 70 && dart analyze --fatal-infos --fatal-warnings
melos:
useRootAsPackage: true
scripts:
analyze:
description: Analyze all Dart & Flutter packages
exec:
concurrency: 10
build-runner:
description: Generate environment config, routes & code
packageFilters:
flutter: true
scope: app_core
exec: dart run build_runner build --delete-conflicting-outputs
asset-gen:
description: Generate assets
packageFilters:
flutter: true
scope: app_ui
exec: dart run build_runner build --delete-conflicting-outputs
locale-gen:
description: Generate localization
packageFilters:
flutter: true
scope: app_translations
exec: dart run slang
build-apk:
description: Build Android APK (production)
packageFilters:
flutter: true
scope: app_core
exec: flutter build apk -t lib/main_production.dart --flavor prod
build-bundle:
description: Build Android App Bundle
packageFilters:
flutter: true
scope: app_core
exec: flutter build appbundle -t lib/main_production.dart
build-ipa:
description: Build iOS IPA (production)
packageFilters:
flutter: true
scope: app_core
exec: flutter build ipa -t lib/main_production.dart --flavor prod
go-ios-go:
description: Reset iOS Pods & reinstall
packageFilters:
scope: app_core
exec: |
cd ios
rm -rf Pods Podfile.lock
pod install --repo-update
widgetbook-gen:
description: Generate Widgetbook files
packageFilters:
scope: widgetbook_workspace
exec: dart run build_runner build --delete-conflicting-outputs
format:
description: Format & fix Dart code
dart format . --line-length 70 --output=none
dart fix --apply --code=require_trailing_commas
exec:
concurrency: 10