mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{ 2 "name": "bsky.app", 3 "version": "1.76.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/", 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 "start": "expo start --dev-client", 24 "start:prod": "expo start --dev-client --no-dev --minify", 25 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*", 26 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail", 27 "test-watch": "NODE_ENV=test jest --watchAll", 28 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit", 29 "test-coverage": "NODE_ENV=test jest --coverage", 30 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src", 31 "typecheck": "tsc --project ./tsconfig.check.json", 32 "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts", 33 "e2e:metro": "NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios", 34 "e2e:build": "NODE_ENV=test detox build -c ios.sim.debug", 35 "e2e:run": "NODE_ENV=test detox test --configuration ios.sim.debug --take-screenshots all", 36 "perf:test": "NODE_ENV=test maestro test", 37 "perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml", 38 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand 'yarn perf:test' --duration 150000 --resultsFilePath .perf/results.json", 39 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json", 40 "perf:measure": "NODE_ENV=test flashlight measure", 41 "intl:build": "yarn intl:extract && yarn intl:compile", 42 "intl:check": "yarn intl:extract && git diff-index -G'(^[^\\*# /])|(^#\\w)|(^\\s+[^\\*#/])' HEAD || (echo '\n⚠️ i18n detected un-extracted translations\n' && exit 1)", 43 "intl:extract": "lingui extract", 44 "intl:compile": "lingui compile", 45 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android", 46 "update-extensions": "bash scripts/updateExtensions.sh", 47 "export": "npx expo export" 48 }, 49 "dependencies": { 50 "@atproto/api": "^0.12.2", 51 "@bam.tech/react-native-image-resizer": "^3.0.4", 52 "@braintree/sanitize-url": "^6.0.2", 53 "@discord/bottom-sheet": "https://github.com/bluesky-social/react-native-bottom-sheet.git#discord-fork-4.6.1", 54 "@emoji-mart/react": "^1.1.1", 55 "@expo/html-elements": "^0.4.2", 56 "@expo/webpack-config": "^19.0.0", 57 "@fortawesome/fontawesome-svg-core": "^6.1.1", 58 "@fortawesome/free-regular-svg-icons": "^6.1.1", 59 "@fortawesome/free-solid-svg-icons": "^6.1.1", 60 "@fortawesome/react-native-fontawesome": "^0.3.0", 61 "@lingui/react": "^4.5.0", 62 "@mattermost/react-native-paste-input": "^0.6.4", 63 "@miblanchard/react-native-slider": "^2.3.1", 64 "@radix-ui/react-dropdown-menu": "^2.0.6", 65 "@react-native-async-storage/async-storage": "1.21.0", 66 "@react-native-camera-roll/camera-roll": "^5.2.2", 67 "@react-native-clipboard/clipboard": "^1.10.0", 68 "@react-native-community/blur": "^4.3.0", 69 "@react-native-masked-view/masked-view": "0.3.0", 70 "@react-native-menu/menu": "^0.8.0", 71 "@react-native-picker/picker": "2.6.1", 72 "@react-navigation/bottom-tabs": "^6.5.7", 73 "@react-navigation/drawer": "^6.6.2", 74 "@react-navigation/native": "^6.1.6", 75 "@react-navigation/native-stack": "^6.9.12", 76 "@segment/analytics-next": "^1.51.3", 77 "@segment/analytics-react": "^1.0.0-rc1", 78 "@segment/analytics-react-native": "^2.10.1", 79 "@segment/sovran-react-native": "^0.4.5", 80 "@sentry/react-native": "5.5.0", 81 "@tamagui/focus-scope": "^1.84.1", 82 "@tanstack/query-async-storage-persister": "^5.25.0", 83 "@tanstack/react-query": "^5.8.1", 84 "@tanstack/react-query-persist-client": "^5.25.0", 85 "@tiptap/core": "^2.0.0-beta.220", 86 "@tiptap/extension-document": "^2.0.0-beta.220", 87 "@tiptap/extension-hard-break": "^2.0.3", 88 "@tiptap/extension-history": "^2.0.3", 89 "@tiptap/extension-mention": "^2.0.0-beta.220", 90 "@tiptap/extension-paragraph": "^2.0.0-beta.220", 91 "@tiptap/extension-placeholder": "^2.0.0-beta.220", 92 "@tiptap/extension-text": "^2.0.0-beta.220", 93 "@tiptap/html": "^2.1.11", 94 "@tiptap/pm": "^2.0.0-beta.220", 95 "@tiptap/react": "^2.0.0-beta.220", 96 "@tiptap/suggestion": "^2.0.0-beta.220", 97 "@types/invariant": "^2.2.37", 98 "@types/node": "^18.16.2", 99 "@zxing/text-encoding": "^0.9.0", 100 "array.prototype.findlast": "^1.2.3", 101 "await-lock": "^2.2.2", 102 "babel-plugin-transform-remove-console": "^6.9.4", 103 "base64-js": "^1.5.1", 104 "bcp-47-match": "^2.0.3", 105 "date-fns": "^2.30.0", 106 "email-validator": "^2.0.4", 107 "emoji-mart": "^5.5.2", 108 "eventemitter3": "^5.0.1", 109 "expo": "^50.0.0-preview.10", 110 "expo-application": "~5.8.2", 111 "expo-build-properties": "^0.11.0", 112 "expo-camera": "~14.0.1", 113 "expo-constants": "~15.4.3", 114 "expo-dev-client": "~3.3.5", 115 "expo-device": "~5.9.2", 116 "expo-image": "~1.10.3", 117 "expo-image-manipulator": "^11.8.0", 118 "expo-image-picker": "~14.7.1", 119 "expo-linking": "^6.2.2", 120 "expo-localization": "~14.8.2", 121 "expo-media-library": "~15.9.1", 122 "expo-notifications": "~0.27.3", 123 "expo-sharing": "^11.10.0", 124 "expo-splash-screen": "~0.26.2", 125 "expo-status-bar": "~1.11.1", 126 "expo-system-ui": "~2.9.3", 127 "expo-task-manager": "~11.7.0", 128 "expo-updates": "~0.24.7", 129 "expo-web-browser": "~12.8.1", 130 "fast-text-encoding": "^1.0.6", 131 "history": "^5.3.0", 132 "js-sha256": "^0.9.0", 133 "jwt-decode": "^4.0.0", 134 "lande": "^1.0.10", 135 "lodash.chunk": "^4.2.0", 136 "lodash.debounce": "^4.0.8", 137 "lodash.isequal": "^4.5.0", 138 "lodash.omit": "^4.5.0", 139 "lodash.once": "^4.1.1", 140 "lodash.random": "^3.2.0", 141 "lodash.samplesize": "^4.2.0", 142 "lodash.set": "^4.3.2", 143 "lodash.shuffle": "^4.2.0", 144 "lru_map": "^0.4.1", 145 "mobx": "^6.6.1", 146 "mobx-react-lite": "^3.4.0", 147 "mobx-utils": "^6.0.6", 148 "nanoid": "^5.0.5", 149 "normalize-url": "^8.0.0", 150 "patch-package": "^6.5.1", 151 "postinstall-postinstall": "^2.1.0", 152 "psl": "^1.9.0", 153 "react": "18.2.0", 154 "react-avatar-editor": "^13.0.0", 155 "react-circular-progressbar": "^2.1.0", 156 "react-dom": "^18.2.0", 157 "react-keyed-flatten-children": "^3.0.0", 158 "react-native": "0.73.2", 159 "react-native-appstate-hook": "^1.0.6", 160 "react-native-date-picker": "^4.4.0", 161 "react-native-drawer-layout": "^4.0.0-alpha.3", 162 "react-native-fs": "^2.20.0", 163 "react-native-gesture-handler": "~2.14.0", 164 "react-native-get-random-values": "~1.8.0", 165 "react-native-haptic-feedback": "^1.14.0", 166 "react-native-image-crop-picker": "^0.38.1", 167 "react-native-ios-context-menu": "^1.15.3", 168 "react-native-linear-gradient": "^2.6.2", 169 "react-native-pager-view": "6.2.3", 170 "react-native-picker-select": "^8.1.0", 171 "react-native-progress": "bluesky-social/react-native-progress", 172 "react-native-reanimated": "^3.6.0", 173 "react-native-root-siblings": "^4.1.1", 174 "react-native-safe-area-context": "4.8.2", 175 "react-native-screens": "~3.29.0", 176 "react-native-svg": "14.1.0", 177 "react-native-ui-text-view": "link:./modules/react-native-ui-text-view", 178 "react-native-url-polyfill": "^1.3.0", 179 "react-native-uuid": "^2.0.1", 180 "react-native-version-number": "^0.3.6", 181 "react-native-web": "~0.19.6", 182 "react-native-web-linear-gradient": "^1.1.2", 183 "react-native-web-webview": "^1.0.2", 184 "react-native-webview": "13.6.4", 185 "react-responsive": "^9.0.2", 186 "rn-fetch-blob": "^0.12.0", 187 "sentry-expo": "~7.0.1", 188 "statsig-react-native-expo": "^4.6.1", 189 "tippy.js": "^6.3.7", 190 "tlds": "^1.234.0", 191 "use-deep-compare": "^1.1.0", 192 "zeego": "^1.6.2", 193 "zod": "^3.20.2" 194 }, 195 "devDependencies": { 196 "@atproto/dev-env": "^0.2.28", 197 "@babel/core": "^7.23.2", 198 "@babel/preset-env": "^7.20.0", 199 "@babel/runtime": "^7.20.0", 200 "@did-plc/server": "^0.0.1", 201 "@expo/config-plugins": "7.8.0", 202 "@expo/prebuild-config": "6.7.0", 203 "@lingui/cli": "^4.5.0", 204 "@lingui/macro": "^4.5.0", 205 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", 206 "@react-native-community/eslint-config": "^3.0.0", 207 "@react-native/typescript-config": "^0.74.0", 208 "@testing-library/jest-native": "^5.4.1", 209 "@testing-library/react-native": "^11.5.2", 210 "@tsconfig/react-native": "^2.0.3", 211 "@types/he": "^1.1.2", 212 "@types/jest": "^29.4.0", 213 "@types/lodash.chunk": "^4.2.7", 214 "@types/lodash.debounce": "^4.0.7", 215 "@types/lodash.isequal": "^4.5.6", 216 "@types/lodash.omit": "^4.5.7", 217 "@types/lodash.once": "^4.1.7", 218 "@types/lodash.random": "^3.2.7", 219 "@types/lodash.samplesize": "^4.2.7", 220 "@types/lodash.set": "^4.3.7", 221 "@types/lodash.shuffle": "^4.2.7", 222 "@types/psl": "^1.1.1", 223 "@types/react-avatar-editor": "^13.0.0", 224 "@types/react-dom": "^18.2.18", 225 "@types/react-responsive": "^8.0.5", 226 "@types/react-test-renderer": "^17.0.1", 227 "@typescript-eslint/eslint-plugin": "^5.48.2", 228 "@typescript-eslint/parser": "^5.48.2", 229 "babel-jest": "^29.7.0", 230 "babel-loader": "^9.1.2", 231 "babel-plugin-macros": "^3.1.0", 232 "babel-plugin-module-resolver": "^5.0.0", 233 "babel-plugin-react-native-web": "^0.18.12", 234 "babel-preset-expo": "^10.0.0", 235 "detox": "^20.14.8", 236 "eslint": "^8.19.0", 237 "eslint-plugin-detox": "^1.0.0", 238 "eslint-plugin-ft-flow": "^2.0.3", 239 "eslint-plugin-lingui": "^0.2.0", 240 "eslint-plugin-react": "^7.33.2", 241 "eslint-plugin-react-native-a11y": "^3.3.0", 242 "eslint-plugin-simple-import-sort": "^12.0.0", 243 "html-webpack-plugin": "^5.5.0", 244 "husky": "^8.0.3", 245 "is-ci": "^3.0.1", 246 "jest": "^29.7.0", 247 "jest-expo": "^50.0.1", 248 "jest-junit": "^15.0.0", 249 "lint-staged": "^13.2.3", 250 "metro-react-native-babel-preset": "^0.73.7", 251 "prettier": "^2.8.3", 252 "react-native-dotenv": "^3.3.1", 253 "react-refresh": "^0.14.0", 254 "react-scripts": "^5.0.1", 255 "react-test-renderer": "18.2.0", 256 "ts-node": "^10.9.1", 257 "typescript": "^5.3.3", 258 "url-loader": "^4.1.1", 259 "webpack": "^5.75.0", 260 "webpack-cli": "^5.0.1", 261 "webpack-dev-server": "^4.11.1" 262 }, 263 "resolutions": { 264 "@types/react": "^18", 265 "**/zeed-dom": "0.10.9" 266 }, 267 "jest": { 268 "preset": "jest-expo/ios", 269 "setupFilesAfterEnv": [ 270 "./jest/jestSetup.js", 271 "@testing-library/jest-native/extend-expect" 272 ], 273 "moduleFileExtensions": [ 274 "ts", 275 "tsx", 276 "js", 277 "jsx", 278 "json", 279 "node" 280 ], 281 "transform": { 282 "\\.[jt]sx?$": "babel-jest" 283 }, 284 "transformIgnorePatterns": [ 285 "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|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)" 286 ], 287 "modulePathIgnorePatterns": [ 288 "__tests__/.*/__mocks__", 289 "__e2e__/.*" 290 ], 291 "coveragePathIgnorePatterns": [ 292 "<rootDir>/node_modules/", 293 "<rootDir>/src/platform", 294 "<rootDir>/src/third-party", 295 "<rootDir>/src/view/com/util", 296 "<rootDir>/src/state/lib", 297 "<rootDir>/__tests__/test-utils.js" 298 ], 299 "reporters": [ 300 "default", 301 "jest-junit" 302 ] 303 }, 304 "browserslist": { 305 "production": [ 306 ">0.2%", 307 "not dead", 308 "not op_mini all" 309 ], 310 "development": [ 311 "last 1 chrome version", 312 "last 1 firefox version", 313 "last 1 safari version" 314 ] 315 }, 316 "lint-staged": { 317 "*{.js,.jsx,.ts,.tsx}": [ 318 "eslint --cache --fix", 319 "prettier --cache --write --ignore-unknown" 320 ] 321 } 322}