-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
159 lines (159 loc) · 6.36 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
{
"name": "mapswipe",
"version": "2.2.9",
"build": "2",
"private": true,
"scripts": {
"buildDev": "cd android && ./gradlew assembleDevRelease && cd ..",
"buildProd": "cd android && ./gradlew assembleProductionRelease && cd ..",
"buildiOS": "react-native bundle --entry-file='index.js' --bundle-output='./ios/mapswipe/main.jsbundle' --platform='ios'",
"bundleDev": "cd android && ./gradlew bundleDevRelease && cd ..",
"bundleProd": "cd android && ./gradlew bundleProductionRelease && cd ..",
"detoxTestAndroid": "detox build -c android.ci.debug && detox test -c android.ci.debug",
"detoxTestIOS": "detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"postinstall": "patch-package",
"lint": "eslint src __tests__ --cache",
"lintJson": "jsonlint -q locales/en.json",
"reduxDebugger": "remotedev-debugger --hostname localhost --port 5678 --injectserver",
"runAndroid": "cd android && ./gradlew installDevDebug && adb -d shell am start -n org.missingmaps.mapswipe.dev/org.missingmaps.mapswipe.MainActivity ; cd ..",
"start": "react-native start",
"test": "jest --forceExit",
"preversion": "echo 'yarn version is disabled. Please use ./scripts/version.sh instead.'; exit 1"
},
"jest": {
"preset": "native-testing-library",
"testPathIgnorePatterns": [
"e2e",
"/node_modules/",
"__tests__/fixtures"
],
"transformIgnorePatterns": [
"node_modules/(?!(react-native|react-native-firebase|react-native-message-bar|react-native-modalbox|@react-native-community|react-native-check-box|react-native-splash-screen)/)"
]
},
"dependencies": {
"@apollo/client": "^3.6.9",
"@mapbox/tilebelt": "^1.0.1",
"@react-native-async-storage/async-storage": "^1.15.5",
"@react-native-community/cli": "9.0.0",
"@react-native-community/cli-platform-android": "^11.3.8",
"@react-native-community/netinfo": "^4.0.0",
"@react-native-firebase/analytics": "^14.12.0",
"@react-native-firebase/app": "^14.12.0",
"@react-native-firebase/auth": "^14.12.0",
"@react-native-firebase/database": "^14.12.0",
"@react-native-firebase/storage": "^14.12.0",
"@react-native-masked-view/masked-view": "^0.2.8",
"@sentry/react-native": "^3.1.1",
"deprecated-react-native-prop-types": "^4.0.0",
"graphql": "^16.5.0",
"i18next": "^19.0.0",
"intl": "^1.2.5",
"lodash.get": "^4.4.2",
"pako": "^1.0.11",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"react": "18.2.0",
"react-i18next": "^11.5.0",
"react-native": "0.72.5",
"react-native-animatable": "^1.3.0",
"react-native-bootsplash": "^3.2.4",
"react-native-bouncy-checkbox": "^3.0.6",
"react-native-device-info": "^10.6.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-linear-gradient": "^2.5.6",
"react-native-message-bar": "^2.0.10",
"react-native-modalbox": "^2.0.0",
"react-native-pager-view": "^5.2.1",
"react-native-progress": "^5.0.0",
"react-native-safe-area-context": "^4.5.0",
"react-native-screens": "^3.20.0",
"react-native-simple-markdown": "mapswipe/react-native-simple-markdown#master",
"react-native-svg": "^12.1.1",
"react-native-swiper": "^1.6.0",
"react-native-webview": "^11.22.7",
"react-navigation": "^4.4.4",
"react-navigation-stack": "^2.10.4",
"react-redux": "^7.2.0",
"react-redux-firebase": "^3.3.0",
"redux": "^4.0.1",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/codegen": "^0.73.1",
"@react-native/eslint-config": "^0.73.1",
"@react-native/js-polyfills": "^0.73.1",
"@react-native/metro-babel-transformer": "^0.73.11-nightly-20230807-f9a63ec00",
"@react-native/metro-config": "^0.73.1",
"@tsconfig/react-native": "^3.0.0",
"@types/jest": "^29.2.1",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^29.2.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"base-64": "^1.0.0",
"eslint": "^8.51.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-flowtype": "^8.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-native": "^3.8.1",
"eslint_d": "^12.2.0",
"firebase-mock": "^2.2.10",
"flow-bin": "0.182.0",
"jest": "^29.2.1",
"jsonlint": "^1.6.3",
"metro-config": "^0.79.1",
"metro-react-native-babel-preset": "^0.76.8",
"metro-runtime": "^0.79.1",
"native-testing-library": "^3.1.2",
"prettier": "^2.4.1",
"react-test-renderer": "18.2.0",
"redux-devtools-extension": "^2.13.8",
"typescript": "4.8.4"
},
"engines": {
"node": ">=16"
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/mapswipe.app",
"build": "xcodebuild -workspace ios/mapswipe.xcworkspace -scheme mapswipe -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7"
},
"android.ci.debug": {
"binaryPath": "android/app/build/outputs/apk/dev/debug/app-dev-debug.apk",
"build": "cd android && ./gradlew assembleDevDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "ci_avd"
},
"android.emuandroid26.debug": {
"binaryPath": "android/app/build/outputs/apk/dev/debug/app-dev-debug.apk",
"build": "cd android && ./gradlew assembleDevDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "android26"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=DevRelease && cd ..",
"type": "android.emulator",
"name": "Nexus_5X_API_26"
}
},
"test-runner": "jest"
}
}