Bluesky app fork with some witchin' additions 馃挮
at 5ee667f307bc459ba53cdaabdad00a0ea1ee6846 386 lines 15 kB view raw
1{ 2 "name": "bsky.app", 3 "version": "1.118.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": "NODE_ENV=development ./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts", 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 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android", 74 "update-extensions": "bash scripts/updateExtensions.sh", 75 "export": "npx expo export --dump-sourcemap && yarn upload-native-sourcemaps", 76 "upload-native-sourcemaps": "npx sentry-expo-upload-sourcemaps dist", 77 "make-deploy-bundle": "bash scripts/bundleUpdate.sh", 78 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web", 79 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web", 80 "icons:optimize": "svgo -f ./assets/icons" 81 }, 82 "dependencies": { 83 "@atproto/api": "^0.18.21", 84 "@bitdrift/react-native": "^0.6.8", 85 "@braintree/sanitize-url": "^6.0.2", 86 "@bsky.app/alf": "^0.1.7", 87 "@bsky.app/expo-image-crop-tool": "^0.5.0", 88 "@bsky.app/expo-translate-text": "^0.2.4", 89 "@bsky.app/react-native-mmkv": "2.12.5", 90 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", 91 "@emoji-mart/react": "^1.1.1", 92 "@expo/html-elements": "^0.12.5", 93 "@expo/webpack-config": "^19.0.1", 94 "@floating-ui/dom": "^1.6.3", 95 "@floating-ui/react-dom": "^2.0.8", 96 "@formatjs/intl-displaynames": "^6.8.13", 97 "@formatjs/intl-locale": "^4.2.13", 98 "@formatjs/intl-numberformat": "^8.15.6", 99 "@formatjs/intl-pluralrules": "^5.4.6", 100 "@fortawesome/fontawesome-svg-core": "^6.1.1", 101 "@fortawesome/free-regular-svg-icons": "^6.1.1", 102 "@fortawesome/free-solid-svg-icons": "^6.1.1", 103 "@fortawesome/react-native-fontawesome": "^0.3.2", 104 "@growthbook/growthbook": "^1.6.5", 105 "@growthbook/growthbook-react": "^1.6.5", 106 "@haileyok/bluesky-video": "0.3.2", 107 "@ipld/dag-cbor": "^9.2.0", 108 "@lingui/core": "^5.9.2", 109 "@lingui/react": "^5.9.2", 110 "@mattermost/react-native-paste-input": "mattermost/react-native-paste-input", 111 "@miblanchard/react-native-slider": "^2.6.0", 112 "@mozzius/expo-dynamic-app-icon": "^1.8.0", 113 "@react-native-async-storage/async-storage": "2.2.0", 114 "@react-navigation/bottom-tabs": "^7.9.0", 115 "@react-navigation/native": "^7.1.26", 116 "@react-navigation/native-stack": "^7.9.0", 117 "@sentry/react-native": "~6.20.0", 118 "@tanstack/query-async-storage-persister": "^5.25.0", 119 "@tanstack/react-query": "5.25.0", 120 "@tanstack/react-query-persist-client": "^5.25.0", 121 "@tiptap/core": "^2.9.1", 122 "@tiptap/extension-document": "^2.9.1", 123 "@tiptap/extension-hard-break": "^2.9.1", 124 "@tiptap/extension-history": "^2.9.1", 125 "@tiptap/extension-mention": "^2.9.1", 126 "@tiptap/extension-paragraph": "^2.9.1", 127 "@tiptap/extension-placeholder": "^2.9.1", 128 "@tiptap/extension-text": "^2.9.1", 129 "@tiptap/html": "^2.9.1", 130 "@tiptap/pm": "^2.9.1", 131 "@tiptap/react": "^2.9.1", 132 "@tiptap/suggestion": "^2.9.1", 133 "@types/invariant": "^2.2.37", 134 "@types/lodash.throttle": "^4.1.9", 135 "@types/node": "^20.14.3", 136 "array.prototype.findlast": "^1.2.3", 137 "babel-plugin-transform-remove-console": "^6.9.4", 138 "bcp-47": "^2.1.0", 139 "bcp-47-match": "^2.0.3", 140 "date-fns": "^2.30.0", 141 "email-validator": "^2.0.4", 142 "emoji-mart": "^5.5.2", 143 "emoji-regex": "^10.4.0", 144 "eventemitter3": "^5.0.1", 145 "expo": "^54.0.27", 146 "expo-application": "~7.0.8", 147 "expo-blur": "~15.0.8", 148 "expo-build-properties": "~1.0.10", 149 "expo-camera": "~17.0.10", 150 "expo-clipboard": "~8.0.8", 151 "expo-contacts": "^15.0.10", 152 "expo-dev-client": "~6.0.20", 153 "expo-device": "~8.0.10", 154 "expo-file-system": "~19.0.20", 155 "expo-font": "~14.0.10", 156 "expo-haptics": "~15.0.8", 157 "expo-image": "~3.0.11", 158 "expo-image-manipulator": "~14.0.8", 159 "expo-image-picker": "~17.0.9", 160 "expo-intent-launcher": "~13.0.8", 161 "expo-keep-awake": "~15.0.8", 162 "expo-linear-gradient": "~15.0.8", 163 "expo-linking": "~8.0.10", 164 "expo-localization": "~17.0.8", 165 "expo-location": "~19.0.8", 166 "expo-media-library": "~18.2.1", 167 "expo-notifications": "~0.32.14", 168 "expo-privacy-sensitive": "^0.1.0", 169 "expo-screen-orientation": "~9.0.8", 170 "expo-sharing": "~14.0.8", 171 "expo-sms": "^14.0.7", 172 "expo-splash-screen": "~31.0.12", 173 "expo-system-ui": "~6.0.9", 174 "expo-updates": "~29.0.14", 175 "expo-video": "~3.0.15", 176 "expo-video-thumbnails": "^10.0.8", 177 "expo-web-browser": "~15.0.10", 178 "fast-deep-equal": "^3.1.3", 179 "fast-text-encoding": "^1.0.6", 180 "hls.js": "^1.6.2", 181 "idb-keyval": "^6.2.2", 182 "js-sha256": "^0.9.0", 183 "jwt-decode": "^4.0.0", 184 "lande": "^1.0.10", 185 "libphonenumber-js": "^1.12.31", 186 "lodash.chunk": "^4.2.0", 187 "lodash.debounce": "^4.0.8", 188 "lodash.shuffle": "^4.2.0", 189 "lodash.throttle": "^4.1.1", 190 "multiformats": "9.9.0", 191 "nanoid": "^5.0.5", 192 "normalize-url": "^8.0.0", 193 "patch-package": "^8.0.1", 194 "postinstall-postinstall": "^2.1.0", 195 "psl": "^1.9.0", 196 "radix-ui": "^1.4.3", 197 "react": "19.1.0", 198 "react-compiler-runtime": "^19.1.0-rc.1", 199 "react-dom": "19.1.0", 200 "react-image-crop": "^11.0.7", 201 "react-is": "19", 202 "react-keyed-flatten-children": "^5.0.0", 203 "react-native": "0.81.5", 204 "react-native-compressor": "^1.13.0", 205 "react-native-date-picker": "^5.0.13", 206 "react-native-device-attest": "^0.1.6", 207 "react-native-drawer-layout": "^4.2.1", 208 "react-native-edge-to-edge": "^1.6.0", 209 "react-native-gesture-handler": "~2.28.0", 210 "react-native-keyboard-controller": "^1.20.7", 211 "react-native-pager-view": "6.8.0", 212 "react-native-progress": "bluesky-social/react-native-progress", 213 "react-native-qrcode-styled": "^0.3.3", 214 "react-native-reanimated": "^3.19.1", 215 "react-native-safe-area-context": "~5.6.0", 216 "react-native-screens": "^4.19.0", 217 "react-native-svg": "15.12.1", 218 "react-native-uitextview": "^1.4.0", 219 "react-native-uuid": "^2.0.3", 220 "react-native-view-shot": "^4.0.3", 221 "react-native-web": "^0.21.0", 222 "react-native-web-webview": "^1.0.2", 223 "react-native-webview": "^13.13.5", 224 "react-remove-scroll-bar": "^2.3.8", 225 "react-responsive": "^10.0.1", 226 "react-textarea-autosize": "^8.5.3", 227 "setimmediate": "^1.0.5", 228 "sonner": "^2.0.7", 229 "sonner-native": "^0.21.0", 230 "tippy.js": "^6.3.7", 231 "tlds": "^1.234.0", 232 "tldts": "^6.1.46", 233 "unicode-segmenter": "^0.14.5", 234 "zod": "^3.20.2" 235 }, 236 "devDependencies": { 237 "@atproto/dev-env": "^0.3.209", 238 "@babel/core": "^7.26.0", 239 "@babel/preset-env": "^7.26.0", 240 "@babel/runtime": "^7.26.0", 241 "@eslint/js": "^9.39.2", 242 "@expo/config-plugins": "~54.0.1", 243 "@lingui/babel-plugin-lingui-macro": "^5.9.2", 244 "@lingui/cli": "^5.9.2", 245 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", 246 "@react-native/babel-preset": "0.81.5", 247 "@react-native/eslint-config": "^0.81.5", 248 "@react-native/typescript-config": "^0.81.5", 249 "@sentry/webpack-plugin": "^3.2.2", 250 "@testing-library/react-native": "^13.2.0", 251 "@types/jest": "29.5.14", 252 "@types/lodash.chunk": "^4.2.7", 253 "@types/lodash.debounce": "^4.0.7", 254 "@types/lodash.shuffle": "^4.2.7", 255 "@types/psl": "^1.1.1", 256 "@types/react": "^19.1.12", 257 "@types/react-dom": "^19.1.9", 258 "babel-jest": "^29.7.0", 259 "babel-plugin-module-resolver": "^5.0.2", 260 "babel-plugin-react-compiler": "^19.1.0-rc.3", 261 "babel-preset-expo": "~54.0.0", 262 "eslint": "^9.39.2", 263 "eslint-import-resolver-typescript": "^4.4.4", 264 "eslint-plugin-bsky-internal": "link:./eslint", 265 "eslint-plugin-import-x": "^4.16.1", 266 "eslint-plugin-lingui": "^0.11.0", 267 "eslint-plugin-react": "^7.37.5", 268 "eslint-plugin-react-compiler": "^19.1.0-rc.2", 269 "eslint-plugin-react-hooks": "^7.0.1", 270 "eslint-plugin-react-native": "^5.0.0", 271 "eslint-plugin-react-native-a11y": "^3.5.1", 272 "eslint-plugin-simple-import-sort": "^12.1.1", 273 "file-loader": "6.2.0", 274 "globals": "^17.0.0", 275 "husky": "^8.0.3", 276 "is-ci": "^3.0.1", 277 "jest": "^29.7.0", 278 "jest-expo": "~54.0.14", 279 "jest-junit": "^16.0.0", 280 "lint-staged": "^13.2.3", 281 "lockfile-lint": "^4.14.0", 282 "prettier": "^3.6.0", 283 "react-native-dotenv": "^3.4.11", 284 "react-refresh": "^0.14.0", 285 "svgo": "^3.3.2", 286 "ts-node": "^10.9.1", 287 "ts-plugin-sort-import-suggestions": "^1.0.4", 288 "typescript": "^5.9.3", 289 "typescript-eslint": "^8.56.0", 290 "webpack-bundle-analyzer": "^4.10.1" 291 }, 292 "resolutions": { 293 "@react-native/babel-preset": "0.81.5", 294 "@react-native/normalize-colors": "0.81.5", 295 "**/@expo/image-utils": "0.8.7", 296 "**/@react-native-async-storage/async-storage": "2.2.0", 297 "**/expo-constants": "18.0.8", 298 "**/expo-device": "7.1.4", 299 "**/multiformats": "9.9.0", 300 "unicode-segmenter": "0.14.5", 301 "@types/estree": "1.0.6" 302 }, 303 "jest": { 304 "preset": "jest-expo/ios", 305 "setupFilesAfterEnv": [ 306 "./jest/jestSetup.js" 307 ], 308 "moduleFileExtensions": [ 309 "ts", 310 "tsx", 311 "js", 312 "jsx", 313 "json", 314 "node" 315 ], 316 "transform": { 317 "\\.[jt]sx?$": "babel-jest" 318 }, 319 "transformIgnorePatterns": [ 320 "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)" 321 ], 322 "modulePathIgnorePatterns": [ 323 "__tests__/.*/__mocks__", 324 "__e2e__/.*" 325 ], 326 "coveragePathIgnorePatterns": [ 327 "<rootDir>/node_modules/", 328 "<rootDir>/src/platform", 329 "<rootDir>/src/third-party", 330 "<rootDir>/src/view/com/util", 331 "<rootDir>/src/state/lib", 332 "<rootDir>/__tests__/test-utils.js" 333 ], 334 "reporters": [ 335 "default", 336 "jest-junit" 337 ] 338 }, 339 "browserslist": { 340 "production": [ 341 ">0.2%", 342 "not dead", 343 "not op_mini all" 344 ], 345 "development": [ 346 "last 1 chrome version", 347 "last 1 firefox version", 348 "last 1 safari version" 349 ] 350 }, 351 "lint-staged": { 352 "*{.js,.jsx,.ts,.tsx}": [ 353 "eslint --cache --fix" 354 ], 355 "*{.js,.jsx,.ts,.tsx,.css}": [ 356 "prettier --cache --write --ignore-unknown" 357 ], 358 "assets/icons/*.svg": [ 359 "svgo" 360 ] 361 }, 362 "lockfile-lint": { 363 "path": "yarn.lock", 364 "allowedHosts": [ 365 "npm", 366 "yarn" 367 ], 368 "allowedSchemes": [ 369 "https:" 370 ], 371 "allowedPackageNameAliases": [ 372 "@babel/traverse--for-generate-function-map:@babel/traverse", 373 "string-width-cjs:string-width", 374 "strip-ansi-cjs:strip-ansi", 375 "wrap-ansi-cjs:wrap-ansi" 376 ], 377 "allowedUrls": [ 378 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908", 379 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4", 380 "https://codeload.github.com/mattermost/react-native-paste-input/tar.gz/f260447edc645a817ab1ba7b46d8341d84dba8e9" 381 ], 382 "emptyHostname": false, 383 "validatePackageNames": true, 384 "validateIntegrity": true 385 } 386}