mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{ 2 "name": "bsky.app", 3 "version": "1.91.0", 4 "private": true, 5 "engines": { 6 "node": ">=18" 7 }, 8 "packageManager": "yarn@1.22.19", 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 "ios": "expo run:ios", 15 "web": "expo start --web", 16 "use-build-number": "./scripts/useBuildNumberEnv.sh", 17 "use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh", 18 "build-web": "expo export:web && node ./scripts/post-web-build.js && cp -v ./web-build/static/js/*.* ./bskyweb/static/js/ && cp -v ./web-build/static/media/*.png ./bskyweb/static/media/", 19 "build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all", 20 "build-ios": "yarn use-build-number-with-bump eas build -p ios", 21 "build-android": "yarn use-build-number-with-bump eas build -p android", 22 "build": "yarn use-build-number-with-bump eas build", 23 "build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js", 24 "start": "expo start --dev-client", 25 "start:prod": "expo start --dev-client --no-dev --minify", 26 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*", 27 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail", 28 "test-watch": "NODE_ENV=test jest --watchAll", 29 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit", 30 "test-coverage": "NODE_ENV=test jest --coverage", 31 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src", 32 "lint-native": "swiftlint ./modules && ktlint ./modules", 33 "lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules", 34 "typecheck": "tsc --project ./tsconfig.check.json", 35 "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", 36 "e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios", 37 "e2e:metro-android": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:android", 38 "e2e:run": "maestro test __e2e__", 39 "perf:test": "NODE_ENV=test maestro test", 40 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml", 41 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json", 42 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json", 43 "perf:measure": "NODE_ENV=test flashlight measure", 44 "intl:build": "yarn intl:extract && yarn intl:compile", 45 "intl:extract": "lingui extract", 46 "intl:compile": "lingui compile", 47 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android", 48 "update-extensions": "bash scripts/updateExtensions.sh", 49 "export": "npx expo export", 50 "make-deploy-bundle": "bash scripts/bundleUpdate.sh", 51 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web", 52 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web" 53 }, 54 "dependencies": { 55 "@atproto/api": "0.13.5", 56 "@bam.tech/react-native-image-resizer": "^3.0.4", 57 "@braintree/sanitize-url": "^6.0.2", 58 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", 59 "@emoji-mart/react": "^1.1.1", 60 "@expo/html-elements": "^0.4.2", 61 "@expo/webpack-config": "^19.0.0", 62 "@floating-ui/dom": "^1.6.3", 63 "@floating-ui/react-dom": "^2.0.8", 64 "@formatjs/intl-locale": "^4.0.0", 65 "@formatjs/intl-numberformat": "^8.10.3", 66 "@formatjs/intl-pluralrules": "^5.2.14", 67 "@fortawesome/fontawesome-svg-core": "^6.1.1", 68 "@fortawesome/free-regular-svg-icons": "^6.1.1", 69 "@fortawesome/free-solid-svg-icons": "^6.1.1", 70 "@fortawesome/react-native-fontawesome": "^0.3.2", 71 "@lingui/react": "^4.5.0", 72 "@mattermost/react-native-paste-input": "^0.7.1", 73 "@miblanchard/react-native-slider": "^2.3.1", 74 "@radix-ui/react-dropdown-menu": "^2.0.6", 75 "@react-native-async-storage/async-storage": "1.23.1", 76 "@react-native-masked-view/masked-view": "0.3.0", 77 "@react-native-menu/menu": "^1.1.0", 78 "@react-native-picker/picker": "2.6.1", 79 "@react-navigation/bottom-tabs": "^6.5.20", 80 "@react-navigation/drawer": "^6.6.15", 81 "@react-navigation/native": "^6.1.17", 82 "@react-navigation/native-stack": "^6.9.26", 83 "@segment/analytics-next": "^1.51.3", 84 "@segment/analytics-react": "^1.0.0-rc1", 85 "@segment/analytics-react-native": "^2.10.1", 86 "@segment/sovran-react-native": "^0.4.5", 87 "@sentry/react-native": "5.5.0", 88 "@tamagui/focus-scope": "^1.84.1", 89 "@tanstack/query-async-storage-persister": "^5.25.0", 90 "@tanstack/react-query": "^5.8.1", 91 "@tanstack/react-query-persist-client": "^5.25.0", 92 "@tiptap/core": "^2.0.0-beta.220", 93 "@tiptap/extension-document": "^2.0.0-beta.220", 94 "@tiptap/extension-hard-break": "^2.0.3", 95 "@tiptap/extension-history": "^2.0.3", 96 "@tiptap/extension-mention": "^2.0.0-beta.220", 97 "@tiptap/extension-paragraph": "^2.0.0-beta.220", 98 "@tiptap/extension-placeholder": "^2.0.0-beta.220", 99 "@tiptap/extension-text": "^2.0.0-beta.220", 100 "@tiptap/html": "^2.1.11", 101 "@tiptap/pm": "^2.0.0-beta.220", 102 "@tiptap/react": "^2.0.0-beta.220", 103 "@tiptap/suggestion": "^2.0.0-beta.220", 104 "@types/invariant": "^2.2.37", 105 "@types/lodash.throttle": "^4.1.9", 106 "@types/node": "^18.16.2", 107 "@zxing/text-encoding": "^0.9.0", 108 "array.prototype.findlast": "^1.2.3", 109 "await-lock": "^2.2.2", 110 "babel-plugin-transform-remove-console": "^6.9.4", 111 "base64-js": "^1.5.1", 112 "bcp-47-match": "^2.0.3", 113 "date-fns": "^2.30.0", 114 "deprecated-react-native-prop-types": "^5.0.0", 115 "email-validator": "^2.0.4", 116 "emoji-mart": "^5.5.2", 117 "eventemitter3": "^5.0.1", 118 "expo": "^51.0.8", 119 "expo-application": "^5.9.1", 120 "expo-build-properties": "^0.12.1", 121 "expo-camera": "~15.0.9", 122 "expo-clipboard": "^6.0.3", 123 "expo-dev-client": "^4.0.14", 124 "expo-device": "~6.0.2", 125 "expo-file-system": "^17.0.1", 126 "expo-haptics": "^13.0.1", 127 "expo-image": "~1.12.9", 128 "expo-image-manipulator": "^12.0.5", 129 "expo-image-picker": "~15.0.5", 130 "expo-linear-gradient": "^13.0.2", 131 "expo-linking": "^6.3.1", 132 "expo-localization": "~15.0.3", 133 "expo-media-library": "~16.0.3", 134 "expo-navigation-bar": "~3.0.4", 135 "expo-notifications": "~0.28.7", 136 "expo-sharing": "^12.0.1", 137 "expo-splash-screen": "~0.27.4", 138 "expo-status-bar": "~1.12.1", 139 "expo-system-ui": "~3.0.4", 140 "expo-task-manager": "~11.8.1", 141 "expo-updates": "~0.25.14", 142 "expo-video": "https://github.com/bluesky-social/expo/raw/expo-video-1.2.4-patch/packages/expo-video/expo-video-v1.2.4-1.tgz", 143 "expo-web-browser": "~13.0.3", 144 "fast-text-encoding": "^1.0.6", 145 "history": "^5.3.0", 146 "hls.js": "^1.5.11", 147 "js-sha256": "^0.9.0", 148 "jwt-decode": "^4.0.0", 149 "lande": "^1.0.10", 150 "lodash.chunk": "^4.2.0", 151 "lodash.debounce": "^4.0.8", 152 "lodash.isequal": "^4.5.0", 153 "lodash.omit": "^4.5.0", 154 "lodash.once": "^4.1.1", 155 "lodash.random": "^3.2.0", 156 "lodash.samplesize": "^4.2.0", 157 "lodash.set": "^4.3.2", 158 "lodash.shuffle": "^4.2.0", 159 "lodash.throttle": "^4.1.1", 160 "mobx": "^6.6.1", 161 "mobx-react-lite": "^3.4.0", 162 "mobx-utils": "^6.0.6", 163 "nanoid": "^5.0.5", 164 "normalize-url": "^8.0.0", 165 "patch-package": "^6.5.1", 166 "postinstall-postinstall": "^2.1.0", 167 "psl": "^1.9.0", 168 "react": "18.2.0", 169 "react-avatar-editor": "^13.0.0", 170 "react-compiler-runtime": "file:./lib/react-compiler-runtime", 171 "react-dom": "^18.2.0", 172 "react-keyed-flatten-children": "^3.0.0", 173 "react-native": "0.74.1", 174 "react-native-compressor": "^1.8.24", 175 "react-native-date-picker": "^4.4.2", 176 "react-native-drawer-layout": "^4.0.0-alpha.3", 177 "react-native-fs": "^2.20.0", 178 "react-native-gesture-handler": "~2.16.2", 179 "react-native-get-random-values": "~1.11.0", 180 "react-native-image-crop-picker": "0.40.3", 181 "react-native-ios-context-menu": "^1.15.3", 182 "react-native-keyboard-controller": "^1.12.1", 183 "react-native-mmkv": "^2.12.2", 184 "react-native-pager-view": "6.2.3", 185 "react-native-picker-select": "^9.1.3", 186 "react-native-progress": "bluesky-social/react-native-progress", 187 "react-native-qrcode-styled": "^0.3.1", 188 "react-native-reanimated": "^3.11.0", 189 "react-native-root-siblings": "^4.1.1", 190 "react-native-safe-area-context": "4.10.1", 191 "react-native-screens": "~3.31.1", 192 "react-native-svg": "^15.3.0", 193 "react-native-uitextview": "^1.1.7", 194 "react-native-url-polyfill": "^1.3.0", 195 "react-native-uuid": "^2.0.2", 196 "react-native-view-shot": "^3.8.0", 197 "react-native-web": "~0.19.11", 198 "react-native-web-webview": "^1.0.2", 199 "react-native-webview": "13.10.2", 200 "react-responsive": "^9.0.2", 201 "react-textarea-autosize": "^8.5.3", 202 "rn-fetch-blob": "^0.12.0", 203 "sentry-expo": "~7.0.1", 204 "statsig-react-native-expo": "^4.6.1", 205 "tippy.js": "^6.3.7", 206 "tlds": "^1.234.0", 207 "zeego": "^1.6.2", 208 "zod": "^3.20.2" 209 }, 210 "devDependencies": { 211 "@atproto/dev-env": "^0.3.39", 212 "@babel/core": "^7.23.2", 213 "@babel/preset-env": "^7.20.0", 214 "@babel/runtime": "^7.20.0", 215 "@did-plc/server": "^0.0.1", 216 "@expo/config-plugins": "8.0.4", 217 "@expo/prebuild-config": "6.7.0", 218 "@lingui/cli": "^4.5.0", 219 "@lingui/macro": "^4.5.0", 220 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", 221 "@react-native-community/eslint-config": "^3.0.0", 222 "@react-native/typescript-config": "^0.74.1", 223 "@testing-library/jest-native": "^5.4.1", 224 "@testing-library/react-native": "^11.5.2", 225 "@tsconfig/react-native": "^2.0.3", 226 "@types/he": "^1.1.2", 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.omit": "^4.5.7", 232 "@types/lodash.once": "^4.1.7", 233 "@types/lodash.random": "^3.2.7", 234 "@types/lodash.samplesize": "^4.2.7", 235 "@types/lodash.set": "^4.3.7", 236 "@types/lodash.shuffle": "^4.2.7", 237 "@types/psl": "^1.1.1", 238 "@types/react-avatar-editor": "^13.0.0", 239 "@types/react-dom": "^18.2.18", 240 "@types/react-responsive": "^8.0.5", 241 "@types/react-test-renderer": "^17.0.1", 242 "@typescript-eslint/eslint-plugin": "^5.48.2", 243 "@typescript-eslint/parser": "^5.48.2", 244 "babel-jest": "^29.7.0", 245 "babel-loader": "^9.1.2", 246 "babel-plugin-macros": "^3.1.0", 247 "babel-plugin-module-resolver": "^5.0.0", 248 "babel-plugin-react-compiler": "^0.0.0-experimental-592953e-20240517", 249 "babel-plugin-react-native-web": "^0.18.12", 250 "babel-preset-expo": "^10.0.0", 251 "eslint": "^8.19.0", 252 "eslint-plugin-bsky-internal": "link:./eslint", 253 "eslint-plugin-ft-flow": "^2.0.3", 254 "eslint-plugin-lingui": "^0.2.0", 255 "eslint-plugin-react": "^7.33.2", 256 "eslint-plugin-react-compiler": "^0.0.0-experimental-c8b3f72-20240517", 257 "eslint-plugin-react-native-a11y": "^3.3.0", 258 "eslint-plugin-simple-import-sort": "^12.0.0", 259 "html-webpack-plugin": "^5.5.0", 260 "husky": "^8.0.3", 261 "is-ci": "^3.0.1", 262 "jest": "^29.7.0", 263 "jest-expo": "^50.0.1", 264 "jest-junit": "^15.0.0", 265 "lint-staged": "^13.2.3", 266 "metro-react-native-babel-preset": "^0.74.1", 267 "prettier": "^2.8.3", 268 "react-native-dotenv": "^3.3.1", 269 "react-refresh": "^0.14.0", 270 "react-scripts": "^5.0.1", 271 "react-test-renderer": "18.2.0", 272 "ts-node": "^10.9.1", 273 "typescript": "^5.5.4", 274 "url-loader": "^4.1.1", 275 "webpack": "^5.75.0", 276 "webpack-bundle-analyzer": "^4.10.1", 277 "webpack-cli": "^5.0.1", 278 "webpack-dev-server": "^4.11.1" 279 }, 280 "resolutions": { 281 "@types/react": "^18", 282 "**/zeed-dom": "0.10.9", 283 "**/zod": "3.23.8", 284 "**/expo-constants": "16.0.1", 285 "**/expo-device": "6.0.2", 286 "@react-native/babel-preset": "0.74.1" 287 }, 288 "jest": { 289 "preset": "jest-expo/ios", 290 "setupFilesAfterEnv": [ 291 "./jest/jestSetup.js", 292 "@testing-library/jest-native/extend-expect" 293 ], 294 "moduleFileExtensions": [ 295 "ts", 296 "tsx", 297 "js", 298 "jsx", 299 "json", 300 "node" 301 ], 302 "transform": { 303 "\\.[jt]sx?$": "babel-jest" 304 }, 305 "transformIgnorePatterns": [ 306 "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)" 307 ], 308 "modulePathIgnorePatterns": [ 309 "__tests__/.*/__mocks__", 310 "__e2e__/.*" 311 ], 312 "coveragePathIgnorePatterns": [ 313 "<rootDir>/node_modules/", 314 "<rootDir>/src/platform", 315 "<rootDir>/src/third-party", 316 "<rootDir>/src/view/com/util", 317 "<rootDir>/src/state/lib", 318 "<rootDir>/__tests__/test-utils.js" 319 ], 320 "reporters": [ 321 "default", 322 "jest-junit" 323 ] 324 }, 325 "browserslist": { 326 "production": [ 327 ">0.2%", 328 "not dead", 329 "not op_mini all" 330 ], 331 "development": [ 332 "last 1 chrome version", 333 "last 1 firefox version", 334 "last 1 safari version" 335 ] 336 }, 337 "lint-staged": { 338 "*{.js,.jsx,.ts,.tsx}": [ 339 "eslint --cache --fix", 340 "prettier --cache --write --ignore-unknown" 341 ] 342 } 343}