mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.99.1",
4 "private": true,
5 "engines": {
6 "node": ">=20"
7 },
8 "packageManager": "yarn@1.22.22",
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 "android:prod": "expo run:android --variant release",
15 "android:profile": "BSKY_PROFILE=1 expo run:android --variant release",
16 "ios": "expo run:ios",
17 "web": "expo start --web",
18 "use-build-number": "./scripts/useBuildNumberEnv.sh",
19 "use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh",
20 "build-web": "expo export:web && node ./scripts/post-web-build.js",
21 "build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all",
22 "build-ios": "yarn use-build-number-with-bump eas build -p ios",
23 "build-android": "yarn use-build-number-with-bump eas build -p android",
24 "build": "yarn use-build-number-with-bump eas build",
25 "build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js",
26 "start": "expo start --dev-client",
27 "start:prod": "expo start --dev-client --no-dev --minify",
28 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
29 "test-watch": "NODE_ENV=test jest --watchAll",
30 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
31 "test-coverage": "NODE_ENV=test jest --coverage",
32 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src",
33 "lint-native": "swiftlint ./modules && ktlint ./modules",
34 "lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules",
35 "typecheck": "tsc --project ./tsconfig.check.json",
36 "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",
37 "e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
38 "e2e:metro-android": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:android",
39 "e2e:run": "maestro test __e2e__",
40 "perf:test": "NODE_ENV=test maestro test",
41 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml",
42 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json",
43 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
44 "perf:measure": "NODE_ENV=test flashlight measure",
45 "intl:build": "yarn intl:extract:all && yarn intl:compile",
46 "intl:extract": "lingui extract --clean --locale en",
47 "intl:extract:all": "lingui extract --clean",
48 "intl:compile": "lingui compile",
49 "intl:pull": "crowdin download translations --verbose -b main",
50 "intl:push": "crowdin push translations --verbose -b main",
51 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
52 "update-extensions": "bash scripts/updateExtensions.sh",
53 "export": "npx expo export",
54 "make-deploy-bundle": "bash scripts/bundleUpdate.sh",
55 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web",
56 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web",
57 "icons:optimize": "svgo -f ./assets/icons"
58 },
59 "dependencies": {
60 "@atproto/api": "^0.14.7",
61 "@bitdrift/react-native": "^0.6.8",
62 "@braintree/sanitize-url": "^6.0.2",
63 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet",
64 "@emoji-mart/react": "^1.1.1",
65 "@expo/html-elements": "^0.4.2",
66 "@expo/webpack-config": "^19.0.0",
67 "@floating-ui/dom": "^1.6.3",
68 "@floating-ui/react-dom": "^2.0.8",
69 "@formatjs/intl-locale": "^4.2.8",
70 "@formatjs/intl-numberformat": "^8.15.1",
71 "@formatjs/intl-pluralrules": "^5.4.1",
72 "@fortawesome/fontawesome-svg-core": "^6.1.1",
73 "@fortawesome/free-regular-svg-icons": "^6.1.1",
74 "@fortawesome/free-solid-svg-icons": "^6.1.1",
75 "@fortawesome/react-native-fontawesome": "^0.3.2",
76 "@haileyok/bluesky-video": "0.2.6",
77 "@ipld/dag-cbor": "^9.2.0",
78 "@lingui/react": "^4.14.1",
79 "@mattermost/react-native-paste-input": "^0.7.1",
80 "@miblanchard/react-native-slider": "^2.3.1",
81 "@mozzius/expo-dynamic-app-icon": "^1.5.0",
82 "@radix-ui/react-dismissable-layer": "^1.1.5",
83 "@radix-ui/react-dropdown-menu": "2.1.6",
84 "@radix-ui/react-focus-guards": "^1.1.1",
85 "@radix-ui/react-focus-scope": "^1.1.2",
86 "@react-native-async-storage/async-storage": "1.23.1",
87 "@react-native-menu/menu": "^1.1.7",
88 "@react-native-picker/picker": "2.10.2",
89 "@react-navigation/bottom-tabs": "^6.5.20",
90 "@react-navigation/drawer": "^6.6.15",
91 "@react-navigation/native": "^6.1.17",
92 "@react-navigation/native-stack": "^6.9.26",
93 "@sentry/react-native": "5.24.3",
94 "@tanstack/query-async-storage-persister": "^5.25.0",
95 "@tanstack/react-query": "^5.8.1",
96 "@tanstack/react-query-persist-client": "^5.25.0",
97 "@tiptap/core": "^2.9.1",
98 "@tiptap/extension-document": "^2.9.1",
99 "@tiptap/extension-hard-break": "^2.9.1",
100 "@tiptap/extension-history": "^2.9.1",
101 "@tiptap/extension-mention": "^2.9.1",
102 "@tiptap/extension-paragraph": "^2.9.1",
103 "@tiptap/extension-placeholder": "^2.9.1",
104 "@tiptap/extension-text": "^2.9.1",
105 "@tiptap/html": "^2.9.1",
106 "@tiptap/pm": "^2.9.1",
107 "@tiptap/react": "^2.9.1",
108 "@tiptap/suggestion": "^2.9.1",
109 "@types/invariant": "^2.2.37",
110 "@types/lodash.throttle": "^4.1.9",
111 "@types/node": "^20.14.3",
112 "@zxing/text-encoding": "^0.9.0",
113 "array.prototype.findlast": "^1.2.3",
114 "await-lock": "^2.2.2",
115 "babel-plugin-transform-remove-console": "^6.9.4",
116 "base64-js": "^1.5.1",
117 "bcp-47": "^2.1.0",
118 "bcp-47-match": "^2.0.3",
119 "date-fns": "^2.30.0",
120 "deprecated-react-native-prop-types": "^5.0.0",
121 "email-validator": "^2.0.4",
122 "emoji-mart": "^5.5.2",
123 "emoji-regex": "^10.4.0",
124 "eventemitter3": "^5.0.1",
125 "expo": "~52.0.19",
126 "expo-application": "^6.0.1",
127 "expo-blur": "^14.0.3",
128 "expo-build-properties": "^0.13.1",
129 "expo-camera": "~16.0.7",
130 "expo-clipboard": "^7.0.0",
131 "expo-dev-client": "^5.0.4",
132 "expo-device": "~7.0.1",
133 "expo-file-system": "^18.0.6",
134 "expo-font": "~13.0.1",
135 "expo-haptics": "^14.0.0",
136 "expo-image": "~2.0.3",
137 "expo-image-manipulator": "^13.0.5",
138 "expo-image-picker": "~16.0.3",
139 "expo-linear-gradient": "^14.0.1",
140 "expo-linking": "^7.0.3",
141 "expo-localization": "~16.0.0",
142 "expo-media-library": "~17.0.3",
143 "expo-navigation-bar": "~4.0.4",
144 "expo-notifications": "~0.29.11",
145 "expo-screen-orientation": "^8.0.2",
146 "expo-sharing": "^13.0.0",
147 "expo-splash-screen": "~0.29.18",
148 "expo-status-bar": "~2.0.0",
149 "expo-system-ui": "^4.0.4",
150 "expo-task-manager": "~12.0.3",
151 "expo-updates": "~0.26.10",
152 "expo-video": "^2.0.5",
153 "expo-web-browser": "~14.0.1",
154 "fast-text-encoding": "^1.0.6",
155 "history": "^5.3.0",
156 "hls.js": "^1.5.11",
157 "js-sha256": "^0.9.0",
158 "jwt-decode": "^4.0.0",
159 "lande": "^1.0.10",
160 "lodash.chunk": "^4.2.0",
161 "lodash.debounce": "^4.0.8",
162 "lodash.isequal": "^4.5.0",
163 "lodash.shuffle": "^4.2.0",
164 "lodash.throttle": "^4.1.1",
165 "multiformats": "^13.1.0",
166 "nanoid": "^5.0.5",
167 "normalize-url": "^8.0.0",
168 "patch-package": "^6.5.1",
169 "postinstall-postinstall": "^2.1.0",
170 "psl": "^1.9.0",
171 "react": "18.2.0",
172 "react-compiler-runtime": "19.0.0-beta-a7bf2bd-20241110",
173 "react-dom": "^18.2.0",
174 "react-image-crop": "^11.0.7",
175 "react-keyed-flatten-children": "^3.0.0",
176 "react-native": "0.76.6",
177 "react-native-compressor": "1.10.3",
178 "react-native-date-picker": "^5.0.7",
179 "react-native-drawer-layout": "^4.1.1",
180 "react-native-gesture-handler": "2.20.2",
181 "react-native-get-random-values": "~1.11.0",
182 "react-native-image-crop-picker": "^0.41.6",
183 "react-native-ios-context-menu": "^1.15.3",
184 "react-native-keyboard-controller": "^1.14.5",
185 "react-native-mmkv": "^2.12.2",
186 "react-native-pager-view": "6.7.0",
187 "react-native-picker-select": "^9.3.1",
188 "react-native-progress": "bluesky-social/react-native-progress",
189 "react-native-qrcode-styled": "^0.3.3",
190 "react-native-reanimated": "3.17.0-nightly-20241211-17e89ca24",
191 "react-native-root-siblings": "^4.1.1",
192 "react-native-safe-area-context": "4.14.0",
193 "react-native-screens": "~4.3.0",
194 "react-native-svg": "^15.8.0",
195 "react-native-uitextview": "^1.4.0",
196 "react-native-url-polyfill": "^1.3.0",
197 "react-native-uuid": "^2.0.2",
198 "react-native-view-shot": "^4.0.3",
199 "react-native-vision-camera": "^4.6.3",
200 "react-native-web": "~0.19.13",
201 "react-native-web-webview": "^1.0.2",
202 "react-native-webview": "13.12.3",
203 "react-remove-scroll-bar": "^2.3.6",
204 "react-responsive": "^9.0.2",
205 "react-textarea-autosize": "^8.5.3",
206 "rn-fetch-blob": "^0.12.0",
207 "statsig-react-native-expo": "^4.6.1",
208 "tippy.js": "^6.3.7",
209 "tlds": "^1.234.0",
210 "tldts": "^6.1.46",
211 "zeego": "^1.6.2",
212 "zod": "^3.20.2"
213 },
214 "devDependencies": {
215 "@atproto/dev-env": "^0.3.87",
216 "@babel/core": "^7.26.0",
217 "@babel/preset-env": "^7.26.0",
218 "@babel/runtime": "^7.26.0",
219 "@did-plc/server": "^0.0.1",
220 "@expo/config-plugins": "9.0.10",
221 "@lingui/cli": "^4.14.1",
222 "@lingui/macro": "^4.14.1",
223 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
224 "@react-native/eslint-config": "^0.76.2",
225 "@react-native/typescript-config": "^0.76.1",
226 "@testing-library/jest-native": "^5.4.3",
227 "@testing-library/react-native": "^12.8.1",
228 "@types/jest": "^29.4.0",
229 "@types/lodash.chunk": "^4.2.7",
230 "@types/lodash.debounce": "^4.0.7",
231 "@types/lodash.isequal": "^4.5.6",
232 "@types/lodash.shuffle": "^4.2.7",
233 "@types/psl": "^1.1.1",
234 "@types/react-dom": "^18.3.1",
235 "@types/react-responsive": "^8.0.5",
236 "@types/react-test-renderer": "^17.0.1",
237 "@typescript-eslint/eslint-plugin": "^7.18.0",
238 "@typescript-eslint/parser": "^7.18.0",
239 "babel-jest": "^29.7.0",
240 "babel-plugin-macros": "^3.1.0",
241 "babel-plugin-module-resolver": "^5.0.2",
242 "babel-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
243 "babel-preset-expo": "^12.0.2",
244 "eslint": "^8.19.0",
245 "eslint-plugin-bsky-internal": "link:./eslint",
246 "eslint-plugin-ft-flow": "^2.0.3",
247 "eslint-plugin-lingui": "^0.2.0",
248 "eslint-plugin-react": "^7.33.2",
249 "eslint-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
250 "eslint-plugin-react-native-a11y": "^3.3.0",
251 "eslint-plugin-simple-import-sort": "^12.0.0",
252 "file-loader": "6.2.0",
253 "husky": "^8.0.3",
254 "is-ci": "^3.0.1",
255 "jest": "^29.7.0",
256 "jest-expo": "^52.0.2",
257 "jest-junit": "^16.0.0",
258 "lint-staged": "^13.2.3",
259 "lockfile-lint": "^4.14.0",
260 "metro-react-native-babel-preset": "^0.76.9",
261 "prettier": "^2.8.3",
262 "react-native-dotenv": "^3.4.11",
263 "react-refresh": "^0.14.0",
264 "react-test-renderer": "18.2.0",
265 "svgo": "^3.3.2",
266 "ts-node": "^10.9.1",
267 "typescript": "^5.7.2",
268 "webpack-bundle-analyzer": "^4.10.1"
269 },
270 "resolutions": {
271 "@expo/image-utils": "0.6.3",
272 "@react-native/babel-preset": "0.76.1",
273 "@react-native/normalize-colors": "0.76.1",
274 "@types/react": "^18",
275 "**/expo-constants": "17.0.3",
276 "**/expo-device": "7.0.1",
277 "**/zod": "3.23.8"
278 },
279 "jest": {
280 "preset": "jest-expo/ios",
281 "setupFilesAfterEnv": [
282 "./jest/jestSetup.js",
283 "@testing-library/jest-native/extend-expect"
284 ],
285 "moduleFileExtensions": [
286 "ts",
287 "tsx",
288 "js",
289 "jsx",
290 "json",
291 "node"
292 ],
293 "transform": {
294 "\\.[jt]sx?$": "babel-jest"
295 },
296 "transformIgnorePatterns": [
297 "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)"
298 ],
299 "modulePathIgnorePatterns": [
300 "__tests__/.*/__mocks__",
301 "__e2e__/.*"
302 ],
303 "coveragePathIgnorePatterns": [
304 "<rootDir>/node_modules/",
305 "<rootDir>/src/platform",
306 "<rootDir>/src/third-party",
307 "<rootDir>/src/view/com/util",
308 "<rootDir>/src/state/lib",
309 "<rootDir>/__tests__/test-utils.js"
310 ],
311 "reporters": [
312 "default",
313 "jest-junit"
314 ]
315 },
316 "browserslist": {
317 "production": [
318 ">0.2%",
319 "not dead",
320 "not op_mini all"
321 ],
322 "development": [
323 "last 1 chrome version",
324 "last 1 firefox version",
325 "last 1 safari version"
326 ]
327 },
328 "lint-staged": {
329 "*{.js,.jsx,.ts,.tsx}": [
330 "eslint --cache --fix"
331 ],
332 "*{.js,.jsx,.ts,.tsx,.css}": [
333 "prettier --cache --write --ignore-unknown"
334 ],
335 "assets/icons/*.svg": [
336 "svgo"
337 ]
338 },
339 "lockfile-lint": {
340 "path": "yarn.lock",
341 "allowedHosts": [
342 "npm",
343 "yarn"
344 ],
345 "allowedSchemes": [
346 "https:"
347 ],
348 "allowedPackageNameAliases": [
349 "@babel/traverse--for-generate-function-map:@babel/traverse",
350 "string-width-cjs:string-width",
351 "strip-ansi-cjs:strip-ansi",
352 "wrap-ansi-cjs:wrap-ansi"
353 ],
354 "allowedUrls": [
355 "https://codeload.github.com/bluesky-social/react-native-bottom-sheet/tar.gz/28a87d1bb55e10fc355fa1455545a30734995908",
356 "https://codeload.github.com/bluesky-social/react-native-progress/tar.gz/5a372f4f2ce5feb26f4f47b6a4d187ab9b923ab4"
357 ],
358 "emptyHostname": false,
359 "validatePackageNames": true,
360 "validateIntegrity": true
361 }
362}