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