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