mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1{
2 "name": "bsky.app",
3 "version": "1.54.0",
4 "private": true,
5 "scripts": {
6 "prepare": "is-ci || husky install",
7 "postinstall": "patch-package",
8 "prebuild": "expo prebuild --clean",
9 "android": "expo run:android",
10 "ios": "expo run:ios",
11 "web": "expo start --web",
12 "build-web": "expo export:web && node ./scripts/post-web-build.js && cp --verbose ./web-build/static/js/*.* ./bskyweb/static/js/",
13 "start": "expo start --dev-client",
14 "start:prod": "expo start --dev-client --no-dev --minify",
15 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
16 "test": "jest --forceExit --testTimeout=20000 --bail",
17 "test-watch": "jest --watchAll",
18 "test-ci": "jest --ci --forceExit --reporters=default --reporters=jest-junit",
19 "test-coverage": "jest --coverage",
20 "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
21 "typecheck": "tsc --project ./tsconfig.check.json",
22 "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node __e2e__/mock-server.ts",
23 "e2e:metro": "RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
24 "e2e:build": "detox build -c ios.sim.debug",
25 "e2e:run": "detox test --configuration ios.sim.debug --take-screenshots all",
26 "perf:test": "maestro test",
27 "perf:test:run": "maestro test __e2e__/maestro/scroll.yaml",
28 "perf:test:measure": "flashlight test --bundleId xyz.blueskyweb.app --testCommand 'yarn perf:test' --duration 150000 --resultsFilePath .perf/results.json",
29 "perf:test:results": "flashlight report .perf/results.json",
30 "perf:measure": "flashlight measure",
31 "build:apk": "eas build -p android --profile dev-android-apk"
32 },
33 "dependencies": {
34 "@atproto/api": "^0.6.20",
35 "@bam.tech/react-native-image-resizer": "^3.0.4",
36 "@braintree/sanitize-url": "^6.0.2",
37 "@emoji-mart/react": "^1.1.1",
38 "@expo/html-elements": "^0.4.2",
39 "@expo/webpack-config": "^19.0.0",
40 "@fortawesome/fontawesome-svg-core": "^6.1.1",
41 "@fortawesome/free-regular-svg-icons": "^6.1.1",
42 "@fortawesome/free-solid-svg-icons": "^6.1.1",
43 "@fortawesome/react-native-fontawesome": "^0.3.0",
44 "@gorhom/bottom-sheet": "^4.5.1",
45 "@mattermost/react-native-paste-input": "^0.6.4",
46 "@miblanchard/react-native-slider": "^2.3.1",
47 "@react-native-async-storage/async-storage": "1.18.2",
48 "@react-native-camera-roll/camera-roll": "^5.2.2",
49 "@react-native-clipboard/clipboard": "^1.10.0",
50 "@react-native-community/blur": "^4.3.0",
51 "@react-native-community/datetimepicker": "7.2.0",
52 "@react-native-menu/menu": "^0.8.0",
53 "@react-native-picker/picker": "2.4.10",
54 "@react-navigation/bottom-tabs": "^6.5.7",
55 "@react-navigation/drawer": "^6.6.2",
56 "@react-navigation/native": "^6.1.6",
57 "@react-navigation/native-stack": "^6.9.12",
58 "@segment/analytics-next": "^1.51.3",
59 "@segment/analytics-react": "^1.0.0-rc1",
60 "@segment/analytics-react-native": "^2.10.1",
61 "@segment/sovran-react-native": "^0.4.5",
62 "@sentry/react-native": "5.10.0",
63 "@tanstack/react-query": "^4.33.0",
64 "@tiptap/core": "^2.0.0-beta.220",
65 "@tiptap/extension-document": "^2.0.0-beta.220",
66 "@tiptap/extension-hard-break": "^2.0.3",
67 "@tiptap/extension-history": "^2.0.3",
68 "@tiptap/extension-mention": "^2.0.0-beta.220",
69 "@tiptap/extension-paragraph": "^2.0.0-beta.220",
70 "@tiptap/extension-placeholder": "^2.0.0-beta.220",
71 "@tiptap/extension-text": "^2.0.0-beta.220",
72 "@tiptap/html": "^2.1.11",
73 "@tiptap/pm": "^2.0.0-beta.220",
74 "@tiptap/react": "^2.0.0-beta.220",
75 "@tiptap/suggestion": "^2.0.0-beta.220",
76 "@types/node": "^18.16.2",
77 "@zxing/text-encoding": "^0.9.0",
78 "array.prototype.findlast": "^1.2.3",
79 "await-lock": "^2.2.2",
80 "babel-plugin-transform-remove-console": "^6.9.4",
81 "base64-js": "^1.5.1",
82 "bcp-47-match": "^2.0.3",
83 "email-validator": "^2.0.4",
84 "emoji-mart": "^5.5.2",
85 "eventemitter3": "^5.0.1",
86 "expo": "^49.0.8",
87 "expo-application": "~5.3.0",
88 "expo-build-properties": "~0.8.3",
89 "expo-camera": "13.5.1",
90 "expo-constants": "~14.4.2",
91 "expo-dev-client": "2.4.7",
92 "expo-device": "~5.4.0",
93 "expo-image": "~1.3.2",
94 "expo-image-manipulator": "~11.5.0",
95 "expo-image-picker": "~14.5.0",
96 "expo-localization": "~14.3.0",
97 "expo-media-library": "~15.4.1",
98 "expo-notifications": "~0.20.1",
99 "expo-sharing": "~11.5.0",
100 "expo-splash-screen": "~0.20.5",
101 "expo-status-bar": "~1.6.0",
102 "expo-system-ui": "~2.4.0",
103 "expo-updates": "~0.18.12",
104 "fast-text-encoding": "^1.0.6",
105 "graphemer": "^1.4.0",
106 "history": "^5.3.0",
107 "js-sha256": "^0.9.0",
108 "lande": "^1.0.10",
109 "lodash.chunk": "^4.2.0",
110 "lodash.debounce": "^4.0.8",
111 "lodash.isequal": "^4.5.0",
112 "lodash.omit": "^4.5.0",
113 "lodash.once": "^4.1.1",
114 "lodash.random": "^3.2.0",
115 "lodash.samplesize": "^4.2.0",
116 "lodash.set": "^4.3.2",
117 "lodash.shuffle": "^4.2.0",
118 "lru_map": "^0.4.1",
119 "mobx": "^6.6.1",
120 "mobx-react-lite": "^3.4.0",
121 "mobx-utils": "^6.0.6",
122 "normalize-url": "^8.0.0",
123 "patch-package": "^6.5.1",
124 "postinstall-postinstall": "^2.1.0",
125 "psl": "^1.9.0",
126 "react": "18.2.0",
127 "react-avatar-editor": "^13.0.0",
128 "react-circular-progressbar": "^2.1.0",
129 "react-dom": "^18.2.0",
130 "react-native": "0.72.5",
131 "react-native-appstate-hook": "^1.0.6",
132 "react-native-draggable-flatlist": "^4.0.1",
133 "react-native-drawer-layout": "^3.2.0",
134 "react-native-fs": "^2.20.0",
135 "react-native-gesture-handler": "^2.12.1",
136 "react-native-get-random-values": "^1.8.0",
137 "react-native-haptic-feedback": "^1.14.0",
138 "react-native-image-crop-picker": "^0.38.1",
139 "react-native-inappbrowser-reborn": "^3.6.3",
140 "react-native-ios-context-menu": "^1.15.3",
141 "react-native-linear-gradient": "^2.6.2",
142 "react-native-pager-view": "6.1.4",
143 "react-native-picker-select": "^8.1.0",
144 "react-native-progress": "bluesky-social/react-native-progress",
145 "react-native-reanimated": "^3.4.2",
146 "react-native-root-siblings": "^4.1.1",
147 "react-native-safe-area-context": "4.6.3",
148 "react-native-screens": "~3.22.0",
149 "react-native-splash-screen": "^3.3.0",
150 "react-native-svg": "13.9.0",
151 "react-native-url-polyfill": "^1.3.0",
152 "react-native-uuid": "^2.0.1",
153 "react-native-version-number": "^0.3.6",
154 "react-native-web": "~0.19.6",
155 "react-native-web-linear-gradient": "^1.1.2",
156 "react-responsive": "^9.0.2",
157 "rn-fetch-blob": "^0.12.0",
158 "sentry-expo": "~7.0.1",
159 "tippy.js": "^6.3.7",
160 "tlds": "^1.234.0",
161 "zeego": "^1.6.2",
162 "zod": "^3.20.2"
163 },
164 "devDependencies": {
165 "@atproto/dev-env": "^0.2.5",
166 "@babel/core": "^7.20.0",
167 "@babel/preset-env": "^7.20.0",
168 "@babel/runtime": "^7.20.0",
169 "@did-plc/server": "^0.0.1",
170 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
171 "@react-native-community/eslint-config": "^3.0.0",
172 "@testing-library/jest-native": "^5.4.1",
173 "@testing-library/react-native": "^11.5.2",
174 "@tsconfig/react-native": "^2.0.3",
175 "@types/he": "^1.1.2",
176 "@types/jest": "^29.4.0",
177 "@types/lodash.chunk": "^4.2.7",
178 "@types/lodash.debounce": "^4.0.7",
179 "@types/lodash.isequal": "^4.5.6",
180 "@types/lodash.omit": "^4.5.7",
181 "@types/lodash.once": "^4.1.7",
182 "@types/lodash.random": "^3.2.7",
183 "@types/lodash.samplesize": "^4.2.7",
184 "@types/lodash.set": "^4.3.7",
185 "@types/lodash.shuffle": "^4.2.7",
186 "@types/psl": "^1.1.1",
187 "@types/react-avatar-editor": "^13.0.0",
188 "@types/react-responsive": "^8.0.5",
189 "@types/react-test-renderer": "^17.0.1",
190 "@typescript-eslint/eslint-plugin": "^5.48.2",
191 "@typescript-eslint/parser": "^5.48.2",
192 "babel-jest": "^29.4.2",
193 "babel-loader": "^9.1.2",
194 "babel-plugin-module-resolver": "^5.0.0",
195 "babel-plugin-react-native-web": "^0.18.12",
196 "detox": "^20.13.0",
197 "eslint": "^8.19.0",
198 "eslint-plugin-detox": "^1.0.0",
199 "eslint-plugin-ft-flow": "^2.0.3",
200 "eslint-plugin-react": "^7.33.2",
201 "eslint-plugin-react-native-a11y": "^3.3.0",
202 "html-webpack-plugin": "^5.5.0",
203 "husky": "^8.0.3",
204 "is-ci": "^3.0.1",
205 "jest": "^29.4.3",
206 "jest-expo": "^49.0.0",
207 "jest-junit": "^15.0.0",
208 "lint-staged": "^13.2.3",
209 "metro-react-native-babel-preset": "^0.73.7",
210 "prettier": "^2.8.3",
211 "react-native-dotenv": "^3.3.1",
212 "react-refresh": "^0.14.0",
213 "react-scripts": "^5.0.1",
214 "react-test-renderer": "18.2.0",
215 "ts-node": "^10.9.1",
216 "typescript": "^5.1.3",
217 "url-loader": "^4.1.1",
218 "webpack": "^5.75.0",
219 "webpack-cli": "^5.0.1",
220 "webpack-dev-server": "^4.11.1"
221 },
222 "resolutions": {
223 "@types/react": "^18",
224 "**/zeed-dom": "0.10.9"
225 },
226 "jest": {
227 "preset": "jest-expo/ios",
228 "setupFilesAfterEnv": [
229 "./jest/jestSetup.js",
230 "@testing-library/jest-native/extend-expect"
231 ],
232 "moduleFileExtensions": [
233 "ts",
234 "tsx",
235 "js",
236 "jsx",
237 "json",
238 "node"
239 ],
240 "transformIgnorePatterns": [
241 "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match)"
242 ],
243 "modulePathIgnorePatterns": [
244 "__tests__/.*/__mocks__",
245 "__e2e__/.*"
246 ],
247 "coveragePathIgnorePatterns": [
248 "<rootDir>/node_modules/",
249 "<rootDir>/src/platform",
250 "<rootDir>/src/third-party",
251 "<rootDir>/src/view/com/util",
252 "<rootDir>/src/state/lib",
253 "<rootDir>/__tests__/test-utils.js"
254 ],
255 "reporters": [
256 "default",
257 "jest-junit"
258 ]
259 },
260 "browserslist": {
261 "production": [
262 ">0.2%",
263 "not dead",
264 "not op_mini all"
265 ],
266 "development": [
267 "last 1 chrome version",
268 "last 1 firefox version",
269 "last 1 safari version"
270 ]
271 },
272 "lint-staged": {
273 "*{.js,.jsx,.ts,.tsx}": "yarn eslint --fix"
274 }
275}