mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.96.0",
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.18",
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.0.0",
66 "@formatjs/intl-numberformat": "^8.10.3",
67 "@formatjs/intl-pluralrules": "^5.2.14",
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.4",
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.4.1",
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.17",
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.4",
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.10",
141 "expo-sharing": "^13.0.0",
142 "expo-splash-screen": "~0.29.16",
143 "expo-status-bar": "~2.0.0",
144 "expo-system-ui": "^4.0.4",
145 "expo-task-manager": "~12.0.3",
146 "expo-updates": "~0.26.9",
147 "expo-web-browser": "~14.0.1",
148 "fast-text-encoding": "^1.0.6",
149 "history": "^5.3.0",
150 "hls.js": "^1.5.11",
151 "js-sha256": "^0.9.0",
152 "jwt-decode": "^4.0.0",
153 "lande": "^1.0.10",
154 "lodash.chunk": "^4.2.0",
155 "lodash.debounce": "^4.0.8",
156 "lodash.isequal": "^4.5.0",
157 "lodash.shuffle": "^4.2.0",
158 "lodash.throttle": "^4.1.1",
159 "multiformats": "^13.1.0",
160 "nanoid": "^5.0.5",
161 "normalize-url": "^8.0.0",
162 "patch-package": "^6.5.1",
163 "postinstall-postinstall": "^2.1.0",
164 "psl": "^1.9.0",
165 "react": "18.2.0",
166 "react-compiler-runtime": "19.0.0-beta-a7bf2bd-20241110",
167 "react-dom": "^18.2.0",
168 "react-image-crop": "^11.0.7",
169 "react-keyed-flatten-children": "^3.0.0",
170 "react-native": "0.76.3",
171 "react-native-compressor": "1.10.3",
172 "react-native-date-picker": "^5.0.7",
173 "react-native-drawer-layout": "^4.0.4",
174 "react-native-gesture-handler": "2.20.2",
175 "react-native-get-random-values": "~1.11.0",
176 "react-native-image-crop-picker": "^0.41.6",
177 "react-native-ios-context-menu": "^1.15.3",
178 "react-native-keyboard-controller": "^1.14.5",
179 "react-native-mmkv": "^2.12.2",
180 "react-native-pager-view": "6.6.1",
181 "react-native-picker-select": "^9.3.1",
182 "react-native-progress": "bluesky-social/react-native-progress",
183 "react-native-qrcode-styled": "^0.3.3",
184 "react-native-reanimated": "^3.16.3",
185 "react-native-root-siblings": "^4.1.1",
186 "react-native-safe-area-context": "4.14.0",
187 "react-native-screens": "~4.3.0",
188 "react-native-svg": "^15.8.0",
189 "react-native-uitextview": "^1.4.0",
190 "react-native-url-polyfill": "^1.3.0",
191 "react-native-uuid": "^2.0.2",
192 "react-native-view-shot": "^4.0.3",
193 "react-native-web": "~0.19.13",
194 "react-native-web-webview": "^1.0.2",
195 "react-native-webview": "13.12.3",
196 "react-remove-scroll-bar": "^2.3.6",
197 "react-responsive": "^9.0.2",
198 "react-textarea-autosize": "^8.5.3",
199 "rn-fetch-blob": "^0.12.0",
200 "statsig-react-native-expo": "^4.6.1",
201 "tippy.js": "^6.3.7",
202 "tlds": "^1.234.0",
203 "tldts": "^6.1.46",
204 "zeego": "^1.6.2",
205 "zod": "^3.20.2"
206 },
207 "devDependencies": {
208 "@atproto/dev-env": "^0.3.64",
209 "@babel/core": "^7.26.0",
210 "@babel/preset-env": "^7.26.0",
211 "@babel/runtime": "^7.26.0",
212 "@did-plc/server": "^0.0.1",
213 "@expo/config-plugins": "9.0.10",
214 "@expo/prebuild-config": "8.0.22",
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 "metro-react-native-babel-preset": "^0.76.9",
254 "prettier": "^2.8.3",
255 "react-native-dotenv": "^3.4.11",
256 "react-refresh": "^0.14.0",
257 "react-test-renderer": "18.2.0",
258 "svgo": "^3.3.2",
259 "ts-node": "^10.9.1",
260 "typescript": "^5.7.2",
261 "webpack-bundle-analyzer": "^4.10.1"
262 },
263 "resolutions": {
264 "@expo/image-utils": "0.6.3",
265 "@react-native/babel-preset": "0.76.1",
266 "@react-native/normalize-colors": "0.76.1",
267 "@radix-ui/react-focus-scope": "1.1.0",
268 "@types/react": "^18",
269 "**/expo-constants": "16.0.1",
270 "**/expo-device": "6.0.2",
271 "**/zod": "3.23.8"
272 },
273 "jest": {
274 "preset": "jest-expo/ios",
275 "setupFilesAfterEnv": [
276 "./jest/jestSetup.js",
277 "@testing-library/jest-native/extend-expect"
278 ],
279 "moduleFileExtensions": [
280 "ts",
281 "tsx",
282 "js",
283 "jsx",
284 "json",
285 "node"
286 ],
287 "transform": {
288 "\\.[jt]sx?$": "babel-jest"
289 },
290 "transformIgnorePatterns": [
291 "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)"
292 ],
293 "modulePathIgnorePatterns": [
294 "__tests__/.*/__mocks__",
295 "__e2e__/.*"
296 ],
297 "coveragePathIgnorePatterns": [
298 "<rootDir>/node_modules/",
299 "<rootDir>/src/platform",
300 "<rootDir>/src/third-party",
301 "<rootDir>/src/view/com/util",
302 "<rootDir>/src/state/lib",
303 "<rootDir>/__tests__/test-utils.js"
304 ],
305 "reporters": [
306 "default",
307 "jest-junit"
308 ]
309 },
310 "browserslist": {
311 "production": [
312 ">0.2%",
313 "not dead",
314 "not op_mini all"
315 ],
316 "development": [
317 "last 1 chrome version",
318 "last 1 firefox version",
319 "last 1 safari version"
320 ]
321 },
322 "lint-staged": {
323 "*{.js,.jsx,.ts,.tsx}": [
324 "eslint --cache --fix"
325 ],
326 "*{.js,.jsx,.ts,.tsx,.css}": [
327 "prettier --cache --write --ignore-unknown"
328 ],
329 "assets/icons/*.svg": [
330 "svgo"
331 ]
332 }
333}