mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.108.0",
4 "private": true,
5 "engines": {
6 "node": ">=20"
7 },
8 "packageManager": "yarn@1.22.22",
9 "expo": {
10 "autolinking": {
11 "android": {
12 "buildFromSource": [
13 "expo-notifications",
14 "expo-haptics",
15 "expo-media-library",
16 "expo-image-picker"
17 ]
18 }
19 }
20 },
21 "scripts": {
22 "prepare": "is-ci || husky install",
23 "postinstall": "patch-package && yarn intl:compile-if-needed",
24 "prebuild": "EXPO_NO_GIT_STATUS=1 expo prebuild --clean",
25 "android": "expo run:android",
26 "android:prod": "expo run:android --variant release",
27 "android:profile": "BSKY_PROFILE=1 expo run:android --variant release",
28 "ios": "expo run:ios",
29 "web": "expo start --web",
30 "use-build-number": "./scripts/useBuildNumberEnv.sh",
31 "use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh",
32 "build-web": "expo export:web && node ./scripts/post-web-build.js",
33 "build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all",
34 "build-ios": "yarn use-build-number-with-bump eas build -p ios",
35 "build-android": "yarn use-build-number-with-bump eas build -p android",
36 "build": "yarn use-build-number-with-bump eas build",
37 "build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js",
38 "start": "expo start --dev-client",
39 "start:prod": "expo start --dev-client --no-dev --minify",
40 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
41 "test-watch": "NODE_ENV=test jest --watchAll",
42 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
43 "test-coverage": "NODE_ENV=test jest --coverage",
44 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src",
45 "lint-native": "swiftlint ./modules && ktlint ./modules",
46 "lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules",
47 "typecheck": "tsc --project ./tsconfig.check.json",
48 "e2e:mock-server": "NODE_ENV=development ./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
49 "e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
50 "e2e:metro-android": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:android",
51 "e2e:run": "maestro test __e2e__",
52 "perf:test": "NODE_ENV=test maestro test",
53 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml",
54 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json",
55 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
56 "perf:measure": "NODE_ENV=test flashlight measure",
57 "intl:build": "yarn intl:extract:all && yarn intl:compile",
58 "intl:extract": "lingui extract --clean --locale en",
59 "intl:extract:all": "lingui extract --clean",
60 "intl:compile": "lingui compile",
61 "intl:compile-if-needed": "is-ci || [ -f src/locale/locales/en/messages.js ] || yarn intl:compile",
62 "intl:pull": "crowdin download translations --verbose -b main",
63 "intl:push": "crowdin push translations --verbose -b main",
64 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
65 "update-extensions": "bash scripts/updateExtensions.sh",
66 "export": "npx expo export --dump-sourcemap && yarn upload-native-sourcemaps",
67 "upload-native-sourcemaps": "npx sentry-expo-upload-sourcemaps dist",
68 "make-deploy-bundle": "bash scripts/bundleUpdate.sh",
69 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web",
70 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web",
71 "icons:optimize": "svgo -f ./assets/icons"
72 },
73 "dependencies": {
74 "@atproto/api": "^0.16.7",
75 "@bitdrift/react-native": "^0.6.8",
76 "@braintree/sanitize-url": "^6.0.2",
77 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet",
78 "@emoji-mart/react": "^1.1.1",
79 "@expo/html-elements": "^0.12.5",
80 "@expo/webpack-config": "^19.0.1",
81 "@floating-ui/dom": "^1.6.3",
82 "@floating-ui/react-dom": "^2.0.8",
83 "@formatjs/intl-locale": "^4.2.8",
84 "@formatjs/intl-numberformat": "^8.15.1",
85 "@formatjs/intl-pluralrules": "^5.4.1",
86 "@fortawesome/fontawesome-svg-core": "^6.1.1",
87 "@fortawesome/free-regular-svg-icons": "^6.1.1",
88 "@fortawesome/free-solid-svg-icons": "^6.1.1",
89 "@fortawesome/react-native-fontawesome": "^0.3.2",
90 "@haileyok/bluesky-video": "0.3.2",
91 "@ipld/dag-cbor": "^9.2.0",
92 "@lingui/react": "^4.14.1",
93 "@mattermost/react-native-paste-input": "mattermost/react-native-paste-input",
94 "@miblanchard/react-native-slider": "^2.6.0",
95 "@mozzius/expo-dynamic-app-icon": "^1.7.1",
96 "@react-native-async-storage/async-storage": "2.1.2",
97 "@react-native-menu/menu": "^1.2.3",
98 "@react-native-picker/picker": "2.11.0",
99 "@react-navigation/bottom-tabs": "^7.3.13",
100 "@react-navigation/drawer": "^7.3.12",
101 "@react-navigation/native": "^7.1.9",
102 "@react-navigation/native-stack": "^7.3.13",
103 "@sentry/react-native": "~6.14.0",
104 "@tanstack/query-async-storage-persister": "^5.25.0",
105 "@tanstack/react-query": "^5.8.1",
106 "@tanstack/react-query-persist-client": "^5.25.0",
107 "@tiptap/core": "^2.9.1",
108 "@tiptap/extension-document": "^2.9.1",
109 "@tiptap/extension-hard-break": "^2.9.1",
110 "@tiptap/extension-history": "^2.9.1",
111 "@tiptap/extension-mention": "^2.9.1",
112 "@tiptap/extension-paragraph": "^2.9.1",
113 "@tiptap/extension-placeholder": "^2.9.1",
114 "@tiptap/extension-text": "^2.9.1",
115 "@tiptap/html": "^2.9.1",
116 "@tiptap/pm": "^2.9.1",
117 "@tiptap/react": "^2.9.1",
118 "@tiptap/suggestion": "^2.9.1",
119 "@types/invariant": "^2.2.37",
120 "@types/lodash.throttle": "^4.1.9",
121 "@types/node": "^20.14.3",
122 "@zxing/text-encoding": "^0.9.0",
123 "array.prototype.findlast": "^1.2.3",
124 "await-lock": "^2.2.2",
125 "babel-plugin-transform-remove-console": "^6.9.4",
126 "base64-js": "^1.5.1",
127 "bcp-47": "^2.1.0",
128 "bcp-47-match": "^2.0.3",
129 "date-fns": "^2.30.0",
130 "deprecated-react-native-prop-types": "^5.0.0",
131 "email-validator": "^2.0.4",
132 "emoji-mart": "^5.5.2",
133 "emoji-regex": "^10.4.0",
134 "eventemitter3": "^5.0.1",
135 "expo": "53.0.11",
136 "expo-application": "~6.1.4",
137 "expo-blur": "~14.1.5",
138 "expo-build-properties": "~0.14.6",
139 "expo-camera": "~16.1.8",
140 "expo-clipboard": "~7.1.4",
141 "expo-dev-client": "~5.2.0",
142 "expo-device": "~7.1.4",
143 "expo-file-system": "~18.1.10",
144 "expo-font": "~13.3.1",
145 "expo-haptics": "~14.1.4",
146 "expo-image": "^2.4.0",
147 "expo-image-crop-tool": "^0.1.8",
148 "expo-image-manipulator": "~13.1.7",
149 "expo-image-picker": "17.0.5",
150 "expo-intent-launcher": "^12.1.5",
151 "expo-linear-gradient": "~14.1.5",
152 "expo-linking": "~7.1.5",
153 "expo-localization": "~16.1.5",
154 "expo-location": "~18.1.6",
155 "expo-media-library": "~17.1.7",
156 "expo-notifications": "~0.31.3",
157 "expo-screen-orientation": "~8.1.7",
158 "expo-sharing": "~13.1.5",
159 "expo-splash-screen": "~0.30.9",
160 "expo-system-ui": "~5.0.8",
161 "expo-task-manager": "~13.1.5",
162 "expo-updates": "~0.28.14",
163 "expo-video": "~2.2.1",
164 "expo-web-browser": "~14.1.6",
165 "fast-text-encoding": "^1.0.6",
166 "history": "^5.3.0",
167 "hls.js": "^1.6.2",
168 "js-sha256": "^0.9.0",
169 "jwt-decode": "^4.0.0",
170 "lande": "^1.0.10",
171 "lodash.chunk": "^4.2.0",
172 "lodash.debounce": "^4.0.8",
173 "lodash.isequal": "^4.5.0",
174 "lodash.shuffle": "^4.2.0",
175 "lodash.throttle": "^4.1.1",
176 "multiformats": "9.9.0",
177 "nanoid": "^5.0.5",
178 "normalize-url": "^8.0.0",
179 "patch-package": "^6.5.1",
180 "postinstall-postinstall": "^2.1.0",
181 "psl": "^1.9.0",
182 "radix-ui": "^1.2.0",
183 "react": "19.0.0",
184 "react-compiler-runtime": "^19.1.0-rc.1",
185 "react-dom": "19.0.0",
186 "react-image-crop": "^11.0.7",
187 "react-is": "19",
188 "react-keyed-flatten-children": "^5.0.0",
189 "react-native": "^0.79.3",
190 "react-native-compressor": "^1.11.0",
191 "react-native-date-picker": "^5.0.12",
192 "react-native-device-attest": "^0.1.6",
193 "react-native-drawer-layout": "^4.1.8",
194 "react-native-edge-to-edge": "^1.6.0",
195 "react-native-gesture-handler": "2.25.0",
196 "react-native-get-random-values": "~1.11.0",
197 "react-native-ios-context-menu": "^1.15.3",
198 "react-native-keyboard-controller": "^1.17.5",
199 "react-native-mmkv": "^2.12.2",
200 "react-native-pager-view": "6.8.0",
201 "react-native-progress": "bluesky-social/react-native-progress",
202 "react-native-qrcode-styled": "^0.3.3",
203 "react-native-reanimated": "~3.17.5",
204 "react-native-root-siblings": "^5.0.1",
205 "react-native-safe-area-context": "5.4.0",
206 "react-native-screens": "^4.11.1",
207 "react-native-svg": "15.12.0",
208 "react-native-uitextview": "^1.4.0",
209 "react-native-url-polyfill": "^1.3.0",
210 "react-native-uuid": "^2.0.3",
211 "react-native-view-shot": "^4.0.3",
212 "react-native-web": "~0.20.0",
213 "react-native-web-webview": "^1.0.2",
214 "react-native-webview": "^13.13.5",
215 "react-remove-scroll-bar": "^2.3.8",
216 "react-responsive": "^9.0.2",
217 "react-textarea-autosize": "^8.5.3",
218 "sonner": "^2.0.7",
219 "sonner-native": "^0.21.0",
220 "statsig-react-native-expo": "^4.6.1",
221 "tippy.js": "^6.3.7",
222 "tlds": "^1.234.0",
223 "tldts": "^6.1.46",
224 "zeego": "^1.6.2",
225 "zod": "^3.20.2"
226 },
227 "devDependencies": {
228 "@atproto/dev-env": "^0.3.172",
229 "@babel/core": "^7.26.0",
230 "@babel/preset-env": "^7.26.0",
231 "@babel/runtime": "^7.26.0",
232 "@expo/config-plugins": "~10.0.2",
233 "@lingui/cli": "^4.14.1",
234 "@lingui/macro": "^4.14.1",
235 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
236 "@react-native/babel-preset": "0.79.3",
237 "@react-native/eslint-config": "^0.79.3",
238 "@react-native/typescript-config": "^0.79.3",
239 "@sentry/webpack-plugin": "^3.2.2",
240 "@testing-library/jest-native": "^5.4.3",
241 "@testing-library/react-native": "^13.2.0",
242 "@types/jest": "^29.4.0",
243 "@types/lodash.chunk": "^4.2.7",
244 "@types/lodash.debounce": "^4.0.7",
245 "@types/lodash.isequal": "^4.5.6",
246 "@types/lodash.shuffle": "^4.2.7",
247 "@types/psl": "^1.1.1",
248 "@types/react-dom": "^19.1.2",
249 "@types/react-responsive": "^8.0.5",
250 "@typescript-eslint/eslint-plugin": "^7.18.0",
251 "@typescript-eslint/parser": "^7.18.0",
252 "babel-jest": "^29.7.0",
253 "babel-plugin-macros": "^3.1.0",
254 "babel-plugin-module-resolver": "^5.0.2",
255 "babel-plugin-react-compiler": "^19.1.0-rc.1",
256 "babel-preset-expo": "~13.1.11",
257 "eslint": "^8.19.0",
258 "eslint-plugin-bsky-internal": "link:./eslint",
259 "eslint-plugin-ft-flow": "^2.0.3",
260 "eslint-plugin-import": "^2.31.0",
261 "eslint-plugin-lingui": "^0.2.0",
262 "eslint-plugin-react": "^7.33.2",
263 "eslint-plugin-react-compiler": "^19.1.0-rc.1",
264 "eslint-plugin-react-native-a11y": "^3.3.0",
265 "eslint-plugin-simple-import-sort": "^12.0.0",
266 "file-loader": "6.2.0",
267 "husky": "^8.0.3",
268 "is-ci": "^3.0.1",
269 "jest": "^29.7.0",
270 "jest-expo": "~53.0.7",
271 "jest-junit": "^16.0.0",
272 "lint-staged": "^13.2.3",
273 "lockfile-lint": "^4.14.0",
274 "metro-react-native-babel-preset": "^0.77.0",
275 "prettier": "^3.6.0",
276 "react-native-dotenv": "^3.4.11",
277 "react-refresh": "^0.14.0",
278 "svgo": "^3.3.2",
279 "ts-node": "^10.9.1",
280 "typescript": "~5.8.3",
281 "webpack-bundle-analyzer": "^4.10.1"
282 },
283 "resolutions": {
284 "@expo/image-utils": "0.6.3",
285 "@react-native/babel-preset": "0.79.3",
286 "@react-native/normalize-colors": "0.79.3",
287 "@types/react": "^18",
288 "**/expo-constants": "17.0.3",
289 "**/expo-device": "7.1.4",
290 "**/zod": "3.23.8",
291 "**/multiformats": "9.9.0"
292 },
293 "jest": {
294 "preset": "jest-expo/ios",
295 "setupFilesAfterEnv": [
296 "./jest/jestSetup.js"
297 ],
298 "moduleFileExtensions": [
299 "ts",
300 "tsx",
301 "js",
302 "jsx",
303 "json",
304 "node"
305 ],
306 "transform": {
307 "\\.[jt]sx?$": "babel-jest"
308 },
309 "transformIgnorePatterns": [
310 "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|@discord|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|nanoid|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match)"
311 ],
312 "modulePathIgnorePatterns": [
313 "__tests__/.*/__mocks__",
314 "__e2e__/.*"
315 ],
316 "coveragePathIgnorePatterns": [
317 "<rootDir>/node_modules/",
318 "<rootDir>/src/platform",
319 "<rootDir>/src/third-party",
320 "<rootDir>/src/view/com/util",
321 "<rootDir>/src/state/lib",
322 "<rootDir>/__tests__/test-utils.js"
323 ],
324 "reporters": [
325 "default",
326 "jest-junit"
327 ]
328 },
329 "browserslist": {
330 "production": [
331 ">0.2%",
332 "not dead",
333 "not op_mini all"
334 ],
335 "development": [
336 "last 1 chrome version",
337 "last 1 firefox version",
338 "last 1 safari version"
339 ]
340 },
341 "lint-staged": {
342 "*{.js,.jsx,.ts,.tsx}": [
343 "eslint --cache --fix"
344 ],
345 "*{.js,.jsx,.ts,.tsx,.css}": [
346 "prettier --cache --write --ignore-unknown"
347 ],
348 "assets/icons/*.svg": [
349 "svgo"
350 ]
351 },
352 "lockfile-lint": {
353 "path": "yarn.lock",
354 "allowedHosts": [
355 "npm",
356 "yarn"
357 ],
358 "allowedSchemes": [
359 "https:"
360 ],
361 "allowedPackageNameAliases": [
362 "@babel/traverse--for-generate-function-map:@babel/traverse",
363 "string-width-cjs:string-width",
364 "strip-ansi-cjs:strip-ansi",
365 "wrap-ansi-cjs:wrap-ansi"
366 ],
367 "allowedUrls": [
368 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908",
369 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4",
370 "https://codeload.github.com/mattermost/react-native-paste-input/tar.gz/f260447edc645a817ab1ba7b46d8341d84dba8e9"
371 ],
372 "emptyHostname": false,
373 "validatePackageNames": true,
374 "validateIntegrity": true
375 }
376}