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