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