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