forked from artsy/eigen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
362 lines (362 loc) · 15.5 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
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
{
"name": "eigen",
"version": "1.21.52",
"native-code-version": 44,
"description": "Artsy mobile app.",
"engines": {
"node": "20.x",
"yarn": "1.x"
},
"reactNativePermissionsIOS": [
"Notifications"
],
"main": "index-common.js",
"scripts": {
"android": "react-native run-android",
"bundle:android": "yarn bundle:android:js && yarn bundle:android:hermes && yarn bundle:android:sourcemap",
"bundle:android:js": "./scripts/hermes/hermes-android-bundle.sh",
"bundle:android:sourcemap": "./scripts/hermes/hermes-android-sourcemap.sh",
"bundle:android:hermes": "./scripts/hermes/hermes-android-bundle-bytecode.sh",
"bundle:ios": "yarn bundle:ios:js && yarn bundle:ios:hermes && yarn bundle:ios:sourcemap",
"bundle:ios:js": "./scripts/hermes/hermes-ios-bundle.sh",
"bundle:ios:hermes": "./scripts/hermes/hermes-ios-bundle-bytecode.sh",
"bundle:ios:sourcemap": "./scripts/hermes/hermes-ios-bundle-sourcemap.sh",
"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": "yarn clean-ios; yarn clean-android",
"clean-android": "cd android; ./gradlew clean; cd -",
"clean-ios": "yarn rimraf ~/Library/Developer/Xcode/DerivedData",
"codepush:deploy": "./scripts/codepush/deploy-to-codepush.sh",
"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",
"doctor": "./scripts/utils/doctor.js",
"flip_table": "./scripts/utils/flip-table",
"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": "ts-node scripts/changelog/generateChangelog.ts",
"navigate-to-route": "./scripts/utils/navigate-to-route",
"navigate-to-route-android": "./scripts/utils/navigate-to-route-android",
"init-metaflags": "jq -Rn '{ startStorybook: false }' | sponge metaflags.json",
"install:all": "./scripts/setup/install",
"ios": "react-native run-ios --udid=\"$(xcrun simctl list | awk -F'[()]' '/(Booted)/ { print $2 }')\"",
"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",
"pod-install": "cd ios; bundle exec pod install; cd ..; ./scripts/setup/post-pod-install.rb",
"pod-install-repo-update": "cd ios; bundle exec pod install --repo-update; cd ..; ./scripts/setup/post-pod-install.rb",
"postinit-metaflags": "rimraf storybook.json",
"postinstall": "react-native setup-ios-permissions; yarn init-metaflags; prettier --write package.json; ./scripts/setup/update-echo",
"prepare": "patch-package && husky install",
"prestart": "./scripts/setup/set-storybook-environment.js",
"prestart-storybook": "yarn sb-rn-get-stories --config-path ./src/app/storybook",
"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:releases": "./scripts/setup/setup-env-for-artsy && ./scripts/setup/setup-env-for-releases",
"setup:releases:update!": "scripts/setup/update-env-for-releases",
"start": "concurrently 'yarn relay:watch' 'react-native start'",
"start-storybook": "STORYBOOK=1 yarn start",
"start:reset-cache": "yarn start --reset-cache",
"storybook-android": "npx artsy open -a storybook",
"storybook-ios": "npx artsy open -i storybook",
"sync-cities": "curl https://raw.githubusercontent.com/artsy/metaphysics/main/src/schema/city/cityDataSortedByDisplayPreference.json -o data/cityDataSortedByDisplayPreference.json",
"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",
"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",
"license": "MIT",
"bugs": {
"url": "https://github.com/artsy/eigen/issues"
},
"homepage": "https://github.com/artsy/eigen#readme",
"files": [
"index.js",
"data",
"app"
],
"dependenciesComments": {
"@react-native-community/slider": "Needed by storybook, see install script here: https://gist.github.com/dannyhw/9b84973dcc6ff4fa2e86e32d571d294e",
"react-native": "Try running `npx @rnx-kit/align-deps --requirements [email protected]` when upgrading to a version, here 0.66.5",
"react-spring": "Try removing this! We have reanimated now.",
"deprecated-react-native-prop-types": "Needed for patching react-native and react-native-credit-card-input due to rn removing the proptypes from their repo",
"@babel/plugin-transform-named-capturing-groups-regex": "Needed for compiling android with hermes enabled"
},
"dependencies": {
"@artsy/cohesion": "4.159.0",
"@artsy/palette-mobile": "13.0.26",
"@artsy/to-title-case": "1.1.0",
"@expo/react-native-action-sheet": "4.0.1",
"@gorhom/bottom-sheet": "4.5.1",
"@invertase/react-native-apple-authentication": "2.1.5",
"@kesha-antonov/react-native-action-cable": "1.1.4",
"@ptomasroos/react-native-multi-slider": "2.2.2",
"@react-native-async-storage/async-storage": "1.19.3",
"@react-native-clipboard/clipboard": "1.7.0",
"@react-native-community/datetimepicker": "6.1.4",
"@react-native-community/geolocation": "3.0.6",
"@react-native-community/netinfo": "9.3.11",
"@react-native-community/slider": "4.2.4",
"@react-native-cookies/cookies": "6.0.11",
"@react-native-google-signin/google-signin": "6.0.0",
"@react-native-mapbox-gl/maps": "8.5.0",
"@react-navigation/bottom-tabs": "6.3.2",
"@react-navigation/native": "6.0.11",
"@react-navigation/native-stack": "6.7.0",
"@react-navigation/stack": "6.2.2",
"@segment/analytics-react-native": "1.5.2",
"@segment/analytics-react-native-appboy": "1.5.0",
"@sentry/react-native": "5.14.1",
"@shopify/flash-list": "^1.5.0",
"@storybook/addon-actions": "6.3.13",
"@storybook/addon-controls": "6.3.13",
"@storybook/addon-ondevice-actions": "6.0.1-beta.5",
"@storybook/addon-ondevice-controls": "6.0.1-beta.5",
"@storybook/react-native": "6.0.1-beta.5",
"@styled-system/theme-get": "5.1.2",
"autosuggest-highlight": "3.1.1",
"deprecated-react-native-prop-types": "4.1.0",
"easy-peasy": "6.0.0",
"events": "3.3.0",
"formik": "2.2.9",
"google-libphonenumber": "3.2.33",
"grapheme-splitter": "1.0.4",
"html-entities": "2.3.3",
"limiter": "^2.1.0",
"lodash": "4.17.21",
"luxon": "2.5.2",
"moment": "2.29.4",
"moment-timezone": "0.5.40",
"moti": "0.24.2",
"ordinal": "1.0.3",
"query-string": "4.3.4",
"react": "18.2.0",
"react-fps": "1.0.6",
"react-native": "0.72.7",
"react-native-appboy-sdk": "1.35.1",
"react-native-blob-util": "0.19.2",
"react-native-bootsplash": "3.2.0",
"react-native-code-push": "8.1.0",
"react-native-config": "https://github.com/artsy/react-native-config.git#v1.4.12-artsy",
"react-native-context-menu-view": "git+https://github.com/artsy/react-native-context-menu-view.git#v1.10.10-artsy",
"react-native-credit-card-input": "0.4.1",
"react-native-dev-menu-android": "1.0.10",
"react-native-device-info": "10.3.0",
"react-native-fast-image": "8.6.3",
"react-native-fbsdk-next": "11.0.0",
"react-native-gesture-handler": "2.13.1",
"react-native-haptic-feedback": "1.13.0",
"react-native-hyperlink": "0.0.19",
"react-native-image-crop-picker": "0.38.1",
"react-native-in-app-review": "4.2.1",
"react-native-keychain": "8.0.0",
"react-native-linear-gradient": "2.6.2",
"react-native-localize": "2.0.1",
"react-native-pager-view": "6.2.0",
"react-native-permissions": "3.8.4",
"react-native-push-notification": "8.1.1",
"react-native-reanimated": "3.3.0",
"react-native-reanimated-zoom": "0.3.3",
"react-native-render-html": "6.3.4",
"react-native-safe-area-context": "3.4.0",
"react-native-screens": "3.26.0",
"react-native-shake": "5.5.2",
"react-native-share": "8.2.1",
"react-native-svg": "9.13.3",
"react-native-url-polyfill": "2.0.0",
"react-native-view-shot": "3.4.0",
"react-native-vimeo-iframe": "1.2.1",
"react-native-webview": "13.6.2",
"react-relay": "16.0.0",
"react-spring": "8.0.23",
"react-tracking": "9.2.0",
"react-use": "17.1.0",
"remove-markdown": "0.5.0",
"rxjs": "7.5.6",
"semver": "7.5.2",
"sift-react-native": "0.1.8",
"simple-markdown": "0.7.3",
"styled-components": "5.3.6",
"styled-system": "5.1.5",
"supercluster": "7.1.5",
"tipsi-stripe": "https://github.com/artsy/tipsi-stripe.git#fix-infinite-loop",
"unleash-proxy-client": "3.1.1",
"url": "0.11.3",
"victory-native": "36.6.8",
"yup": "0.31.1"
},
"devDependencies": {
"@artsy/update-repo": "0.6.0",
"@babel/core": "^7.20.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.20.0",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "^7.20.0",
"@octokit/rest": "16.34.0",
"@omakase/cli": "0.0.10",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"@sentry/cli": "2.21.2",
"@testing-library/jest-native": "5.4.3",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/react-native": "12.3.2",
"@tsconfig/react-native": "^3.0.0",
"@types/argparse": "2.0.10",
"@types/autosuggest-highlight": "3.1.1",
"@types/chalk": "2.2.0",
"@types/dedent": "0.7.0",
"@types/google-libphonenumber": "7.4.26",
"@types/jest": "29.2.6",
"@types/jscodeshift": "0.11.6",
"@types/lodash": "4.14.180",
"@types/luxon": "2.0.9",
"@types/moment-timezone": "0.5.30",
"@types/node": "14.18.32",
"@types/qs": "6.9.7",
"@types/query-string": "5.0.1",
"@types/react": "17.0.39",
"@types/react-native": "0.72.5",
"@types/react-native-push-notification": "8.1.1",
"@types/react-relay": "16.0.0",
"@types/react-test-renderer": "17.0.1",
"@types/react-tracking": "8.1.2",
"@types/redux-logger": "3.0.9",
"@types/relay-runtime": "14.1.15",
"@types/relay-test-utils": "14.1.2",
"@types/remove-markdown": "0.1.1",
"@types/semver": "7.3.13",
"@types/styled-components": "5.1.26",
"@types/styled-system": "5.1.16",
"@types/styled-system__theme-get": "5.0.2",
"@types/supercluster": "5.0.3",
"@types/yup": "0.29.13",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"@typescript-eslint/utils": "5.51.0",
"appcenter": "5.0.0",
"argparse": "2.0.1",
"auto": "7.12.3",
"awesome-typescript-loader": "3.4.1",
"babel-jest": "29.3.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",
"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-no-autofix": "1.2.3",
"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-testing-library": "6.2.0",
"eslint-plugin-unused-imports": "2.0.0",
"graphql": "16.8.1",
"graphql-request": "5.1.0",
"husky": "7.0.4",
"jest": "29.3.1",
"jest-environment-jsdom": "29.3.1",
"jest-extended": "4.0.2",
"jest-fetch-mock": "3.0.3",
"jest-junit": "15.0.0",
"jest-raw-loader": "1.0.1",
"jest-watch-typeahead": "0.6.1",
"jetifier": "1.6.6",
"json5": "2.2.3",
"lint-staged": "13.2.3",
"metro-react-native-babel-preset": "0.72.4",
"ora": "5.4.0",
"patch-package": "6.4.7",
"postinstall-prepare": "1.0.1",
"prettier": "2.5.1",
"prompt-sync": "4.2.0",
"prop-types": "15.7.2",
"pull-lock": "1.0.0",
"react-devtools-core": "4.28.4",
"react-dom": "17.0.2",
"react-native-flipper": "0.207.0",
"react-native-flipper-performance-plugin": "0.4.0",
"react-native-flipper-relay-devtools": "1.0.3",
"react-relay-network-modern": "6.2.1",
"react-test-renderer": "18.1.0",
"recursive-readdir-sync": "1.0.6",
"redux-flipper": "2.0.2",
"redux-logger": "3.0.6",
"relay-compiler": "16.0.0",
"relay-runtime": "16.0.0",
"relay-test-utils": "16.0.0",
"rimraf": "3.0.2",
"rn-flipper-async-storage-advanced": "1.0.5",
"sponge": "0.1.0",
"tmp": "0.2.1",
"ts-node": "8.4.1",
"typescript": "5.2.2",
"vscode-apollo-relay": "1.5.2",
"yargs": "17.7.2"
},
"resolutions": {
"@types/react": "17.0.39",
"@types/relay-runtime": "14.1.3",
"@types/react-relay": "14.1.3",
"react-devtools-core": "4.28.4"
},
"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"
]
}
}