mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.76.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/",
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 "start": "expo start --dev-client",
24 "start:prod": "expo start --dev-client --no-dev --minify",
25 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
26 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
27 "test-watch": "NODE_ENV=test jest --watchAll",
28 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
29 "test-coverage": "NODE_ENV=test jest --coverage",
30 "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src",
31 "typecheck": "tsc --project ./tsconfig.check.json",
32 "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
33 "e2e:metro": "NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
34 "e2e:build": "NODE_ENV=test detox build -c ios.sim.debug",
35 "e2e:run": "NODE_ENV=test detox test --configuration ios.sim.debug --take-screenshots all",
36 "perf:test": "NODE_ENV=test maestro test",
37 "perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml",
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.2",
53 "@bam.tech/react-native-image-resizer": "^3.0.4",
54 "@braintree/sanitize-url": "^6.0.2",
55 "@discord/bottom-sheet": "https://github.com/bluesky-social/react-native-bottom-sheet.git#discord-fork-4.6.1",
56 "@emoji-mart/react": "^1.1.1",
57 "@expo/html-elements": "^0.4.2",
58 "@expo/webpack-config": "^19.0.0",
59 "@fortawesome/fontawesome-svg-core": "^6.1.1",
60 "@fortawesome/free-regular-svg-icons": "^6.1.1",
61 "@fortawesome/free-solid-svg-icons": "^6.1.1",
62 "@fortawesome/react-native-fontawesome": "^0.3.0",
63 "@lingui/react": "^4.5.0",
64 "@mattermost/react-native-paste-input": "^0.6.4",
65 "@miblanchard/react-native-slider": "^2.3.1",
66 "@radix-ui/react-dropdown-menu": "^2.0.6",
67 "@react-native-async-storage/async-storage": "1.23.1",
68 "@react-native-masked-view/masked-view": "0.3.0",
69 "@react-native-menu/menu": "^0.8.0",
70 "@react-native-picker/picker": "2.6.1",
71 "@react-navigation/bottom-tabs": "^6.5.7",
72 "@react-navigation/drawer": "^6.6.2",
73 "@react-navigation/native": "^6.1.6",
74 "@react-navigation/native-stack": "^6.9.12",
75 "@segment/analytics-next": "^1.51.3",
76 "@segment/analytics-react": "^1.0.0-rc1",
77 "@segment/analytics-react-native": "^2.10.1",
78 "@segment/sovran-react-native": "^0.4.5",
79 "@sentry/react-native": "5.5.0",
80 "@tamagui/focus-scope": "^1.84.1",
81 "@tanstack/query-async-storage-persister": "^5.25.0",
82 "@tanstack/react-query": "^5.8.1",
83 "@tanstack/react-query-persist-client": "^5.25.0",
84 "@tiptap/core": "^2.0.0-beta.220",
85 "@tiptap/extension-document": "^2.0.0-beta.220",
86 "@tiptap/extension-hard-break": "^2.0.3",
87 "@tiptap/extension-history": "^2.0.3",
88 "@tiptap/extension-mention": "^2.0.0-beta.220",
89 "@tiptap/extension-paragraph": "^2.0.0-beta.220",
90 "@tiptap/extension-placeholder": "^2.0.0-beta.220",
91 "@tiptap/extension-text": "^2.0.0-beta.220",
92 "@tiptap/html": "^2.1.11",
93 "@tiptap/pm": "^2.0.0-beta.220",
94 "@tiptap/react": "^2.0.0-beta.220",
95 "@tiptap/suggestion": "^2.0.0-beta.220",
96 "@types/invariant": "^2.2.37",
97 "@types/node": "^18.16.2",
98 "@zxing/text-encoding": "^0.9.0",
99 "array.prototype.findlast": "^1.2.3",
100 "await-lock": "^2.2.2",
101 "babel-plugin-transform-remove-console": "^6.9.4",
102 "base64-js": "^1.5.1",
103 "bcp-47-match": "^2.0.3",
104 "date-fns": "^2.30.0",
105 "email-validator": "^2.0.4",
106 "emoji-mart": "^5.5.2",
107 "eventemitter3": "^5.0.1",
108 "expo": "^50.0.8",
109 "expo-application": "^5.8.3",
110 "expo-build-properties": "^0.11.1",
111 "expo-camera": "~14.0.4",
112 "expo-clipboard": "^5.0.1",
113 "expo-constants": "~15.4.5",
114 "expo-dev-client": "~3.3.8",
115 "expo-device": "~5.9.3",
116 "expo-haptics": "^12.8.1",
117 "expo-image": "~1.10.6",
118 "expo-image-manipulator": "^11.8.0",
119 "expo-image-picker": "~14.7.1",
120 "expo-linear-gradient": "^12.7.2",
121 "expo-linking": "^6.2.2",
122 "expo-localization": "~14.8.3",
123 "expo-media-library": "~15.9.1",
124 "expo-notifications": "~0.27.6",
125 "expo-sharing": "^11.10.0",
126 "expo-splash-screen": "~0.26.4",
127 "expo-status-bar": "~1.11.1",
128 "expo-system-ui": "~2.9.3",
129 "expo-task-manager": "~11.7.2",
130 "expo-updates": "~0.24.10",
131 "expo-web-browser": "~12.8.2",
132 "fast-text-encoding": "^1.0.6",
133 "history": "^5.3.0",
134 "js-sha256": "^0.9.0",
135 "jwt-decode": "^4.0.0",
136 "lande": "^1.0.10",
137 "lodash.chunk": "^4.2.0",
138 "lodash.debounce": "^4.0.8",
139 "lodash.isequal": "^4.5.0",
140 "lodash.omit": "^4.5.0",
141 "lodash.once": "^4.1.1",
142 "lodash.random": "^3.2.0",
143 "lodash.samplesize": "^4.2.0",
144 "lodash.set": "^4.3.2",
145 "lodash.shuffle": "^4.2.0",
146 "mobx": "^6.6.1",
147 "mobx-react-lite": "^3.4.0",
148 "mobx-utils": "^6.0.6",
149 "nanoid": "^5.0.5",
150 "normalize-url": "^8.0.0",
151 "patch-package": "^6.5.1",
152 "postinstall-postinstall": "^2.1.0",
153 "psl": "^1.9.0",
154 "react": "18.2.0",
155 "react-avatar-editor": "^13.0.0",
156 "react-dom": "^18.2.0",
157 "react-keyed-flatten-children": "^3.0.0",
158 "react-native": "0.73.2",
159 "react-native-date-picker": "^4.4.0",
160 "react-native-drawer-layout": "^4.0.0-alpha.3",
161 "react-native-fs": "^2.20.0",
162 "react-native-gesture-handler": "~2.14.0",
163 "react-native-get-random-values": "~1.11.0",
164 "react-native-image-crop-picker": "^0.38.1",
165 "react-native-ios-context-menu": "^1.15.3",
166 "react-native-pager-view": "6.2.3",
167 "react-native-picker-select": "^8.1.0",
168 "react-native-progress": "bluesky-social/react-native-progress",
169 "react-native-reanimated": "^3.6.0",
170 "react-native-root-siblings": "^4.1.1",
171 "react-native-safe-area-context": "4.8.2",
172 "react-native-screens": "~3.29.0",
173 "react-native-svg": "14.1.0",
174 "react-native-uitextview": "^1.1.6",
175 "react-native-url-polyfill": "^1.3.0",
176 "react-native-uuid": "^2.0.1",
177 "react-native-web": "~0.19.6",
178 "react-native-web-webview": "^1.0.2",
179 "react-native-webview": "13.6.4",
180 "react-responsive": "^9.0.2",
181 "rn-fetch-blob": "^0.12.0",
182 "sentry-expo": "~7.0.1",
183 "statsig-react-native-expo": "^4.6.1",
184 "tippy.js": "^6.3.7",
185 "tlds": "^1.234.0",
186 "zeego": "^1.6.2",
187 "zod": "^3.20.2"
188 },
189 "devDependencies": {
190 "@atproto/dev-env": "^0.2.28",
191 "@babel/core": "^7.23.2",
192 "@babel/preset-env": "^7.20.0",
193 "@babel/runtime": "^7.20.0",
194 "@did-plc/server": "^0.0.1",
195 "@expo/config-plugins": "7.8.0",
196 "@expo/prebuild-config": "6.7.0",
197 "@lingui/cli": "^4.5.0",
198 "@lingui/macro": "^4.5.0",
199 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
200 "@react-native-community/eslint-config": "^3.0.0",
201 "@react-native/typescript-config": "^0.74.0",
202 "@testing-library/jest-native": "^5.4.1",
203 "@testing-library/react-native": "^11.5.2",
204 "@tsconfig/react-native": "^2.0.3",
205 "@types/he": "^1.1.2",
206 "@types/jest": "^29.4.0",
207 "@types/lodash.chunk": "^4.2.7",
208 "@types/lodash.debounce": "^4.0.7",
209 "@types/lodash.isequal": "^4.5.6",
210 "@types/lodash.omit": "^4.5.7",
211 "@types/lodash.once": "^4.1.7",
212 "@types/lodash.random": "^3.2.7",
213 "@types/lodash.samplesize": "^4.2.7",
214 "@types/lodash.set": "^4.3.7",
215 "@types/lodash.shuffle": "^4.2.7",
216 "@types/psl": "^1.1.1",
217 "@types/react-avatar-editor": "^13.0.0",
218 "@types/react-dom": "^18.2.18",
219 "@types/react-responsive": "^8.0.5",
220 "@types/react-test-renderer": "^17.0.1",
221 "@typescript-eslint/eslint-plugin": "^5.48.2",
222 "@typescript-eslint/parser": "^5.48.2",
223 "babel-jest": "^29.7.0",
224 "babel-loader": "^9.1.2",
225 "babel-plugin-macros": "^3.1.0",
226 "babel-plugin-module-resolver": "^5.0.0",
227 "babel-plugin-react-native-web": "^0.18.12",
228 "babel-preset-expo": "^10.0.0",
229 "detox": "^20.14.8",
230 "eslint": "^8.19.0",
231 "eslint-plugin-bsky-internal": "link:./eslint",
232 "eslint-plugin-detox": "^1.0.0",
233 "eslint-plugin-ft-flow": "^2.0.3",
234 "eslint-plugin-lingui": "^0.2.0",
235 "eslint-plugin-react": "^7.33.2",
236 "eslint-plugin-react-native-a11y": "^3.3.0",
237 "eslint-plugin-simple-import-sort": "^12.0.0",
238 "html-webpack-plugin": "^5.5.0",
239 "husky": "^8.0.3",
240 "is-ci": "^3.0.1",
241 "jest": "^29.7.0",
242 "jest-expo": "^50.0.1",
243 "jest-junit": "^15.0.0",
244 "lint-staged": "^13.2.3",
245 "metro-react-native-babel-preset": "^0.73.7",
246 "prettier": "^2.8.3",
247 "react-native-dotenv": "^3.3.1",
248 "react-refresh": "^0.14.0",
249 "react-scripts": "^5.0.1",
250 "react-test-renderer": "18.2.0",
251 "ts-node": "^10.9.1",
252 "typescript": "^5.3.3",
253 "url-loader": "^4.1.1",
254 "webpack": "^5.75.0",
255 "webpack-bundle-analyzer": "^4.10.1",
256 "webpack-cli": "^5.0.1",
257 "webpack-dev-server": "^4.11.1"
258 },
259 "resolutions": {
260 "@types/react": "^18",
261 "**/zeed-dom": "0.10.9"
262 },
263 "jest": {
264 "preset": "jest-expo/ios",
265 "setupFilesAfterEnv": [
266 "./jest/jestSetup.js",
267 "@testing-library/jest-native/extend-expect"
268 ],
269 "moduleFileExtensions": [
270 "ts",
271 "tsx",
272 "js",
273 "jsx",
274 "json",
275 "node"
276 ],
277 "transform": {
278 "\\.[jt]sx?$": "babel-jest"
279 },
280 "transformIgnorePatterns": [
281 "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|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)"
282 ],
283 "modulePathIgnorePatterns": [
284 "__tests__/.*/__mocks__",
285 "__e2e__/.*"
286 ],
287 "coveragePathIgnorePatterns": [
288 "<rootDir>/node_modules/",
289 "<rootDir>/src/platform",
290 "<rootDir>/src/third-party",
291 "<rootDir>/src/view/com/util",
292 "<rootDir>/src/state/lib",
293 "<rootDir>/__tests__/test-utils.js"
294 ],
295 "reporters": [
296 "default",
297 "jest-junit"
298 ]
299 },
300 "browserslist": {
301 "production": [
302 ">0.2%",
303 "not dead",
304 "not op_mini all"
305 ],
306 "development": [
307 "last 1 chrome version",
308 "last 1 firefox version",
309 "last 1 safari version"
310 ]
311 },
312 "lint-staged": {
313 "*{.js,.jsx,.ts,.tsx}": [
314 "eslint --cache --fix",
315 "prettier --cache --write --ignore-unknown"
316 ]
317 }
318}