-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
221 lines (221 loc) · 9.49 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
216
217
218
219
220
221
{
"name": "litten",
"description": "Finding new friends for furry friends",
"version": "1.2.1",
"private": true,
"main": "./index.js",
"directories": {
"lib": "./lib"
},
"keywords": [
"adoption",
"android",
"animals",
"free",
"humanitarian",
"ios",
"litten",
"mobile",
"non-profit",
"open-source",
"react-native",
"welfare"
],
"author": {
"name": "João Carmo",
"email": "17721880+joaocarmo@users.noreply.github.com"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/joaocarmo/litten-app/issues"
},
"homepage": "https://github.com/joaocarmo/litten-app#readme",
"contributors": [
{
"name": "Tânia Matos"
},
{
"name": "James Briscoe"
}
],
"scripts": {
"addmedia:android": "adb mkdir /sdcard/Pictures && adb push $IMG_PATH /sdcard/Pictures",
"addmedia:ios": "xcrun simctl addmedia booted $IMG_PATH",
"android": "react-native run-android",
"background-fetch:android:headless": "adb shell am broadcast -a com.litten.event.BACKGROUND_FETCH",
"background-fetch:android:job": "adb shell cmd jobscheduler run -f com.litten 999",
"build:android:aab-to-apk": "bundletool build-apks --bundle=android/app/build/outputs/bundle/release/app-release.aab --output=dist/litten.apks --ks=android/app/litten.keystore --ks-key-alias=litten-android --ks-pass=pass:$KEYSTORE_PWD --key-pass=pass:$KEYSTORE_PWD",
"build:android:test": "react-native run-android --variant=release",
"build:android": "cd android && ./gradlew clean bundleRelease assembleRelease; cd -",
"bundle:android": "react-native bundle --dev false --platform android --entry-file index.js --bundle-output dist/index.android.bundle --sourcemap-output dist/index.android.bundle.map",
"bundle:ios": "react-native bundle --dev false --platform ios --entry-file index.js --bundle-output dist/index.ios.bundle --sourcemap-output dist/index.ios.bundle.map",
"clear-cache:all": "watchman watch-del-all && rimraf /tmp/metro-* && rimraf node_modules/ && yarn install && yarn start --reset-cache",
"clear-cache:babel": "rimraf node_modules/.cache/babel-loader/*",
"clear-cache:gradlew": "cd android && ./gradlew clean && cd -",
"clear-cache:xcode": "rimraf ios/litten.xcworkspace/xcshareddata/ ios/litten.xcworkspace/xcuserdata/",
"clear-cache": "watchman watch-del-all && rimraf /tmp/metro-* && yarn start --reset-cache",
"firestore:seed": "firebase emulators:exec 'ts-node ./scripts/firestore-seed.ts' --import=./firebase --export-on-exit",
"generate-data": "./scripts/generate-data.sh",
"ios:device:production": "react-native run-ios --configuration Release --device $IOS_DEVICE_NAME",
"ios:device": "react-native run-ios --device $IOS_DEVICE_NAME",
"ios": "test -z \"$IOS_SIMULATOR_NAME\" && react-native run-ios --simulator \"$IOS_SIMULATOR_NAME\" || react-native run-ios",
"link:android:litten": "adb shell am start -W -a android.intent.action.VIEW -d \"https://litten.app/open/litten/$LITTEN_UID\"",
"link:android:verification": "adb shell am start -W -a android.intent.action.VIEW -d \"https://litten.app/open/verification?mode=action&oobCode=code\"",
"link:ios:litten": "xcrun simctl openurl booted https://litten.app/open/litten/$LITTEN_UID",
"link:ios:verification": "xcrun simctl openurl booted 'https://litten.app/open/verification?mode=action&oobCode=code'",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"log:android": "react-native log-android",
"log:ios": "react-native log-ios",
"pods": "pod-install",
"postinstall": "patch-package && husky install",
"postversion": "react-native-version --never-amend",
"prepare-data": "yarn generate-data && yarn sort-data",
"prepare": "husky install",
"pretty:fix": "prettier --write .",
"pretty": "prettier --check .",
"push": "git add . && gitmoji -c && git push",
"react-devtools": "react-devtools",
"redux-devtools": "(adb reverse tcp:8000 tcp:8000 || true) && redux-devtools --hostname=localhost --port=8000",
"sanity-check": "yarn lint && yarn pretty && yarn type-check && yarn test",
"sort-data": "ts-node ./scripts/sort-data.ts",
"start:android": "yarn android && yarn start:firebase",
"start:firebase": "firebase emulators:start --import=./firebase --export-on-exit",
"start:ios": "yarn ios && yarn start:firebase",
"start": "react-native start",
"test:firestore:integration": "firebase emulators:exec --only firestore 'jest --runInBand --selectProjects model --forceExit'",
"test:firestore:rules": "firebase emulators:exec --only firestore 'jest --selectProjects rules --forceExit'",
"test": "jest --selectProjects default --forceExit",
"translations-check": "ts-node ./scripts/validate-translations.ts",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{js,jsx,ts,tsx,json,yml,yaml,md}": "prettier --write"
},
"dependencies": {
"@expo/react-native-action-sheet": "^3.14.0",
"@react-native-async-storage/async-storage": "^1.18.1",
"@react-native-clipboard/clipboard": "^1.11.2",
"@react-native-community/hooks": "^2.8.1",
"@react-native-community/netinfo": "^9.3.10",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-community/slider": "^4.4.2",
"@react-native-firebase/analytics": "^16.7.0",
"@react-native-firebase/app": "^16.7.0",
"@react-native-firebase/auth": "^16.7.0",
"@react-native-firebase/crashlytics": "^16.7.0",
"@react-native-firebase/firestore": "^16.7.0",
"@react-native-firebase/remote-config": "^16.7.0",
"@react-native-firebase/storage": "^16.7.0",
"@react-native-picker/picker": "^2.4.10",
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"@reduxjs/toolkit": "^1.9.5",
"async-retry": "^1.3.3",
"base-64": "^1.0.0",
"crypto-js": "^4.1.1",
"dataloader": "^2.2.2",
"dayjs": "^1.11.7",
"i18n-js": "^3.7.1",
"libphonenumber-js": "^1.10.30",
"react": "18.2.0",
"react-native": "0.71.8",
"react-native-bootsplash": "^4.7.1",
"react-native-device-info": "^10.6.0",
"react-native-dialog": "^9.3.0",
"react-native-easy-chat": "^0.18.0",
"react-native-expo-viewport-units": "^0.0.8",
"react-native-fast-image": "^8.6.3",
"react-native-geolocation-service": "^5.3.1",
"react-native-gesture-handler": "^2.10.1",
"react-native-get-random-values": "^1.9.0",
"react-native-image-crop-picker": "^0.38.1",
"react-native-localize": "^2.2.6",
"react-native-logs": "^5.0.1",
"react-native-maps": "^1.7.1",
"react-native-popup-menu": "^0.16.1",
"react-native-push-notification": "^8.1.1",
"react-native-reanimated": "^2.17.0",
"react-native-safe-area-context": "^4.5.3",
"react-native-screens": "^3.20.0",
"react-native-simple-toast": "^1.1.4",
"react-native-svg": "^12.5.1",
"react-native-swipe-list-view": "^3.2.9",
"react-native-webview": "^11.26.1",
"react-redux": "^8.0.5",
"redux": "^4.2.1",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
"@babel/plugin-transform-react-jsx": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@babel/runtime": "^7.21.5",
"@firebase/rules-unit-testing": "^2.0.7",
"@react-native-community/eslint-config": "^3.2.0",
"@redux-devtools/cli": "^1.0.6",
"@testing-library/react-native": "^10.1.1",
"@tsconfig/react-native": "^2.0.3",
"@types/async-retry": "^1.4.5",
"@types/base-64": "^1.0.0",
"@types/crypto-js": "^4.1.1",
"@types/flat": "^5.0.2",
"@types/glob": "^8.1.0",
"@types/i18n-js": "^3.8.4",
"@types/jest": "^29.5.1",
"@types/lodash": "^4.14.194",
"@types/papaparse": "^5.3.7",
"@types/preval.macro": "^3.0.0",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"@types/remote-redux-devtools": "^0.5.5",
"@types/source-map": "^0.5.7",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@withshepherd/faker": "^5.5.5",
"babel-jest": "^29.5.0",
"babel-loader": "^8.3.0",
"babel-plugin-dotenv-import": "^2.2.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-module-resolver": "^4.1.0",
"camelcase": "6.3.0",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"firebase": "^9.22.0",
"firebase-admin": "^11.8.0",
"flat": "^5.0.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"jsonschema": "^1.4.1",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"metro-react-native-babel-preset": "0.73.9",
"papaparse": "^5.4.1",
"patch-package": "^6.5.1",
"pinst": "^3.0.0",
"pod-install": "^0.1.39",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.8",
"preval.macro": "^5.0.0",
"react-devtools": "^4.27.8",
"react-native-svg-transformer": "^1.0.0",
"react-native-version": "^4.0.0",
"react-test-renderer": "18.2.0",
"remote-redux-devtools": "^0.5.16",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"world-countries": "^4.0.0"
}
}