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