Bluesky app fork with some witchin' additions 馃挮
at twelve 389 lines 15 kB view raw
1{ 2 "name": "witchsky-app", 3 "version": "1.117.0", 4 "private": true, 5 "engines": { 6 "node": ">=18" 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 --quiet 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:build": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios", 50 "e2e:build-android": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:android", 51 "e2e:start": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo start -c", 52 "e2e:run": "maestro test", 53 "perf:test": "NODE_ENV=test maestro test", 54 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml", 55 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId app.witchsky --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json", 56 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json", 57 "perf:measure": "NODE_ENV=test flashlight measure", 58 "intl:build": "yarn intl:extract:all && yarn intl:compile", 59 "intl:extract": "lingui extract --clean --locale en", 60 "intl:extract:all": "lingui extract --clean", 61 "intl:compile": "lingui compile", 62 "intl:compile-if-needed": "is-ci || [ -f src/locale/locales/en/messages.js ] || yarn intl:compile", 63 "intl:pull": "crowdin download translations --verbose -b main", 64 "intl:push": "crowdin push translations --verbose -b main", 65 "intl:push-sources": "crowdin push sources --verbose -b main", 66 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android", 67 "update-extensions": "bash scripts/updateExtensions.sh", 68 "export": "npx expo export --dump-sourcemap && yarn upload-native-sourcemaps", 69 "upload-native-sourcemaps": "npx sentry-expo-upload-sourcemaps dist", 70 "make-deploy-bundle": "bash scripts/bundleUpdate.sh", 71 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web", 72 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web", 73 "icons:optimize": "svgo -f ./assets/icons" 74 }, 75 "dependencies": { 76 "@atproto/api": "^0.18.21", 77 "@bitdrift/react-native": "^0.6.8", 78 "@braintree/sanitize-url": "^6.0.2", 79 "@bsky.app/alf": "^0.1.6", 80 "@bsky.app/expo-image-crop-tool": "^0.5.0", 81 "@bsky.app/react-native-mmkv": "2.12.5", 82 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", 83 "@emoji-mart/react": "^1.1.1", 84 "@expo/html-elements": "^0.12.5", 85 "@expo/webpack-config": "^19.0.1", 86 "@floating-ui/dom": "^1.6.3", 87 "@floating-ui/react-dom": "^2.0.8", 88 "@formatjs/intl-displaynames": "^6.8.13", 89 "@formatjs/intl-locale": "^4.2.13", 90 "@formatjs/intl-numberformat": "^8.15.6", 91 "@formatjs/intl-pluralrules": "^5.4.6", 92 "@fortawesome/fontawesome-svg-core": "^6.1.1", 93 "@fortawesome/free-regular-svg-icons": "^6.1.1", 94 "@fortawesome/free-solid-svg-icons": "^6.1.1", 95 "@fortawesome/react-native-fontawesome": "^0.3.2", 96 "@growthbook/growthbook-react": "^1.6.2", 97 "@haileyok/bluesky-video": "0.3.2", 98 "@ipld/dag-cbor": "^9.2.0", 99 "@lingui/react": "^4.14.1", 100 "@mattermost/react-native-paste-input": "mattermost/react-native-paste-input", 101 "@miblanchard/react-native-slider": "^2.6.0", 102 "@mozzius/expo-dynamic-app-icon": "^1.8.0", 103 "@react-native-async-storage/async-storage": "2.2.0", 104 "@react-navigation/bottom-tabs": "^7.9.0", 105 "@react-navigation/native": "^7.1.26", 106 "@react-navigation/native-stack": "^7.9.0", 107 "@sentry/react-native": "~6.20.0", 108 "@tanstack/query-async-storage-persister": "^5.25.0", 109 "@tanstack/react-query": "5.25.0", 110 "@tanstack/react-query-persist-client": "^5.25.0", 111 "@tiptap/core": "^2.9.1", 112 "@tiptap/extension-document": "^2.9.1", 113 "@tiptap/extension-hard-break": "^2.9.1", 114 "@tiptap/extension-history": "^2.9.1", 115 "@tiptap/extension-mention": "^2.9.1", 116 "@tiptap/extension-paragraph": "^2.9.1", 117 "@tiptap/extension-placeholder": "^2.9.1", 118 "@tiptap/extension-text": "^2.9.1", 119 "@tiptap/html": "^2.9.1", 120 "@tiptap/pm": "^2.9.1", 121 "@tiptap/react": "^2.9.1", 122 "@tiptap/suggestion": "^2.9.1", 123 "@types/invariant": "^2.2.37", 124 "@types/lodash.throttle": "^4.1.9", 125 "@types/node": "^20.14.3", 126 "@zxing/text-encoding": "^0.9.0", 127 "array.prototype.findlast": "^1.2.3", 128 "await-lock": "^2.2.2", 129 "babel-plugin-transform-remove-console": "^6.9.4", 130 "bcp-47": "^2.1.0", 131 "bcp-47-match": "^2.0.3", 132 "chroma-js": "^3.2.0", 133 "date-fns": "^2.30.0", 134 "email-validator": "^2.0.4", 135 "emoji-mart": "^5.5.2", 136 "emoji-regex": "^10.4.0", 137 "eventemitter3": "^5.0.1", 138 "expo": "^54.0.27", 139 "expo-application": "~7.0.8", 140 "expo-blur": "~15.0.8", 141 "expo-build-properties": "~1.0.10", 142 "expo-camera": "~17.0.10", 143 "expo-clipboard": "~8.0.8", 144 "expo-contacts": "^15.0.10", 145 "expo-dev-client": "~6.0.20", 146 "expo-device": "~8.0.10", 147 "expo-file-system": "~19.0.20", 148 "expo-font": "~14.0.10", 149 "expo-haptics": "~15.0.8", 150 "expo-image": "~3.0.11", 151 "expo-image-manipulator": "~14.0.8", 152 "expo-image-picker": "~17.0.9", 153 "expo-intent-launcher": "~13.0.8", 154 "expo-keep-awake": "~15.0.8", 155 "expo-linear-gradient": "~15.0.8", 156 "expo-linking": "~8.0.10", 157 "expo-localization": "~17.0.8", 158 "expo-location": "~19.0.8", 159 "expo-media-library": "~18.2.1", 160 "expo-notifications": "~0.32.14", 161 "expo-privacy-sensitive": "^0.1.0", 162 "expo-screen-orientation": "~9.0.8", 163 "expo-sharing": "~14.0.8", 164 "expo-sms": "^14.0.7", 165 "expo-splash-screen": "~31.0.12", 166 "expo-system-ui": "~6.0.9", 167 "expo-task-manager": "~14.0.9", 168 "expo-updates": "~29.0.14", 169 "expo-video": "~3.0.15", 170 "expo-video-thumbnails": "^10.0.8", 171 "expo-web-browser": "~15.0.10", 172 "fast-deep-equal": "^3.1.3", 173 "fast-text-encoding": "^1.0.6", 174 "history": "^5.3.0", 175 "hls.js": "^1.6.2", 176 "idb-keyval": "^6.2.2", 177 "js-sha256": "^0.9.0", 178 "jwt-decode": "^4.0.0", 179 "lande": "^1.0.10", 180 "libphonenumber-js": "^1.12.31", 181 "lodash.chunk": "^4.2.0", 182 "lodash.debounce": "^4.0.8", 183 "lodash.shuffle": "^4.2.0", 184 "lodash.throttle": "^4.1.1", 185 "markup2": "https://git.shsbs.xyz/ansxor/markup2.git#7c7d2cbe42f1b01ceef86216d0dd7da864340abe", 186 "multiformats": "9.9.0", 187 "nanoid": "^5.0.5", 188 "normalize-url": "^8.0.0", 189 "patch-package": "^8.0.1", 190 "postinstall-postinstall": "^2.1.0", 191 "psl": "^1.9.0", 192 "radix-ui": "^1.4.3", 193 "react": "19.1.0", 194 "react-compiler-runtime": "^19.1.0-rc.1", 195 "react-dom": "19.1.0", 196 "react-image-crop": "^11.0.7", 197 "react-is": "19", 198 "react-keyed-flatten-children": "^5.0.0", 199 "react-native": "0.81.5", 200 "react-native-compressor": "^1.13.0", 201 "react-native-date-picker": "^5.0.13", 202 "react-native-device-attest": "^0.1.6", 203 "react-native-drawer-layout": "^4.2.1", 204 "react-native-edge-to-edge": "^1.6.0", 205 "react-native-gesture-handler": "~2.28.0", 206 "react-native-get-random-values": "~1.11.0", 207 "react-native-keyboard-controller": "^1.20.7", 208 "react-native-pager-view": "6.8.0", 209 "react-native-progress": "bluesky-social/react-native-progress", 210 "react-native-qrcode-styled": "^0.3.3", 211 "react-native-reanimated": "^3.19.1", 212 "react-native-safe-area-context": "~5.6.0", 213 "react-native-screens": "^4.19.0", 214 "react-native-svg": "15.12.1", 215 "react-native-uitextview": "^1.4.0", 216 "react-native-url-polyfill": "^1.3.0", 217 "react-native-uuid": "^2.0.3", 218 "react-native-view-shot": "^4.0.3", 219 "react-native-web": "^0.21.0", 220 "react-native-web-webview": "^1.0.2", 221 "react-native-webview": "^13.13.5", 222 "react-remove-scroll-bar": "^2.3.8", 223 "react-responsive": "^10.0.1", 224 "react-textarea-autosize": "^8.5.3", 225 "sonner": "^2.0.7", 226 "sonner-native": "^0.21.0", 227 "tippy.js": "^6.3.7", 228 "tlds": "^1.234.0", 229 "tldts": "^6.1.46", 230 "unicode-segmenter": "^0.14.5", 231 "zod": "^3.20.2" 232 }, 233 "devDependencies": { 234 "@atproto/dev-env": "^0.3.209", 235 "@babel/core": "^7.26.0", 236 "@babel/preset-env": "^7.26.0", 237 "@babel/runtime": "^7.26.0", 238 "@eslint/js": "^9.39.2", 239 "@expo/config-plugins": "~54.0.1", 240 "@lingui/cli": "^4.14.1", 241 "@lingui/macro": "^4.14.1", 242 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", 243 "@react-native/babel-preset": "0.81.5", 244 "@react-native/eslint-config": "^0.81.5", 245 "@react-native/typescript-config": "^0.81.5", 246 "@sentry/webpack-plugin": "^3.2.2", 247 "@testing-library/react-native": "^13.2.0", 248 "@types/chroma-js": "^3.1.2", 249 "@types/culori": "^4.0.1", 250 "@types/jest": "29.5.14", 251 "@types/lodash.chunk": "^4.2.7", 252 "@types/lodash.debounce": "^4.0.7", 253 "@types/lodash.shuffle": "^4.2.7", 254 "@types/psl": "^1.1.1", 255 "@types/react": "^19.1.12", 256 "@types/react-dom": "^19.1.9", 257 "babel-jest": "^29.7.0", 258 "babel-plugin-macros": "^3.1.0", 259 "babel-plugin-module-resolver": "^5.0.2", 260 "babel-plugin-react-compiler": "^19.1.0-rc.3", 261 "babel-preset-expo": "~54.0.0", 262 "eslint": "^9.39.2", 263 "eslint-import-resolver-typescript": "^4.4.4", 264 "eslint-plugin-bsky-internal": "link:./eslint", 265 "eslint-plugin-import-x": "^4.16.1", 266 "eslint-plugin-lingui": "^0.11.0", 267 "eslint-plugin-react": "^7.37.5", 268 "eslint-plugin-react-compiler": "^19.1.0-rc.2", 269 "eslint-plugin-react-hooks": "^7.0.1", 270 "eslint-plugin-react-native": "^5.0.0", 271 "eslint-plugin-react-native-a11y": "^3.5.1", 272 "eslint-plugin-simple-import-sort": "^12.1.1", 273 "file-loader": "6.2.0", 274 "globals": "^17.0.0", 275 "husky": "^8.0.3", 276 "is-ci": "^3.0.1", 277 "jest": "^29.7.0", 278 "jest-expo": "~54.0.14", 279 "jest-junit": "^16.0.0", 280 "lint-staged": "^13.2.3", 281 "lockfile-lint": "^4.14.0", 282 "prettier": "^3.6.0", 283 "progress-webpack-plugin": "^1.0.16", 284 "react-native-dotenv": "^3.4.11", 285 "react-refresh": "^0.14.0", 286 "speed-measure-webpack-plugin": "^1.5.0", 287 "svgo": "^3.3.2", 288 "ts-node": "^10.9.1", 289 "ts-plugin-sort-import-suggestions": "^1.0.4", 290 "typescript": "^5.9.2", 291 "typescript-eslint": "^8.53.0", 292 "webpack-bundle-analyzer": "^4.10.1", 293 "wrangler": "^4.65.0" 294 }, 295 "resolutions": { 296 "@react-native/babel-preset": "0.81.5", 297 "@react-native/normalize-colors": "0.81.5", 298 "**/@expo/image-utils": "0.8.7", 299 "**/@react-native-async-storage/async-storage": "2.2.0", 300 "**/expo-constants": "18.0.8", 301 "**/expo-device": "7.1.4", 302 "**/multiformats": "9.9.0", 303 "unicode-segmenter": "0.14.5", 304 "@types/estree": "1.0.6" 305 }, 306 "jest": { 307 "preset": "jest-expo/ios", 308 "setupFilesAfterEnv": [ 309 "./jest/jestSetup.js" 310 ], 311 "moduleFileExtensions": [ 312 "ts", 313 "tsx", 314 "js", 315 "jsx", 316 "json", 317 "node" 318 ], 319 "transform": { 320 "\\.[jt]sx?$": "babel-jest" 321 }, 322 "transformIgnorePatterns": [ 323 "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)" 324 ], 325 "modulePathIgnorePatterns": [ 326 "__tests__/.*/__mocks__", 327 "__e2e__/.*" 328 ], 329 "coveragePathIgnorePatterns": [ 330 "<rootDir>/node_modules/", 331 "<rootDir>/src/platform", 332 "<rootDir>/src/third-party", 333 "<rootDir>/src/view/com/util", 334 "<rootDir>/src/state/lib", 335 "<rootDir>/__tests__/test-utils.js" 336 ], 337 "reporters": [ 338 "default", 339 "jest-junit" 340 ] 341 }, 342 "browserslist": { 343 "production": [ 344 ">0.2%", 345 "not dead", 346 "not op_mini all" 347 ], 348 "development": [ 349 "last 1 chrome version", 350 "last 1 firefox version", 351 "last 1 safari version" 352 ] 353 }, 354 "lint-staged": { 355 "*{.js,.jsx,.ts,.tsx}": [ 356 "eslint --cache --fix" 357 ], 358 "*{.js,.jsx,.ts,.tsx,.css}": [ 359 "prettier --cache --write --ignore-unknown" 360 ], 361 "assets/icons/*.svg": [ 362 "svgo" 363 ] 364 }, 365 "lockfile-lint": { 366 "path": "yarn.lock", 367 "allowedHosts": [ 368 "npm", 369 "yarn" 370 ], 371 "allowedSchemes": [ 372 "https:" 373 ], 374 "allowedPackageNameAliases": [ 375 "@babel/traverse--for-generate-function-map:@babel/traverse", 376 "string-width-cjs:string-width", 377 "strip-ansi-cjs:strip-ansi", 378 "wrap-ansi-cjs:wrap-ansi" 379 ], 380 "allowedUrls": [ 381 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908", 382 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4", 383 "https://codeload.github.com/mattermost/react-native-paste-input/tar.gz/f260447edc645a817ab1ba7b46d8341d84dba8e9" 384 ], 385 "emptyHostname": false, 386 "validatePackageNames": true, 387 "validateIntegrity": true 388 } 389}