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