-
Notifications
You must be signed in to change notification settings - Fork 592
Expand file tree
/
Copy pathpackage.json
More file actions
386 lines (386 loc) · 18.5 KB
/
Copy pathpackage.json
File metadata and controls
386 lines (386 loc) · 18.5 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
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
{
"name": "eigen",
"version": "1.21.52",
"license": "MIT",
"description": "Artsy mobile app.",
"engines": {
"node": "24.x",
"yarn": "4.10.3"
},
"reactNativePermissionsIOS": [
"Notifications"
],
"main": "index.js",
"scripts": {
"android": "react-native run-android --active-arch-only",
"android:cached": "WITH_ROZENITE=true npx expo run:android",
"android:test": "cd android && ./gradlew testDebugUnitTest --parallel && cd ..",
"android:test:ci": "cd android && ./gradlew testDebugUnitTest --parallel --no-daemon --max-workers=2 && cd ..",
"check-flags": "./scripts/check-flags/check-flags.js",
"ci": "yarn ci:type-check && yarn ci:lint && yarn prettier-project -l && rm -rf src/__generated__ && yarn relay && yarn ci:test",
"ci:lint": "yarn lint --format json --out eslint-errors.json",
"ci:type-check": "tsc --pretty false | tee tsc_raw.log",
"clean": "./scripts/utils/clean",
"clean:light": "./scripts/utils/clean --light",
"clean:builds": "yarn clean-ios; yarn clean-android",
"clean-android": "cd android; ./gradlew clean; cd -",
"clean-ios": "yarn rimraf ~/Library/Developer/Xcode/DerivedData",
"clear-local-build-cache": "rm -rf node_modules/.expo-build-disk-cache",
"danger": "danger",
"dead-code": "./scripts/utils/check-dead-code.sh",
"deploy-beta": "./scripts/deploys/deploy-beta-both",
"detect-secrets:hook": "scripts/detect-secrets/detect-secrets.sh hook",
"detect-secrets:rebuild": "scripts/detect-secrets/detect-secrets.sh rebuild",
"create-qa": "tsx scripts/create-qa-document/createQaDocument.ts",
"doctor": "./scripts/utils/doctor.js",
"export-notion-to-jira": "tsx scripts/utils/exportNotionTicketsToJira.ts",
"assign-team-labels-pbrw-tickets": "tsx scripts/utils/assignPBRWTicketsToTeams.ts",
"repair": "./scripts/utils/repair",
"repair:light": "./scripts/utils/repair --light",
"flip-table-extreme": "./scripts/utils/flip-table-extreme",
"generate-cities-cache": "node scripts/city-guide/generate-cities-cache.js",
"generate-cities-objc": "node scripts/city-guide/generate-cities-objc.js",
"generate-changelog": "tsx scripts/changelog/generateChangelog.ts",
"route-drift": "tsx scripts/route-drift/generate.ts",
"navigate-to-route": "./scripts/utils/navigate-to-route",
"navigate-to-route-android": "./scripts/utils/navigate-to-route-android",
"latest-remote-fingerprint": "./scripts/utils/latest-remote-fingerprint",
"init-metaflags": "jq -Rn '{ }' | sponge metaflags.json",
"install:all": "./scripts/setup/install",
"ios:no-cache": "react-native run-ios --udid=\"$(xcrun simctl list | awk -F'[()]' '/(Booted)/ { print $2 }')\"",
"ios": "WITH_ROZENITE=true bundle exec npx expo run:ios",
"local-palette-dev": "./scripts/palette/yalc-link-local-palette",
"local-palette-dev:stop": "./scripts/palette/yalc-unlink-local-palette",
"lint": "eslint --cache --cache-location '.cache/eslint/' --ext .ts,.tsx --fix",
"lint:all": "yarn lint .",
"maestro:android:release:build": "cd android; ./gradlew bundleRelease; cd ..",
"maestro:android:release:install": "cd android; ./gradlew installRelease; cd ..",
"maestro:ios:release:build": "xcodebuild -workspace ios/Artsy.xcworkspace -scheme Artsy -configuration Store -sdk iphonesimulator -derivedDataPath ios/build",
"maestro:ios:release:install": "xcrun simctl install booted ios/build/Build/Products/Store-iphonesimulator/Artsy.app",
"open-emulator": "emulator -avd $(emulator -list-avds | head -1) &",
"open-sim": "open -a Simulator",
"open-url": "npx uri-scheme open",
"open-xcode": "open ios/Artsy.xcworkspace",
"patch-package": "./scripts/utils/patch-package",
"pod-install": "cd ios; bundle exec npx pod-install; cd ..; ./scripts/setup/post-pod-install.rb",
"postinstall": "yarn init-metaflags; prettier --write package.json; ./scripts/setup/update-echo",
"prepare": "husky install",
"prettier-project": "yarn run prettier-write 'src/**/*.{ts,tsx}'",
"prettier-write": "prettier --write",
"relay": "[ -f data/complete.queryMap.json ] || echo '{}' > data/complete.queryMap.json && relay-compiler --repersist",
"relay:watch": "yarn relay --watch",
"setup:artsy": "./scripts/setup/setup-env-for-artsy",
"setup:artsy:update!": "scripts/setup/update-env-for-artsy",
"setup:oss": "./scripts/setup/setup-env-for-oss",
"setup:maestro:android": "./scripts/setup/setup-env-for-maestro android",
"setup:maestro:ios": "./scripts/setup/setup-env-for-maestro ios",
"setup:maestro:update!": "scripts/setup/update-env-for-maestro",
"setup:releases": "./scripts/setup/setup-env-for-artsy && ./scripts/setup/setup-env-for-releases",
"setup:releases:update!": "scripts/setup/update-env-for-releases",
"start": "WITH_ROZENITE=true concurrently --raw 'react-native start' 'yarn relay:watch'",
"start:reset-cache": "yarn start --reset-cache",
"sync-schema": "curl https://raw.githubusercontent.com/artsy/metaphysics/main/_schemaV2.graphql -o data/schema.graphql; yarn prettier --write --parser graphql data/schema.graphql",
"sync-schema:localhost": "cd ../metaphysics && yarn dump-schema ../eigen/data/schema.graphql && cd -; yarn prettier --write --parser graphql data/schema.graphql",
"test": "jest",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"test:watch": "jest --watch",
"type-check": "yarn relay; yarn tsc",
"which-build": "./scripts/deploys/which-build",
"which-submission": "./scripts/deploys/which-build --submission",
"update-metaphysics": "node scripts/update-metaphysics.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/artsy/eigen.git"
},
"keywords": [
"artsy",
"react",
"react-native"
],
"contributors": "See docs/thanks.md",
"bugs": {
"url": "https://github.com/artsy/eigen/issues"
},
"homepage": "https://github.com/artsy/eigen#readme",
"files": [
"index.js",
"data",
"app"
],
"dependenciesComments": {
"react-native": "Try running `npx @rnx-kit/align-deps --requirements react-native@0.66.5` when upgrading to a version, here 0.66.5",
"@babel/plugin-transform-named-capturing-groups-regex": "Needed for compiling android with hermes enabled",
"braces": "in the resolutions - needed to resolve a security dependency issue - need to remove this when the issue is resolved and packages are updated",
"shell-quote": "Pinned to 1.9.0 to fix GHSA-w7jw-789q-3m8p (critical) and GHSA-395f-4hp3-45gv (ReDoS). @segment/sovran-react-native exact-pins the vulnerable 1.8.0 with no fixed release; remove this once Segment bumps it upstream.",
"postcss": "Pinned to fix GHSA-6g55-p6wh-862q and GHSA-r28c-9q8g-f849 (path traversal / arbitrary file disclosure via sourceMappingURL). expo (via @expo/metro-config@55.0.21) exact-pins postcss@~8.4.32, and styled-components@6.1.19 exact-pins postcss@8.4.49, neither of which is patched; remove this once expo/styled-components bump their postcss dependency upstream.",
"fast-xml-parser": "Bumped from 5.5.6 to 5.10.1 to additionally fix GHSA-gh4j-gqv2-49f6 (XMLBuilder comment/CDATA injection via unescaped delimiters) and GHSA-jp2q-39xq-3w4g (entity expansion limit bypassed when set to zero); see comment history for the original CVEs this resolution addressed. @react-native-community/cli-config-android and cli-platform-apple both request ^4.4.1, which has no patched release for GHSA-gh4j-gqv2-49f6; remove this once the RN CLI moves to fast-xml-parser 5.x.",
"sharp": "Pinned to 0.35.0 to fix GHSA-f88m-g3jw-g9cj. react-native-bootsplash@7.1.0 exact-caret-pins sharp@^0.34.5 (excludes 0.35.0); remove this once react-native-bootsplash is bumped to 7.3.2+ (which requires sharp@^0.35.2).",
"tmp": "Pinned to 0.2.7 to fix GHSA-ph9p-34f9-6g65 (arbitrary file/directory write via symlink). @artsy/update-repo@0.8.2 (latest) exact-pins tmp@^0.1.0 with no patched release on that line; remove this once @artsy/update-repo bumps its tmp dependency upstream."
},
"dependencies": {
"@artsy/changelog": "0.1.0",
"@artsy/cohesion": "4.395.0",
"@artsy/icons": "3.76.0",
"@artsy/palette-mobile": "24.12.0",
"@artsy/to-title-case": "1.2.0",
"@braze/react-native-sdk": "16.1.0",
"@d11/react-native-fast-image": "patch:@d11/react-native-fast-image@npm%3A8.13.0#~/.yarn/patches/@d11-react-native-fast-image-npm-8.13.0-1ba5757ff5.patch",
"@expo/react-native-action-sheet": "4.1.1",
"@gorhom/bottom-sheet": "patch:@gorhom/bottom-sheet@npm%3A5.2.8#~/.yarn/patches/@gorhom-bottom-sheet-npm-5.2.8-1ad4b8f529.patch",
"@gorhom/portal": "1.0.14",
"@invertase/react-native-apple-authentication": "2.1.5",
"@kesha-antonov/react-native-action-cable": "1.1.4",
"@notifee/react-native": "9.1.8",
"@preeternal/react-native-cookie-manager": "6.3.2",
"@ptomasroos/react-native-multi-slider": "2.2.2",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-clipboard/clipboard": "1.16.2",
"@react-native-community/geolocation": "3.4.0",
"@react-native-community/netinfo": "11.5.2",
"@react-native-documents/picker": "10.1.5",
"@react-native-documents/viewer": "4.0.0",
"@react-native-firebase/app": "23.1.0",
"@react-native-firebase/messaging": "23.1.0",
"@react-native-google-signin/google-signin": "16.1.2",
"@react-native-menu/menu": "1.2.2",
"@react-navigation/bottom-tabs": "patch:@react-navigation/bottom-tabs@npm%3A7.4.8#~/.yarn/patches/@react-navigation-bottom-tabs-npm-7.4.8-466ddd2097.patch",
"@react-navigation/elements": "2.6.5",
"@react-navigation/material-top-tabs": "7.3.8",
"@react-navigation/native": "7.1.18",
"@react-navigation/native-stack": "7.3.27",
"@react-navigation/stack": "7.4.9",
"@rnmapbox/maps": "10.3.1",
"@segment/analytics-react-native": "2.24.0",
"@segment/analytics-react-native-plugin-braze": "0.9.0",
"@segment/sovran-react-native": "1.1.4",
"@sentry/react-native": "8.13.0",
"@shopify/flash-list": "2.2.2",
"@stripe/stripe-react-native": "0.63.0",
"@styled-system/theme-get": "5.1.2",
"@unleash/proxy-client-react": "4.5.2",
"autosuggest-highlight": "3.3.4",
"easy-peasy": "6.1.0",
"events": "3.3.0",
"expo": "55.0.24",
"expo-build-properties": "55.0.14",
"expo-navigation-bar": "55.0.13",
"expo-updates": "patch:expo-updates@npm%3A55.0.22#~/.yarn/patches/expo-updates-npm-55.0.22-990b55bddd.patch",
"formik": "2.2.9",
"html-entities": "2.3.3",
"jwt-decode": "4.0.0",
"limiter": "2.1.0",
"lodash": "4.18.1",
"luxon": "2.5.2",
"moti": "0.30.0",
"ordinal": "1.0.3",
"query-string": "4.3.4",
"react": "19.2.0",
"react-error-boundary": "4.0.13",
"react-fps": "1.0.6",
"react-native": "patch:react-native@npm%3A0.83.6#~/.yarn/patches/react-native-npm-0.83.6-hermes-checksum.patch",
"react-native-blob-util": "0.19.11",
"react-native-blurhash": "2.1.3",
"react-native-bootsplash": "7.1.0",
"react-native-collapsible-tab-view": "patch:react-native-collapsible-tab-view@npm%3A9.0.0-rc.0#~/.yarn/patches/react-native-collapsible-tab-view-npm-9.0.0-rc.0-5363b327de.patch",
"react-native-device-info": "14.0.0",
"react-native-fbsdk-next": "13.4.1",
"react-native-gesture-handler": "2.30.0",
"react-native-get-random-values": "1.11.0",
"react-native-haptic-feedback": "1.13.0",
"react-native-image-crop-picker": "0.51.1",
"react-native-in-app-review": "4.3.3",
"react-native-ios-context-menu": "patch:react-native-ios-context-menu@npm%3A3.2.0#~/.yarn/patches/react-native-ios-context-menu-npm-3.2.0-17e9444bdf.patch",
"react-native-ios-utilities": "5.2.0",
"react-native-keyboard-controller": "1.21.7",
"react-native-keychain": "10.0.0",
"react-native-keys": "patch:react-native-keys@npm%3A0.7.13#~/.yarn/patches/react-native-keys-npm-0.7.13-00e9deb63c.patch",
"react-native-launch-arguments": "git+https://github.com/artsy/react-native-launch-arguments.git#v4.1.0-new-architecture-2",
"react-native-linear-gradient": "2.8.3",
"react-native-localize": "3.5.2",
"react-native-pager-view": "8.0.2",
"react-native-permissions": "5.4.4",
"react-native-reanimated": "4.3.2",
"react-native-reanimated-zoom": "0.3.3",
"react-native-render-html": "6.3.4",
"react-native-safe-area-context": "patch:react-native-safe-area-context@npm%3A5.6.2#~/.yarn/patches/react-native-safe-area-context-npm-5.6.2-8af8830f4e.patch",
"react-native-screens": "4.23.0",
"react-native-shake": "6.8.1",
"react-native-share": "12.0.9",
"react-native-svg": "15.15.3",
"react-native-url-polyfill": "2.0.0",
"react-native-view-shot": "5.1.1",
"react-native-vimeo-iframe": "1.2.1",
"react-native-webview": "13.16.0",
"react-native-worklets": "0.8.3",
"react-native-youtube-iframe": "2.4.1",
"react-relay": "18.2.0",
"react-tracking": "9.3.2",
"react-use": "^17.6.1",
"remove-markdown": "0.5.0",
"semver": "7.5.2",
"sift-react-native": "patch:sift-react-native@npm%3A0.1.15#~/.yarn/patches/sift-react-native-npm-0.1.15-61730a007d.patch",
"simple-markdown": "0.7.3",
"styled-components": "6.1.19",
"styled-system": "5.1.5",
"supercluster": "7.1.5",
"unleash-proxy-client": "3.8.2",
"url": "0.11.3",
"uuid": "14.0.0",
"victory-native": "37.3.4",
"yup": "0.31.1",
"zeego": "3.0.6"
},
"devDependencies": {
"@artsy/update-repo": "0.8.2",
"@babel/core": "7.26.0",
"@babel/plugin-proposal-decorators": "7.18.9",
"@babel/plugin-transform-flow-strip-types": "7.18.9",
"@babel/plugin-transform-named-capturing-groups-regex": "7.20.5",
"@babel/preset-env": "7.25.3",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "7.26.10",
"@octokit/rest": "16.34.1",
"@react-native-community/cli": "20.0.0",
"@react-native-community/cli-platform-android": "20.0.0",
"@react-native-community/cli-platform-ios": "20.0.0",
"@react-native/babel-preset": "0.83.6",
"@react-native/eslint-config": "0.83.6",
"@react-native/metro-config": "0.83.6",
"@react-native/typescript-config": "0.83.6",
"@react-navigation/devtools": "7.0.20",
"@rnx-kit/align-deps": "3.3.0",
"@rozenite/expo-atlas-plugin": "2.1.0",
"@rozenite/metro": "2.1.0",
"@rozenite/network-activity-plugin": "2.1.0",
"@rozenite/performance-monitor-plugin": "2.1.0",
"@rozenite/react-navigation-plugin": "2.1.0",
"@testing-library/react-native": "13.3.3",
"@types/argparse": "2.0.10",
"@types/autosuggest-highlight": "3.2.3",
"@types/chalk": "2.2.0",
"@types/dedent": "0.7.0",
"@types/jest": "29.5.14",
"@types/jscodeshift": "0.11.6",
"@types/lodash": "4.14.180",
"@types/luxon": "2.4.0",
"@types/prompts": "2.4.9",
"@types/qs": "6.9.7",
"@types/query-string": "5.0.1",
"@types/react": "19.2.10",
"@types/react-relay": "18.2.0",
"@types/react-test-renderer": "19.1.0",
"@types/react-tracking": "8.1.6",
"@types/redux-logger": "3.0.9",
"@types/relay-runtime": "18.2.0",
"@types/relay-test-utils": "18.0.0",
"@types/remove-markdown": "0.1.1",
"@types/semver": "7.3.13",
"@types/styled-components": "5.1.26",
"@types/styled-system": "5.1.24",
"@types/styled-system__theme-get": "5.0.4",
"@types/supercluster": "5.0.3",
"@types/uuid": "10.0.0",
"@types/yup": "0.29.13",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"@typescript-eslint/utils": "5.51.0",
"argparse": "2.0.1",
"babel-loader": "8.2.3",
"babel-plugin-import-graphql": "2.8.1",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-relay": "14.0.0",
"babel-plugin-transform-imports": "2.0.0",
"babel-plugin-transform-remove-console": "6.9.4",
"chalk": "2.4.2",
"concurrently": "7.0.0",
"danger": "11.2.3",
"dedent": "0.7.0",
"dotenv": "8.2.0",
"eslint": "8.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-artsy": "file:./eslint-rules",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-local-rules": "3.0.2",
"eslint-plugin-no-relative-import-paths": "1.5.2",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-native-a11y": "3.5.1",
"eslint-plugin-testing-library": "6.5.0",
"expo-build-disk-cache": "patch:expo-build-disk-cache@npm%3A0.7.2#~/.yarn/patches/expo-build-disk-cache-npm-0.7.2-c51a562767.patch",
"graphql": "16.8.1",
"graphql-request": "5.1.0",
"husky": "7.0.4",
"jest": "29.7.0",
"jest-environment-jsdom": "29.6.3",
"jest-extended": "4.0.2",
"jest-fetch-mock": "3.0.3",
"jest-junit": "17.0.0",
"jest-raw-loader": "1.0.1",
"jest-watch-typeahead": "2.2.2",
"json5": "2.2.3",
"lint-staged": "13.2.3",
"ora": "5.4.0",
"pod-install": "1.0.18",
"postinstall-prepare": "1.0.1",
"prettier": "3.1.1",
"prompt-sync": "4.2.0",
"prompts": "2.4.2",
"pull-lock": "1.0.0",
"react-dom": "19.2.0",
"react-native-performance": "5.1.4",
"react-relay-network-modern": "6.2.2",
"react-test-renderer": "19.2.0",
"reactotron-react-native": "5.1.14",
"recursive-readdir-sync": "1.0.6",
"redux-logger": "3.0.6",
"relay-compiler": "18.2.0",
"relay-runtime": "18.2.0",
"relay-test-utils": "18.2.0",
"rimraf": "3.0.2",
"sponge": "0.1.0",
"tmp": "0.2.7",
"tsx": "4.19.1",
"typescript": "5.9.2",
"yargs": "17.7.2"
},
"resolutions": {
"babel-preset-expo": "14.0.0",
"@types/relay-runtime": "18.2.0",
"@types/react-relay": "18.2.0",
"braces": "3.0.3",
"shell-quote": "1.9.0",
"@jest/fake-timers@npm:^29.7.0": "patch:@jest/fake-timers@npm%3A29.7.0#~/.yarn/patches/@jest-fake-timers-npm-29.7.0-e4174d1b56.patch",
"fast-xml-parser": "5.10.1",
"nanoid": "3.3.18",
"postcss": "8.5.23",
"sharp": "0.35.0",
"tmp": "0.2.7"
},
"pull-lock": {
"ios/Podfile.lock": "echo \"🚨 New Podfile.lock detected!, you might need to run yarn install:all\" 🚨",
"yarn.lock": "yarn install"
},
"lint-staged": {
"*": "yarn detect-secrets:hook",
"*.@(ts|tsx)": [
"yarn lint",
"yarn prettier-write"
],
"*.@(json|md)": [
"yarn prettier-write"
]
},
"reanimated": {
"staticFeatureFlags": {
"DISABLE_COMMIT_PAUSING_MECHANISM": true,
"ANDROID_SYNCHRONOUSLY_UPDATE_UI_PROPS": true,
"IOS_SYNCHRONOUSLY_UPDATE_UI_PROPS": true
}
},
"packageManager": "yarn@4.10.3"
}