mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.85.0",
4 "private": true,
5 "engines": {
6 "node": ">=18"
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 "ios": "expo run:ios",
15 "web": "expo start --web",
16 "use-build-number": "./scripts/useBuildNumberEnv.sh",
17 "use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh",
18 "build-web": "expo export:web && node ./scripts/post-web-build.js && cp -v ./web-build/static/js/*.* ./bskyweb/static/js/ && cp -v ./web-build/static/media/*.png ./bskyweb/static/media/",
19 "build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all",
20 "build-ios": "yarn use-build-number-with-bump eas build -p ios",
21 "build-android": "yarn use-build-number-with-bump eas build -p android",
22 "build": "yarn use-build-number-with-bump eas build",
23 "build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js",
24 "start": "expo start --dev-client",
25 "start:prod": "expo start --dev-client --no-dev --minify",
26 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
27 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
28 "test-watch": "NODE_ENV=test jest --watchAll",
29 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
30 "test-coverage": "NODE_ENV=test jest --coverage",
31 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src",
32 "typecheck": "tsc --project ./tsconfig.check.json",
33 "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
34 "e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
35 "e2e:run": "maestro test __e2e__",
36 "perf:test": "NODE_ENV=test maestro test",
37 "perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml",
38 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json",
39 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
40 "perf:measure": "NODE_ENV=test flashlight measure",
41 "intl:build": "yarn intl:extract && yarn intl:compile",
42 "intl:extract": "lingui extract",
43 "intl:compile": "lingui compile",
44 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
45 "update-extensions": "bash scripts/updateExtensions.sh",
46 "export": "npx expo export",
47 "make-deploy-bundle": "bash scripts/bundleUpdate.sh",
48 "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web",
49 "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web"
50 },
51 "dependencies": {
52 "@atproto/api": "^0.12.14",
53 "@bam.tech/react-native-image-resizer": "^3.0.4",
54 "@braintree/sanitize-url": "^6.0.2",
55 "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet",
56 "@emoji-mart/react": "^1.1.1",
57 "@expo/html-elements": "^0.4.2",
58 "@expo/webpack-config": "^19.0.0",
59 "@floating-ui/dom": "^1.6.3",
60 "@floating-ui/react-dom": "^2.0.8",
61 "@formatjs/intl-locale": "^3.4.3",
62 "@formatjs/intl-pluralrules": "^5.2.10",
63 "@fortawesome/fontawesome-svg-core": "^6.1.1",
64 "@fortawesome/free-regular-svg-icons": "^6.1.1",
65 "@fortawesome/free-solid-svg-icons": "^6.1.1",
66 "@fortawesome/react-native-fontawesome": "^0.3.2",
67 "@lingui/react": "^4.5.0",
68 "@mattermost/react-native-paste-input": "^0.7.1",
69 "@miblanchard/react-native-slider": "^2.3.1",
70 "@radix-ui/react-dropdown-menu": "^2.0.6",
71 "@react-native-async-storage/async-storage": "1.23.1",
72 "@react-native-masked-view/masked-view": "0.3.0",
73 "@react-native-menu/menu": "^1.1.0",
74 "@react-native-picker/picker": "2.6.1",
75 "@react-navigation/bottom-tabs": "^6.5.20",
76 "@react-navigation/drawer": "^6.6.15",
77 "@react-navigation/native": "^6.1.17",
78 "@react-navigation/native-stack": "^6.9.26",
79 "@segment/analytics-next": "^1.51.3",
80 "@segment/analytics-react": "^1.0.0-rc1",
81 "@segment/analytics-react-native": "^2.10.1",
82 "@segment/sovran-react-native": "^0.4.5",
83 "@sentry/react-native": "5.5.0",
84 "@tamagui/focus-scope": "^1.84.1",
85 "@tanstack/query-async-storage-persister": "^5.25.0",
86 "@tanstack/react-query": "^5.8.1",
87 "@tanstack/react-query-persist-client": "^5.25.0",
88 "@tiptap/core": "^2.0.0-beta.220",
89 "@tiptap/extension-document": "^2.0.0-beta.220",
90 "@tiptap/extension-hard-break": "^2.0.3",
91 "@tiptap/extension-history": "^2.0.3",
92 "@tiptap/extension-mention": "^2.0.0-beta.220",
93 "@tiptap/extension-paragraph": "^2.0.0-beta.220",
94 "@tiptap/extension-placeholder": "^2.0.0-beta.220",
95 "@tiptap/extension-text": "^2.0.0-beta.220",
96 "@tiptap/html": "^2.1.11",
97 "@tiptap/pm": "^2.0.0-beta.220",
98 "@tiptap/react": "^2.0.0-beta.220",
99 "@tiptap/suggestion": "^2.0.0-beta.220",
100 "@types/invariant": "^2.2.37",
101 "@types/lodash.throttle": "^4.1.9",
102 "@types/node": "^18.16.2",
103 "@zxing/text-encoding": "^0.9.0",
104 "array.prototype.findlast": "^1.2.3",
105 "await-lock": "^2.2.2",
106 "babel-plugin-transform-remove-console": "^6.9.4",
107 "base64-js": "^1.5.1",
108 "bcp-47-match": "^2.0.3",
109 "date-fns": "^2.30.0",
110 "deprecated-react-native-prop-types": "^5.0.0",
111 "email-validator": "^2.0.4",
112 "emoji-mart": "^5.5.2",
113 "eventemitter3": "^5.0.1",
114 "expo": "^51.0.8",
115 "expo-application": "^5.9.1",
116 "expo-build-properties": "^0.12.1",
117 "expo-camera": "~15.0.9",
118 "expo-clipboard": "^6.0.3",
119 "expo-constants": "~16.0.1",
120 "expo-dev-client": "^4.0.14",
121 "expo-device": "~6.0.2",
122 "expo-file-system": "^17.0.1",
123 "expo-haptics": "^13.0.1",
124 "expo-image": "~1.12.9",
125 "expo-image-manipulator": "^12.0.5",
126 "expo-image-picker": "~15.0.5",
127 "expo-linear-gradient": "^13.0.2",
128 "expo-linking": "^6.3.1",
129 "expo-localization": "~15.0.3",
130 "expo-media-library": "~16.0.3",
131 "expo-navigation-bar": "~3.0.4",
132 "expo-notifications": "~0.28.3",
133 "expo-sharing": "^12.0.1",
134 "expo-splash-screen": "~0.27.4",
135 "expo-status-bar": "~1.12.1",
136 "expo-system-ui": "~3.0.4",
137 "expo-task-manager": "~11.8.1",
138 "expo-updates": "~0.25.14",
139 "expo-web-browser": "~13.0.3",
140 "fast-text-encoding": "^1.0.6",
141 "history": "^5.3.0",
142 "js-sha256": "^0.9.0",
143 "jwt-decode": "^4.0.0",
144 "lande": "^1.0.10",
145 "lodash.chunk": "^4.2.0",
146 "lodash.debounce": "^4.0.8",
147 "lodash.isequal": "^4.5.0",
148 "lodash.omit": "^4.5.0",
149 "lodash.once": "^4.1.1",
150 "lodash.random": "^3.2.0",
151 "lodash.samplesize": "^4.2.0",
152 "lodash.set": "^4.3.2",
153 "lodash.shuffle": "^4.2.0",
154 "lodash.throttle": "^4.1.1",
155 "mobx": "^6.6.1",
156 "mobx-react-lite": "^3.4.0",
157 "mobx-utils": "^6.0.6",
158 "nanoid": "^5.0.5",
159 "normalize-url": "^8.0.0",
160 "patch-package": "^6.5.1",
161 "postinstall-postinstall": "^2.1.0",
162 "psl": "^1.9.0",
163 "react": "18.2.0",
164 "react-avatar-editor": "^13.0.0",
165 "react-compiler-runtime": "file:./lib/react-compiler-runtime",
166 "react-dom": "^18.2.0",
167 "react-keyed-flatten-children": "^3.0.0",
168 "react-native": "0.74.1",
169 "react-native-date-picker": "^4.4.2",
170 "react-native-drawer-layout": "^4.0.0-alpha.3",
171 "react-native-fs": "^2.20.0",
172 "react-native-gesture-handler": "~2.16.2",
173 "react-native-get-random-values": "~1.11.0",
174 "react-native-image-crop-picker": "0.40.3",
175 "react-native-ios-context-menu": "^1.15.3",
176 "react-native-keyboard-controller": "^1.12.1",
177 "react-native-pager-view": "6.2.3",
178 "react-native-picker-select": "^9.1.3",
179 "react-native-progress": "bluesky-social/react-native-progress",
180 "react-native-reanimated": "^3.11.0",
181 "react-native-root-siblings": "^4.1.1",
182 "react-native-safe-area-context": "4.10.1",
183 "react-native-screens": "~3.31.1",
184 "react-native-svg": "^15.3.0",
185 "react-native-uitextview": "^1.1.7",
186 "react-native-url-polyfill": "^1.3.0",
187 "react-native-uuid": "^2.0.2",
188 "react-native-view-shot": "^3.8.0",
189 "react-native-web": "~0.19.11",
190 "react-native-web-webview": "^1.0.2",
191 "react-native-webview": "13.10.2",
192 "react-responsive": "^9.0.2",
193 "react-textarea-autosize": "^8.5.3",
194 "rn-fetch-blob": "^0.12.0",
195 "sentry-expo": "~7.0.1",
196 "statsig-react-native-expo": "^4.6.1",
197 "tippy.js": "^6.3.7",
198 "tlds": "^1.234.0",
199 "zeego": "^1.6.2",
200 "zod": "^3.20.2"
201 },
202 "devDependencies": {
203 "@atproto/dev-env": "^0.3.5",
204 "@babel/core": "^7.23.2",
205 "@babel/preset-env": "^7.20.0",
206 "@babel/runtime": "^7.20.0",
207 "@did-plc/server": "^0.0.1",
208 "@expo/config-plugins": "7.8.0",
209 "@expo/prebuild-config": "6.7.0",
210 "@lingui/cli": "^4.5.0",
211 "@lingui/macro": "^4.5.0",
212 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
213 "@react-native-community/eslint-config": "^3.0.0",
214 "@react-native/typescript-config": "^0.74.1",
215 "@testing-library/jest-native": "^5.4.1",
216 "@testing-library/react-native": "^11.5.2",
217 "@tsconfig/react-native": "^2.0.3",
218 "@types/he": "^1.1.2",
219 "@types/jest": "^29.4.0",
220 "@types/lodash.chunk": "^4.2.7",
221 "@types/lodash.debounce": "^4.0.7",
222 "@types/lodash.isequal": "^4.5.6",
223 "@types/lodash.omit": "^4.5.7",
224 "@types/lodash.once": "^4.1.7",
225 "@types/lodash.random": "^3.2.7",
226 "@types/lodash.samplesize": "^4.2.7",
227 "@types/lodash.set": "^4.3.7",
228 "@types/lodash.shuffle": "^4.2.7",
229 "@types/psl": "^1.1.1",
230 "@types/react-avatar-editor": "^13.0.0",
231 "@types/react-dom": "^18.2.18",
232 "@types/react-responsive": "^8.0.5",
233 "@types/react-test-renderer": "^17.0.1",
234 "@typescript-eslint/eslint-plugin": "^5.48.2",
235 "@typescript-eslint/parser": "^5.48.2",
236 "babel-jest": "^29.7.0",
237 "babel-loader": "^9.1.2",
238 "babel-plugin-macros": "^3.1.0",
239 "babel-plugin-module-resolver": "^5.0.0",
240 "babel-plugin-react-compiler": "^0.0.0-experimental-592953e-20240517",
241 "babel-plugin-react-native-web": "^0.18.12",
242 "babel-preset-expo": "^10.0.0",
243 "eslint": "^8.19.0",
244 "eslint-plugin-bsky-internal": "link:./eslint",
245 "eslint-plugin-ft-flow": "^2.0.3",
246 "eslint-plugin-lingui": "^0.2.0",
247 "eslint-plugin-react": "^7.33.2",
248 "eslint-plugin-react-compiler": "^0.0.0-experimental-c8b3f72-20240517",
249 "eslint-plugin-react-native-a11y": "^3.3.0",
250 "eslint-plugin-simple-import-sort": "^12.0.0",
251 "html-webpack-plugin": "^5.5.0",
252 "husky": "^8.0.3",
253 "is-ci": "^3.0.1",
254 "jest": "^29.7.0",
255 "jest-expo": "^50.0.1",
256 "jest-junit": "^15.0.0",
257 "lint-staged": "^13.2.3",
258 "metro-react-native-babel-preset": "^0.74.1",
259 "prettier": "^2.8.3",
260 "react-native-dotenv": "^3.3.1",
261 "react-refresh": "^0.14.0",
262 "react-scripts": "^5.0.1",
263 "react-test-renderer": "18.2.0",
264 "ts-node": "^10.9.1",
265 "typescript": "^5.3.3",
266 "url-loader": "^4.1.1",
267 "webpack": "^5.75.0",
268 "webpack-bundle-analyzer": "^4.10.1",
269 "webpack-cli": "^5.0.1",
270 "webpack-dev-server": "^4.11.1"
271 },
272 "resolutions": {
273 "@types/react": "^18",
274 "**/zeed-dom": "0.10.9",
275 "@react-native/babel-preset": "0.74.1"
276 },
277 "jest": {
278 "preset": "jest-expo/ios",
279 "setupFilesAfterEnv": [
280 "./jest/jestSetup.js",
281 "@testing-library/jest-native/extend-expect"
282 ],
283 "moduleFileExtensions": [
284 "ts",
285 "tsx",
286 "js",
287 "jsx",
288 "json",
289 "node"
290 ],
291 "transform": {
292 "\\.[jt]sx?$": "babel-jest"
293 },
294 "transformIgnorePatterns": [
295 "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)"
296 ],
297 "modulePathIgnorePatterns": [
298 "__tests__/.*/__mocks__",
299 "__e2e__/.*"
300 ],
301 "coveragePathIgnorePatterns": [
302 "<rootDir>/node_modules/",
303 "<rootDir>/src/platform",
304 "<rootDir>/src/third-party",
305 "<rootDir>/src/view/com/util",
306 "<rootDir>/src/state/lib",
307 "<rootDir>/__tests__/test-utils.js"
308 ],
309 "reporters": [
310 "default",
311 "jest-junit"
312 ]
313 },
314 "browserslist": {
315 "production": [
316 ">0.2%",
317 "not dead",
318 "not op_mini all"
319 ],
320 "development": [
321 "last 1 chrome version",
322 "last 1 firefox version",
323 "last 1 safari version"
324 ]
325 },
326 "lint-staged": {
327 "*{.js,.jsx,.ts,.tsx}": [
328 "eslint --cache --fix",
329 "prettier --cache --write --ignore-unknown"
330 ]
331 }
332}