An ATproto social media client -- with an independent Appview.
at main 14 kB view raw
1{ 2 "name": "bsky.app", 3 "version": "1.109.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.17.0", 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.8.0", 96 "@react-native-async-storage/async-storage": "2.2.0", 97 "@react-navigation/bottom-tabs": "^7.3.13", 98 "@react-navigation/drawer": "^7.3.12", 99 "@react-navigation/native": "^7.1.9", 100 "@react-navigation/native-stack": "^7.3.13", 101 "@sentry/react-native": "~6.20.0", 102 "@tanstack/query-async-storage-persister": "^5.25.0", 103 "@tanstack/react-query": "^5.8.1", 104 "@tanstack/react-query-persist-client": "^5.25.0", 105 "@tiptap/core": "^2.9.1", 106 "@tiptap/extension-document": "^2.9.1", 107 "@tiptap/extension-hard-break": "^2.9.1", 108 "@tiptap/extension-history": "^2.9.1", 109 "@tiptap/extension-mention": "^2.9.1", 110 "@tiptap/extension-paragraph": "^2.9.1", 111 "@tiptap/extension-placeholder": "^2.9.1", 112 "@tiptap/extension-text": "^2.9.1", 113 "@tiptap/html": "^2.9.1", 114 "@tiptap/pm": "^2.9.1", 115 "@tiptap/react": "^2.9.1", 116 "@tiptap/suggestion": "^2.9.1", 117 "@types/invariant": "^2.2.37", 118 "@types/lodash.throttle": "^4.1.9", 119 "@types/node": "^20.14.3", 120 "@zxing/text-encoding": "^0.9.0", 121 "array.prototype.findlast": "^1.2.3", 122 "await-lock": "^2.2.2", 123 "babel-plugin-transform-remove-console": "^6.9.4", 124 "bcp-47": "^2.1.0", 125 "bcp-47-match": "^2.0.3", 126 "date-fns": "^2.30.0", 127 "email-validator": "^2.0.4", 128 "emoji-mart": "^5.5.2", 129 "emoji-regex": "^10.4.0", 130 "eventemitter3": "^5.0.1", 131 "expo": "^54.0.9", 132 "expo-application": "~7.0.7", 133 "expo-blur": "~15.0.7", 134 "expo-build-properties": "~1.0.9", 135 "expo-camera": "~17.0.8", 136 "expo-clipboard": "~8.0.7", 137 "expo-dev-client": "~6.0.12", 138 "expo-device": "~8.0.8", 139 "expo-file-system": "~19.0.14", 140 "expo-font": "~14.0.8", 141 "expo-haptics": "~15.0.7", 142 "expo-image": "~3.0.8", 143 "expo-image-crop-tool": "^0.1.8", 144 "expo-image-manipulator": "~14.0.7", 145 "expo-image-picker": "~17.0.8", 146 "expo-intent-launcher": "~13.0.7", 147 "expo-linear-gradient": "~15.0.7", 148 "expo-linking": "~8.0.8", 149 "expo-localization": "~17.0.7", 150 "expo-location": "~19.0.7", 151 "expo-media-library": "~18.2.0", 152 "expo-notifications": "~0.32.11", 153 "expo-screen-orientation": "~9.0.7", 154 "expo-sharing": "~14.0.7", 155 "expo-splash-screen": "~31.0.10", 156 "expo-system-ui": "~6.0.7", 157 "expo-task-manager": "~14.0.7", 158 "expo-updates": "~29.0.11", 159 "expo-video": "~3.0.11", 160 "expo-web-browser": "~15.0.7", 161 "fast-text-encoding": "^1.0.6", 162 "history": "^5.3.0", 163 "hls.js": "^1.6.2", 164 "js-sha256": "^0.9.0", 165 "jwt-decode": "^4.0.0", 166 "lande": "^1.0.10", 167 "lodash.chunk": "^4.2.0", 168 "lodash.debounce": "^4.0.8", 169 "lodash.isequal": "^4.5.0", 170 "lodash.shuffle": "^4.2.0", 171 "lodash.throttle": "^4.1.1", 172 "multiformats": "9.9.0", 173 "nanoid": "^5.0.5", 174 "normalize-url": "^8.0.0", 175 "patch-package": "^6.5.1", 176 "postinstall-postinstall": "^2.1.0", 177 "psl": "^1.9.0", 178 "radix-ui": "^1.4.3", 179 "react": "19.1.0", 180 "react-compiler-runtime": "^19.1.0-rc.1", 181 "react-dom": "19.1.0", 182 "react-image-crop": "^11.0.7", 183 "react-is": "19", 184 "react-keyed-flatten-children": "^5.0.0", 185 "react-native": "0.81.4", 186 "react-native-compressor": "^1.13.0", 187 "react-native-date-picker": "^5.0.13", 188 "react-native-device-attest": "^0.1.6", 189 "react-native-drawer-layout": "^4.1.8", 190 "react-native-edge-to-edge": "^1.6.0", 191 "react-native-gesture-handler": "~2.28.0", 192 "react-native-get-random-values": "~1.11.0", 193 "react-native-keyboard-controller": "1.18.5", 194 "react-native-mmkv": "^2.12.2", 195 "react-native-pager-view": "6.8.0", 196 "react-native-progress": "bluesky-social/react-native-progress", 197 "react-native-qrcode-styled": "^0.3.3", 198 "react-native-reanimated": "^3.19.1", 199 "react-native-safe-area-context": "~5.6.0", 200 "react-native-screens": "~4.16.0", 201 "react-native-svg": "15.12.1", 202 "react-native-uitextview": "^1.4.0", 203 "react-native-url-polyfill": "^1.3.0", 204 "react-native-uuid": "^2.0.3", 205 "react-native-view-shot": "^4.0.3", 206 "react-native-web": "^0.21.0", 207 "react-native-web-webview": "^1.0.2", 208 "react-native-webview": "^13.13.5", 209 "react-remove-scroll-bar": "^2.3.8", 210 "react-responsive": "^10.0.1", 211 "react-textarea-autosize": "^8.5.3", 212 "sonner": "^2.0.7", 213 "sonner-native": "^0.21.0", 214 "statsig-react-native-expo": "^4.6.1", 215 "tippy.js": "^6.3.7", 216 "tlds": "^1.234.0", 217 "tldts": "^6.1.46", 218 "zod": "^3.20.2" 219 }, 220 "devDependencies": { 221 "@atproto/dev-env": "^0.3.172", 222 "@babel/core": "^7.26.0", 223 "@babel/preset-env": "^7.26.0", 224 "@babel/runtime": "^7.26.0", 225 "@expo/config-plugins": "~54.0.1", 226 "@lingui/cli": "^4.14.1", 227 "@lingui/macro": "^4.14.1", 228 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", 229 "@react-native/babel-preset": "0.81.4", 230 "@react-native/eslint-config": "^0.81.4", 231 "@react-native/typescript-config": "^0.81.4", 232 "@sentry/webpack-plugin": "^3.2.2", 233 "@testing-library/jest-native": "^5.4.3", 234 "@testing-library/react-native": "^13.2.0", 235 "@types/jest": "^29.4.0", 236 "@types/lodash.chunk": "^4.2.7", 237 "@types/lodash.debounce": "^4.0.7", 238 "@types/lodash.isequal": "^4.5.6", 239 "@types/lodash.shuffle": "^4.2.7", 240 "@types/psl": "^1.1.1", 241 "@types/react": "^19.1.12", 242 "@types/react-dom": "^19.1.9", 243 "@typescript-eslint/eslint-plugin": "^7.18.0", 244 "@typescript-eslint/parser": "^7.18.0", 245 "babel-jest": "^29.7.0", 246 "babel-plugin-macros": "^3.1.0", 247 "babel-plugin-module-resolver": "^5.0.2", 248 "babel-plugin-react-compiler": "^19.1.0-rc.3", 249 "babel-preset-expo": "~54.0.0", 250 "eslint": "^8.19.0", 251 "eslint-plugin-bsky-internal": "link:./eslint", 252 "eslint-plugin-ft-flow": "^2.0.3", 253 "eslint-plugin-import": "^2.31.0", 254 "eslint-plugin-lingui": "^0.2.0", 255 "eslint-plugin-react": "^7.33.2", 256 "eslint-plugin-react-compiler": "^19.1.0-rc.2", 257 "eslint-plugin-react-native-a11y": "^3.3.0", 258 "eslint-plugin-simple-import-sort": "^12.0.0", 259 "file-loader": "6.2.0", 260 "husky": "^8.0.3", 261 "is-ci": "^3.0.1", 262 "jest": "^29.7.0", 263 "jest-expo": "~54.0.12", 264 "jest-junit": "^16.0.0", 265 "lint-staged": "^13.2.3", 266 "lockfile-lint": "^4.14.0", 267 "metro-react-native-babel-preset": "^0.77.0", 268 "prettier": "^3.6.0", 269 "react-native-dotenv": "^3.4.11", 270 "react-refresh": "^0.14.0", 271 "svgo": "^3.3.2", 272 "ts-node": "^10.9.1", 273 "typescript": "^5.9.2", 274 "webpack-bundle-analyzer": "^4.10.1" 275 }, 276 "resolutions": { 277 "@react-native/babel-preset": "0.81.4", 278 "@react-native/normalize-colors": "0.81.4", 279 "**/@expo/image-utils": "0.8.7", 280 "**/expo-constants": "18.0.8", 281 "**/expo-device": "7.1.4", 282 "**/zod": "3.23.8", 283 "**/multiformats": "9.9.0" 284 }, 285 "jest": { 286 "preset": "jest-expo/ios", 287 "setupFilesAfterEnv": [ 288 "./jest/jestSetup.js" 289 ], 290 "moduleFileExtensions": [ 291 "ts", 292 "tsx", 293 "js", 294 "jsx", 295 "json", 296 "node" 297 ], 298 "transform": { 299 "\\.[jt]sx?$": "babel-jest" 300 }, 301 "transformIgnorePatterns": [ 302 "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)" 303 ], 304 "modulePathIgnorePatterns": [ 305 "__tests__/.*/__mocks__", 306 "__e2e__/.*" 307 ], 308 "coveragePathIgnorePatterns": [ 309 "<rootDir>/node_modules/", 310 "<rootDir>/src/platform", 311 "<rootDir>/src/third-party", 312 "<rootDir>/src/view/com/util", 313 "<rootDir>/src/state/lib", 314 "<rootDir>/__tests__/test-utils.js" 315 ], 316 "reporters": [ 317 "default", 318 "jest-junit" 319 ] 320 }, 321 "browserslist": { 322 "production": [ 323 ">0.2%", 324 "not dead", 325 "not op_mini all" 326 ], 327 "development": [ 328 "last 1 chrome version", 329 "last 1 firefox version", 330 "last 1 safari version" 331 ] 332 }, 333 "lint-staged": { 334 "*{.js,.jsx,.ts,.tsx}": [ 335 "eslint --cache --fix" 336 ], 337 "*{.js,.jsx,.ts,.tsx,.css}": [ 338 "prettier --cache --write --ignore-unknown" 339 ], 340 "assets/icons/*.svg": [ 341 "svgo" 342 ] 343 }, 344 "lockfile-lint": { 345 "path": "yarn.lock", 346 "allowedHosts": [ 347 "npm", 348 "yarn" 349 ], 350 "allowedSchemes": [ 351 "https:" 352 ], 353 "allowedPackageNameAliases": [ 354 "@babel/traverse--for-generate-function-map:@babel/traverse", 355 "string-width-cjs:string-width", 356 "strip-ansi-cjs:strip-ansi", 357 "wrap-ansi-cjs:wrap-ansi" 358 ], 359 "allowedUrls": [ 360 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908", 361 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4", 362 "https://codeload.github.com/mattermost/react-native-paste-input/tar.gz/f260447edc645a817ab1ba7b46d8341d84dba8e9" 363 ], 364 "emptyHostname": false, 365 "validatePackageNames": true, 366 "validateIntegrity": true 367 } 368}