-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
215 lines (215 loc) · 10.4 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"name": "@binarapps/baca-react-native-template",
"version": "2.3.0",
"description": "Expo template ready to develop mobile apps",
"type": "commonjs",
"keywords": [
"expo",
"template",
"expo-template",
"react-native",
"react-native-template",
"jest",
"eslint",
"prettier"
],
"main": "expo-router/entry",
"repository": {
"type": "git",
"url": "https://github.com/binarapps/baca-react-native-template.git"
},
"bugs": {
"url": "https://github.com/binarapps/baca-react-native-template/issues"
},
"author": "BinarApps",
"license": "MIT",
"scripts": {
"android:dev-client": "IS_DEV=1 npx expo run:android",
"baca": "yarn build:baca-cli && node ./scripts/cli/build/scripts/cli",
"b": "yarn baca b",
"g": "yarn baca g",
"build:baca-cli": "npx tsc -p ./scripts/cli/tsconfig.cli.json",
"build:production:android": "yarn prepare:production && eas build --platform android --profile production",
"build:production:ios": "yarn prepare:production && eas build --platform ios --profile production",
"build:production": "yarn prepare:production && eas build --platform all --profile production",
"build:qa:android": "yarn prepare:qa && eas build --platform android --profile qa",
"build:qa:ios": "yarn prepare:qa && eas build --platform ios --profile qa",
"build:qa": "yarn prepare:qa && eas build --platform all --profile qa",
"build:staging:android": "yarn prepare:staging && eas build --platform android --profile staging",
"build:staging:ios": "yarn prepare:staging && eas build --platform ios --profile staging",
"build:staging": "yarn prepare:staging && eas build --platform all --profile staging",
"deploy:production:android": "yarn prepare:production && eas build --platform android --profile production --auto-submit --non-interactive",
"deploy:production:ios": "yarn prepare:production && eas build --platform ios --profile production --auto-submit --non-interactive",
"deploy:production": "yarn prepare:production && eas build --platform all --profile production --auto-submit --non-interactive",
"deploy:qa:android": "yarn prepare:qa && eas build --platform android --profile qa --auto-submit --non-interactive",
"deploy:qa:ios": "yarn prepare:qa && eas build --platform ios --profile qa --auto-submit --non-interactive",
"deploy:qa": "yarn prepare:qa && eas build --platform all --profile qa --auto-submit --non-interactive",
"deploy:staging:android": "yarn prepare:staging && eas build --platform android --profile staging --auto-submit --non-interactive",
"deploy:staging:ios": "yarn prepare:staging && eas build --platform ios --profile staging --auto-submit --non-interactive",
"deploy:staging": "yarn prepare:staging && eas build --platform all --profile staging --auto-submit --non-interactive",
"eas-build-pre-install": "base64 --help && echo $ANDROID_FIREBASE_CONFIG | base64 --decode > google-services.json && cat google-services.json && echo $IOS_FIREBASE_CONFIG | base64 --decode > GoogleService-Info.plist && cat GoogleService-Info.plist",
"generate:env:production": "scripts/generate_dotenv.sh production",
"generate:env:qa": "scripts/generate_dotenv.sh qa",
"generate:env:staging": "scripts/generate_dotenv.sh staging",
"generate:google-services-config": "./scripts/generate_firebase_config.sh",
"generate:last:publish": "node ./scripts/generate_last_update_id.js",
"generate:query": "yarn orval --config ./orval.config.ts",
"ios:dev-client": "IS_DEV=1 npx expo run:ios",
"lint:fix": "eslint src --fix",
"lint": "eslint src && yarn tsc",
"postinstall": "patch-package && yarn build:baca-cli",
"prebuild:android": "IS_DEV=1 npx expo prebuild --clean -p android",
"prebuild:ios": "IS_DEV=1 npx expo prebuild --clean -p ios",
"prepare:env_file": "cp ./templates/doppler_variables_template.sh ./scripts/doppler_variables.sh",
"prepare:production": "yarn && yarn generate:env:production && yarn upload:env && yarn generate:google-services-config",
"prepare:qa": "yarn && yarn generate:env:qa && yarn upload:env && yarn generate:google-services-config",
"prepare:staging": "yarn && yarn generate:env:staging && yarn upload:env && yarn generate:google-services-config",
"prepare": "husky install",
"prettier:write": "prettier --write ./src",
"start:production": "yarn generate:env:production && IS_DEV=1 IS_EXPO_GO=1 expo start -c -g",
"start:staging": "yarn generate:env:staging && IS_DEV=1 IS_EXPO_GO=1 expo start -c -g",
"start": "yarn generate:env:qa && cross-env IS_DEV=1 IS_EXPO_GO=1 expo start -c -g",
"test:debug": "jest -o --watch --coverage=false",
"test:final": "jest",
"test": "jest --watch --coverage=false --changedSince=origin/main",
"typecheck": "eslint .eslintrc.js --fix",
"update:expo_go": "yarn prepare:qa && cross-env IS_DEV=1 eas update --auto",
"update:production:android": "yarn prepare:production && eas update --branch production --platform android && yarn generate:last:publish production",
"update:production:ios": "yarn prepare:production && eas update --branch production --platform ios && yarn generate:last:publish production",
"update:production": "yarn prepare:production && eas update --branch production --message=\"ENV: Production\" && yarn generate:last:publish production",
"update:qa:android": "yarn prepare:qa && eas update --branch qa --platform android && yarn generate:last:publish qa",
"update:qa:ios": "yarn prepare:qa && eas update --branch qa --platform ios && yarn generate:last:publish qa",
"update:qa": "yarn prepare:qa && eas update --branch qa --message=\"ENV: QA\" && yarn generate:last:publish qa",
"update:staging:android": "yarn prepare:staging && eas update --branch staging --platform android && yarn generate:last:publish staging",
"update:staging:ios": "yarn prepare:staging && eas update --branch staging --platform ios && yarn generate:last:publish staging",
"update:staging": "yarn prepare:staging && eas update --branch staging --message=\"ENV: Staging\" && yarn generate:last:publish staging",
"updateSnapshots": "jest -u --coverage=false",
"upload:env": "./scripts/upload_env.sh",
"web:build": "expo export:web",
"web": "cross-env IS_DEV=1 expo start --web",
"whoami": "expo whoami",
"android": "expo run:android",
"ios": "expo run:ios"
},
"dependencies": {
"@bacons/react-views": "^1.1.3",
"@expo/config-plugins": "~8.0.0",
"@expo/prebuild-config": "~7.0.0",
"@expo/vector-icons": "^14.0.0",
"@gorhom/bottom-sheet": "^4.6.0",
"@motify/interactions": "^0.17.1",
"@motify/skeleton": "^0.18.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/netinfo": "11.3.1",
"@react-native-google-signin/google-signin": "^11.0.0",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"@react-navigation/stack": "^6.3.20",
"@tanstack/react-query": "^4.29.19",
"axios": "^1.7.2",
"core-js": "^3.37.1",
"expo": "~51.0.8",
"expo-apple-authentication": "~6.4.1",
"expo-application": "~5.9.1",
"expo-asset": "~10.0.6",
"expo-build-properties": "~0.12.1",
"expo-clipboard": "~6.0.3",
"expo-constants": "~16.0.1",
"expo-crypto": "~13.0.2",
"expo-dev-client": "~4.0.14",
"expo-device": "~6.0.2",
"expo-font": "~12.0.5",
"expo-haptics": "~13.0.1",
"expo-image-picker": "~15.0.5",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-local-authentication": "~14.0.1",
"expo-localization": "~15.0.3",
"expo-network": "~6.0.1",
"expo-notifications": "~0.28.3",
"expo-router": "~3.5.14",
"expo-screen-orientation": "~7.0.5",
"expo-secure-store": "~13.0.1",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.4",
"expo-updates": "~0.25.14",
"expo-web-browser": "~13.0.3",
"i18next": "^23.7.20",
"jotai": "^2.8.1",
"jwt-decode": "^4.0.0",
"moti": "^0.25.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.5",
"react-i18next": "^14.1.2",
"react-native": "0.74.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-notificated": "^0.0.1-beta.2",
"react-native-pager-view": "6.3.0",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "~0.19.6",
"reactotron-react-native": "^5.1.7",
"sass": "^1.77.2",
"setimmediate": "^1.0.5",
"use-debounce": "^9.0.4"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-export-namespace-from": "^7.23.4",
"@babel/preset-react": "^7.23.3",
"@expo/config": "~9.0.0",
"@expo/webpack-config": "~19.0.1",
"@faker-js/faker": "^8.4.1",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-native": "^12.4.3",
"@types/jest": "^29.5.3",
"@types/react": "~18.2.79",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@welldone-software/why-did-you-render": "^7.0.1",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"babel-preset-expo": "^11.0.5",
"commander": "^12.1.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.1",
"enquirer": "^2.4.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-universe": "^11.2.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-native": "^4.0.0",
"eslint-plugin-react-native-globals": "^0.1.2",
"fast-text-encoding": "^1.0.6",
"husky": "^8.0.3",
"jest": "^29.6.1",
"jest-expo": "~51.0.2",
"lint-staged": "^13.2.3",
"msw": "^2.3.0",
"orval": "^6.29.1",
"patch-package": "^7.0.1",
"prettier": "^2.8.8",
"pretty-quick": "^4.0.0",
"react-native-url-polyfill": "^2.0.0",
"react-test-renderer": "^18.3.1",
"readline": "^1.3.0",
"text-encoding-polyfill": "^0.6.7",
"typescript": "~5.3.3",
"xmlhttprequest": "^1.8.0"
},
"browser": {
"crypto": false
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "./node_modules/.bin/eslint src --fix"
}
}