-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
54 lines (54 loc) · 3.6 KB
/
package.json
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
{
"name": "lunasea",
"description": "Self-Hosted Controller",
"version": "10.2.6",
"private": true,
"scripts": {
"build:android": "flutter clean && flutter build apk --release",
"build:ios": "flutter clean && flutter build ipa --release",
"build:linux": "flutter clean && flutter build linux --release",
"build:macos": "flutter clean && flutter build macos --release",
"build:windows": "flutter clean && flutter build windows --release",
"build:web": "flutter clean && flutter build web --web-renderer canvaskit --release",
"cocoapods:clear_cache": "rm -rf ~/Library/Caches/CocoaPods && rm -rf ~/Library/Developer/Xcode/DerivedData/*",
"cocoapods:nuke": "npm run cocoapods:nuke:ios && npm run cocoapods:nuke:macos",
"cocoapods:nuke:ios": "cd ios && rm -rf Pods && rm -rf Podfile.lock && pod deintegrate && pod setup && pod install --repo-update",
"cocoapods:nuke:macos": "cd macos && rm -rf Pods && rm -rf Podfile.lock && pod deintegrate && pod setup && pod install --repo-update",
"commit": "git add . && cz",
"fastlane:update": "npm run fastlane:update:ios && npm run fastlane:update:macos && npm run fastlane:update:android",
"fastlane:update:android": "cd android && bundle update",
"fastlane:update:ios": "cd ios && bundle update",
"fastlane:update:macos": "cd macos && bundle update",
"generate": "npm run generate:environment && npm run generate:assets && npm run generate:build_runner && npm run generate:localization",
"generate:assets": "dart pub global activate spider && spider build",
"generate:build_runner": "dart run build_runner build --delete-conflicting-outputs",
"generate:build_runner:watch": "dart run build_runner watch --delete-conflicting-outputs",
"generate:environment": "dart run environment_config:generate",
"generate:localization": "dart ./scripts/generate_localization.dart",
"git:ignore": "npm run git:ignore:firebase && npm run git:ignore:changelog",
"git:ignore:firebase": "git update-index --skip-worktree lib/firebase/options.dart",
"git:ignore:changelog": "git update-index --skip-worktree assets/changelog.json",
"prepare": "husky install && npm run git:ignore && flutter pub get",
"prepare:keychain": "npm run prepare:keychain:ios && npm run prepare:keychain:macos",
"prepare:keychain:ios": "cd ios && bundle exec fastlane keychain_create && bundle exec fastlane keychain_setup",
"prepare:keychain:macos": "cd macos && bundle exec fastlane keychain_create && bundle exec fastlane keychain_setup",
"profile": "flutter run --profile --purge-persistent-cache",
"release": "cross-env HUSKY=0 standard-version --no-verify --commit-all --sign",
"release:changelog": "npm run release -- --dry-run",
"release:flavor:edge": "cross-env HUSKY=0 git commit --no-verify --allow-empty -m \"release(testflight): edge\" -m \"[skip ci]\"",
"release:flavor:beta": "cross-env HUSKY=0 git commit --no-verify --allow-empty -m \"release(testflight): beta\" -m \"[skip ci]\"",
"release:prepare": "npm run cocoapods:nuke && npm run generate && npm run fastlane:update",
"version": "npm run version:pubspec && npm run version:snapcraft",
"version:pubspec": "yq -i \".version = \\\"$(jq -r .version package.json)+1\\\"\" pubspec.yaml",
"version:snapcraft": "yq -i \".version = \\\"$(jq -r .version package.json)\\\"\" snap/snapcraft.yaml"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.3",
"standard-version": "^9.5.0"
}
}