forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1{
2 "name": "bsky.app",
3 "version": "1.122.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 "install": {
21 "exclude": [
22 "react-native-reanimated",
23 "@sentry/react-native",
24 "react-native-pager-view"
25 ]
26 }
27 },
28 "scripts": {
29 "prepare": "is-ci || husky install",
30 "postinstall": "patch-package && yarn intl:compile-if-needed",
31 "prebuild": "EXPO_NO_GIT_STATUS=1 expo prebuild --clean",
32 "android": "expo run:android",
33 "android:prod": "expo run:android --variant release",
34 "android:profile": "BSKY_PROFILE=1 expo run:android --variant release",
35 "ios": "expo run:ios",
36 "web": "expo start --web",
37 "use-build-number": "./scripts/useBuildNumberEnv.sh",
38 "use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh",
39 "build-web": "expo export:web && node ./scripts/post-web-build.js",
40 "build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all",
41 "build-ios": "yarn use-build-number-with-bump eas build -p ios",
42 "build-android": "yarn use-build-number-with-bump eas build -p android",
43 "build": "yarn use-build-number-with-bump eas build",
44 "build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js",
45 "start": "expo start --dev-client",
46 "start:prod": "expo start --dev-client --no-dev --minify",
47 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
48 "test-watch": "NODE_ENV=test jest --watchAll",
49 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
50 "test-coverage": "NODE_ENV=test jest --coverage",
51 "lint": "eslint --cache --quiet src",
52 "lint-native": "swiftlint ./modules && ktlint ./modules",
53 "lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules",
54 "typecheck": "tsc --project ./tsconfig.check.json",
55 "e2e:mock-server": "cd dev-env && yarn start",
56 "e2e:build": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
57 "e2e:build-android": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:android",
58 "e2e:start": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo start -c",
59 "e2e:run": "maestro test",
60 "perf:test": "NODE_ENV=test maestro test",
61 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml",
62 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json",
63 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
64 "perf:measure": "NODE_ENV=test flashlight measure",
65 "intl:build": "yarn intl:extract:all && yarn intl:compile",
66 "intl:extract": "lingui extract --clean --locale en",
67 "intl:extract:all": "lingui extract --clean",
68 "intl:compile": "lingui compile",
69 "intl:compile-if-needed": "is-ci || [ -f src/locale/locales/en/messages.ts ] || yarn intl:compile",
70 "intl:pull": "crowdin download translations --verbose -b main",
71 "intl:push": "crowdin push translations --verbose -b main",
72 "intl:push-sources": "crowdin push sources --verbose -b main",
73 "intl:release": "yarn intl:pull && yarn intl:extract:all",
74 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
75 "update-extensions": "bash scripts/updateExtensions.sh",
76 "export": "npx expo export --dump-sourcemap && yarn upload-native-sourcemaps",
77 "upload-native-sourcemaps": "npx sentry-expo-upload-sourcemaps dist",
78 "make-deploy-bundle": "bash scripts/bundleUpdate.sh",
79 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web",
80 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web",
81 "icons:optimize": "svgo -f ./assets/icons"
82 },
83 "dependencies": {
84 "@atproto/api": "^0.19.11",
85 "@atproto/syntax": "0.5.2",
86 "@bitdrift/react-native": "^0.6.8",
87 "@braintree/sanitize-url": "^6.0.2",
88 "@bsky.app/alf": "^0.1.7",
89 "@bsky.app/expo-guess-language": "^0.2.8",
90 "@bsky.app/expo-image-crop-tool": "^0.5.0",
91 "@bsky.app/expo-scroll-edge-effect": "^0.1.4",
92 "@bsky.app/expo-translate-text": "^0.2.9",
93 "@bsky.app/react-native-mmkv": "2.12.5",
94 "@bsky.app/sift": "^0.3.3",
95 "@bsky.app/tapper": "^0.5.1",
96 "@bsky.app/video": "0.3.4",
97 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet",
98 "@emoji-mart/data": "^1.2.1",
99 "@emoji-mart/react": "^1.1.1",
100 "@expo/html-elements": "^0.12.5",
101 "@expo/webpack-config": "^19.0.1",
102 "@floating-ui/dom": "^1.6.3",
103 "@floating-ui/react-dom": "^2.0.8",
104 "@formatjs/intl-displaynames": "^6.8.13",
105 "@formatjs/intl-locale": "^4.2.13",
106 "@formatjs/intl-numberformat": "^8.15.6",
107 "@formatjs/intl-pluralrules": "^5.4.6",
108 "@fortawesome/fontawesome-svg-core": "^6.1.1",
109 "@fortawesome/free-regular-svg-icons": "^6.1.1",
110 "@fortawesome/free-solid-svg-icons": "^6.1.1",
111 "@fortawesome/react-native-fontawesome": "^0.3.2",
112 "@growthbook/growthbook": "^1.6.5",
113 "@growthbook/growthbook-react": "^1.6.5",
114 "@ipld/dag-cbor": "^9.2.0",
115 "@lingui/core": "^5.9.2",
116 "@lingui/react": "^5.9.2",
117 "@miblanchard/react-native-slider": "^2.6.0",
118 "@mozzius/expo-dynamic-app-icon": "^1.8.0",
119 "@react-native-async-storage/async-storage": "2.2.0",
120 "@react-navigation/bottom-tabs": "^7.15.5",
121 "@react-navigation/native": "^7.1.33",
122 "@react-navigation/native-stack": "^7.14.4",
123 "@sentry/react-native": "~6.20.0",
124 "@tanstack/query-async-storage-persister": "^5.96.2",
125 "@tanstack/react-query": "^5.96.2",
126 "@tanstack/react-query-persist-client": "^5.96.2",
127 "@tiptap/core": "^2.9.1",
128 "@tiptap/extension-document": "^2.9.1",
129 "@tiptap/extension-hard-break": "^2.9.1",
130 "@tiptap/extension-history": "^2.9.1",
131 "@tiptap/extension-mention": "^2.9.1",
132 "@tiptap/extension-paragraph": "^2.9.1",
133 "@tiptap/extension-placeholder": "^2.9.1",
134 "@tiptap/extension-text": "^2.9.1",
135 "@tiptap/html": "^2.9.1",
136 "@tiptap/pm": "^2.9.1",
137 "@tiptap/react": "^2.9.1",
138 "@tiptap/suggestion": "^2.9.1",
139 "@types/invariant": "^2.2.37",
140 "@types/lodash.throttle": "^4.1.9",
141 "@types/node": "^20.14.3",
142 "array.prototype.findlast": "^1.2.3",
143 "babel-plugin-transform-remove-console": "^6.9.4",
144 "bcp-47": "^2.1.0",
145 "bcp-47-match": "^2.0.3",
146 "date-fns": "^2.30.0",
147 "email-validator": "^2.0.4",
148 "emoji-mart": "^5.6.0",
149 "emoji-regex": "^10.4.0",
150 "eventemitter3": "^5.0.1",
151 "expo": "^54.0.33",
152 "expo-application": "~7.0.8",
153 "expo-blur": "~15.0.8",
154 "expo-build-properties": "~1.0.10",
155 "expo-camera": "~17.0.10",
156 "expo-clipboard": "~8.0.8",
157 "expo-contacts": "^15.0.10",
158 "expo-dev-client": "~6.0.20",
159 "expo-device": "~8.0.10",
160 "expo-file-system": "~19.0.21",
161 "expo-font": "~14.0.11",
162 "expo-glass-effect": "55.0.8",
163 "expo-haptics": "~15.0.8",
164 "expo-image": "~3.0.11",
165 "expo-image-manipulator": "~14.0.8",
166 "expo-image-picker": "~17.0.10",
167 "expo-intent-launcher": "~13.0.8",
168 "expo-keep-awake": "~15.0.8",
169 "expo-linear-gradient": "~15.0.8",
170 "expo-linking": "~8.0.11",
171 "expo-localization": "~17.0.8",
172 "expo-location": "~19.0.8",
173 "expo-media-library": "~18.2.1",
174 "expo-notifications": "~0.32.16",
175 "expo-paste-input": "^0.1.15",
176 "expo-privacy-sensitive": "^0.1.0",
177 "expo-screen-orientation": "~9.0.8",
178 "expo-sharing": "~14.0.8",
179 "expo-sms": "^14.0.7",
180 "expo-splash-screen": "~31.0.13",
181 "expo-system-ui": "~6.0.9",
182 "expo-updates": "~29.0.16",
183 "expo-video": "~3.0.16",
184 "expo-video-thumbnails": "^10.0.8",
185 "expo-web-browser": "~15.0.10",
186 "fast-deep-equal": "^3.1.3",
187 "fast-text-encoding": "^1.0.6",
188 "fuse.js": "^7.1.0",
189 "hls.js": "^1.6.2",
190 "idb-keyval": "^6.2.2",
191 "js-sha256": "^0.9.0",
192 "jwt-decode": "^4.0.0",
193 "lande": "^1.0.10",
194 "libphonenumber-js": "^1.12.31",
195 "lodash.chunk": "^4.2.0",
196 "lodash.debounce": "^4.0.8",
197 "lodash.shuffle": "^4.2.0",
198 "lodash.throttle": "^4.1.1",
199 "multiformats": "9.9.0",
200 "nanoid": "^5.0.5",
201 "normalize-url": "^8.0.0",
202 "patch-package": "^8.0.1",
203 "postinstall-postinstall": "^2.1.0",
204 "psl": "^1.9.0",
205 "radix-ui": "^1.4.3",
206 "react": "19.1.0",
207 "react-compiler-runtime": "^19.1.0-rc.1",
208 "react-dom": "19.1.0",
209 "react-hotkeys-hook": "5.2.4",
210 "react-image-crop": "^11.0.7",
211 "react-is": "19",
212 "react-keyed-flatten-children": "^5.0.0",
213 "react-native": "0.81.5",
214 "react-native-compressor": "^1.13.0",
215 "react-native-date-picker": "^5.0.13",
216 "react-native-device-attest": "^0.1.6",
217 "react-native-drawer-layout": "^4.2.2",
218 "react-native-edge-to-edge": "^1.6.0",
219 "react-native-gesture-handler": "~2.28.0",
220 "react-native-keyboard-controller": "^1.21.5",
221 "react-native-pager-view": "6.8.0",
222 "react-native-progress": "bluesky-social/react-native-progress",
223 "react-native-qrcode-styled": "^0.3.3",
224 "react-native-reanimated": "^3.19.1",
225 "react-native-safe-area-context": "~5.6.0",
226 "react-native-screens": "^4.24.0",
227 "react-native-svg": "15.12.1",
228 "react-native-uitextview": "^1.4.0",
229 "react-native-uuid": "^2.0.3",
230 "react-native-view-shot": "^4.0.3",
231 "react-native-web": "^0.21.0",
232 "react-native-web-webview": "^1.0.2",
233 "react-native-webview": "^13.13.5",
234 "react-remove-scroll-bar": "^2.3.8",
235 "react-responsive": "^10.0.1",
236 "react-textarea-autosize": "^8.5.3",
237 "setimmediate": "^1.0.5",
238 "sonner": "^2.0.7",
239 "sonner-native": "^0.21.0",
240 "tippy.js": "^6.3.7",
241 "tlds": "^1.234.0",
242 "tldts": "^6.1.46",
243 "unicode-segmenter": "^0.14.5",
244 "zod": "^3.20.2"
245 },
246 "devDependencies": {
247 "@babel/core": "^7.26.0",
248 "@babel/preset-env": "^7.26.0",
249 "@babel/runtime": "^7.26.0",
250 "@crowdin/cli": "^4.14.1",
251 "@eslint/js": "^9.39.2",
252 "@lingui/babel-plugin-lingui-macro": "^5.9.2",
253 "@lingui/cli": "^5.9.2",
254 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
255 "@react-native/babel-preset": "0.81.5",
256 "@react-native/typescript-config": "^0.81.5",
257 "@sentry/webpack-plugin": "^3.2.2",
258 "@testing-library/react-native": "^13.2.0",
259 "@types/jest": "29.5.14",
260 "@types/lodash.chunk": "^4.2.7",
261 "@types/lodash.debounce": "^4.0.7",
262 "@types/lodash.shuffle": "^4.2.7",
263 "@types/psl": "^1.1.1",
264 "@types/react": "^19.1.12",
265 "@types/react-dom": "^19.1.9",
266 "babel-jest": "^29.7.0",
267 "babel-plugin-module-resolver": "^5.0.2",
268 "babel-plugin-react-compiler": "^19.1.0-rc.3",
269 "babel-preset-expo": "~54.0.10",
270 "eslint": "^9.39.2",
271 "eslint-import-resolver-typescript": "^4.4.4",
272 "eslint-plugin-bsky-internal": "link:./eslint",
273 "eslint-plugin-import-x": "^4.16.2",
274 "eslint-plugin-lingui": "^0.12.0",
275 "eslint-plugin-react": "^7.37.5",
276 "eslint-plugin-react-compiler": "^19.1.0-rc.2",
277 "eslint-plugin-react-hooks": "^7.0.1",
278 "eslint-plugin-react-native": "^5.0.0",
279 "eslint-plugin-react-native-a11y": "^3.5.1",
280 "eslint-plugin-simple-import-sort": "^13.0.0",
281 "file-loader": "6.2.0",
282 "globals": "^17.0.0",
283 "husky": "^8.0.3",
284 "is-ci": "^3.0.1",
285 "jest": "^29.7.0",
286 "jest-expo": "~54.0.17",
287 "jest-junit": "^16.0.0",
288 "lint-staged": "^13.2.3",
289 "lockfile-lint": "^4.14.0",
290 "prettier": "^3.6.0",
291 "react-native-dotenv": "^3.4.11",
292 "react-refresh": "^0.14.0",
293 "svgo": "^3.3.2",
294 "ts-plugin-sort-import-suggestions": "^1.0.4",
295 "typescript": "^6.0.2",
296 "typescript-eslint": "^8.58.0",
297 "webpack-bundle-analyzer": "^4.10.1"
298 },
299 "resolutions": {
300 "@react-native/babel-preset": "0.81.5",
301 "@react-native/normalize-colors": "0.81.5",
302 "**/@expo/image-utils": "0.8.12",
303 "**/multiformats": "9.9.0",
304 "unicode-segmenter": "0.14.5",
305 "@types/estree": "1.0.6",
306 "metro": "0.83.3",
307 "metro-core": "0.83.3",
308 "metro-config": "0.83.3",
309 "metro-runtime": "0.83.3",
310 "metro-source-map": "0.83.3"
311 },
312 "jest": {
313 "preset": "jest-expo/ios",
314 "setupFilesAfterEnv": [
315 "./jest/jestSetup.js"
316 ],
317 "moduleFileExtensions": [
318 "ts",
319 "tsx",
320 "js",
321 "jsx",
322 "json",
323 "node"
324 ],
325 "transform": {
326 "\\.[jt]sx?$": "babel-jest"
327 },
328 "transformIgnorePatterns": [
329 "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)"
330 ],
331 "modulePathIgnorePatterns": [
332 "__tests__/.*/__mocks__",
333 "__e2e__/.*",
334 "bskylink/.*"
335 ],
336 "coveragePathIgnorePatterns": [
337 "<rootDir>/node_modules/",
338 "<rootDir>/src/platform",
339 "<rootDir>/src/third-party",
340 "<rootDir>/src/view/com/util",
341 "<rootDir>/src/state/lib",
342 "<rootDir>/__tests__/test-utils.js"
343 ],
344 "reporters": [
345 "default",
346 "jest-junit"
347 ]
348 },
349 "browserslist": {
350 "production": [
351 ">0.2%",
352 "not dead",
353 "not op_mini all"
354 ],
355 "development": [
356 "last 1 chrome version",
357 "last 1 firefox version",
358 "last 1 safari version"
359 ]
360 },
361 "lint-staged": {
362 "*{.js,.jsx,.ts,.tsx}": [
363 "eslint --cache --fix"
364 ],
365 "*{.js,.jsx,.ts,.tsx,.css}": [
366 "prettier --cache --write --ignore-unknown"
367 ],
368 "assets/icons/*.svg": [
369 "svgo"
370 ]
371 },
372 "lockfile-lint": {
373 "path": "yarn.lock",
374 "allowedHosts": [
375 "npm",
376 "yarn"
377 ],
378 "allowedSchemes": [
379 "https:"
380 ],
381 "allowedPackageNameAliases": [
382 "@babel/traverse--for-generate-function-map:@babel/traverse",
383 "string-width-cjs:string-width",
384 "strip-ansi-cjs:strip-ansi",
385 "wrap-ansi-cjs:wrap-ansi"
386 ],
387 "allowedUrls": [
388 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908",
389 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4",
390 "https://codeload.github.com/mattermost/react-native-paste-input/tar.gz/f260447edc645a817ab1ba7b46d8341d84dba8e9"
391 ],
392 "emptyHostname": false,
393 "validatePackageNames": true,
394 "validateIntegrity": true
395 }
396}