-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathpackage.json
More file actions
213 lines (213 loc) · 11.4 KB
/
Copy pathpackage.json
File metadata and controls
213 lines (213 loc) · 11.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"name": "keybase",
"version": "1.0.1",
"description": "",
"scripts": {
"_helper": "node desktop/yarn-helper/index.mts",
"android:adb:install": "adb install -r -d android/app/build/outputs/apk/debug/app-debug.apk",
"android:adb:install:unsigned": "adb install -r -d android/app/build/outputs/apk/releaseUnsigned/app-releaseUnsigned.apk",
"android:bundle:dev": "curl -o ~/Desktop/bundle.dev.js 'http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=io.keybase.ossifrage&modulesOnly=false&runModule=true'",
"android:bundle:prod": "curl -o ~/Desktop/bundle.prod.js 'http://localhost:8081/index.bundle?platform=android&dev=false&minify=false&app=io.keybase.ossifrage&modulesOnly=false&runModule=true'",
"android:bundle:profile": "NODE_OPTIONS=--no-experimental-fetch npx react-native profile-hermes ~/Desktop/",
"android:clean": "cd android; rm -rf build; rm -rf app/.cxx ; ./gradlew clean",
"android:debug": "NODE_ENV=development ./scripts/android-debug.sh",
"android:gobuild": "./react-native/gobuild.sh android && yarn postinstall",
"android:jsbundle": "mkdir -p android/dist && react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/dist/main.jsbundle --sourcemap-output android/dist/main.jsbundle.sourcemap",
"android:logs:clear": "adb logcat -b all -c",
"android:logs:dump": "adb logcat -d --pid=$(adb shell pidof io.keybase.ossifrage)",
"android:logs:live": "adb logcat | grep $(adb shell pidof io.keybase.ossifrage)",
"android:unsigned": "npx expo run:android --variant releaseUnsigned",
"coverage": "rm -rf coverage-ts; npx typescript-coverage-report@0.8.0",
"desktop:build:dev": "yarn run _helper build:dev",
"desktop:build:prod": "yarn run _helper build:prod",
"desktop:build:profile": "yarn run _helper build:profile",
"desktop:log:to-trace": "node desktop/yarn-helper/log-to-trace.mts",
"desktop:package": "yarn run _helper package",
"desktop:profile": "yarn run _helper profile",
"desktop:start": "yarn run _helper start",
"desktop:start:cold": "yarn run _helper start:cold",
"desktop:start:hot": "yarn run _helper start:hot",
"desktop:start:hot:debug": "KB_ENABLE_REMOTE_DEBUG=1 yarn run _helper start:hot",
"desktop:start:hot:e2e": "KB_ENABLE_REMOTE_DEBUG=1 KB_E2E_TEST=1 yarn run _helper start:hot",
"desktop:start:prod": "yarn run _helper start:prod",
"desktop:start:profile": "yarn run _helper start:profile",
"font:build-android": "python3 tools/fonts/font_tool.py build-text --manifest fonts/manifest.json --platform android",
"font:build-icon": "python3 tools/fonts/font_tool.py build-icon --manifest fonts/manifest.json",
"font:build-icon-android": "python3 tools/fonts/font_tool.py build-icon --manifest fonts/manifest.json --platform android",
"font:build-text": "python3 tools/fonts/font_tool.py build-text --manifest fonts/manifest.json",
"font:diff-metrics": "python3 tools/fonts/font_tool.py diff-metrics",
"font:inspect": "python3 tools/fonts/font_tool.py inspect",
"font:snapshot-metrics": "python3 tools/fonts/font_tool.py snapshot-metrics --manifest fonts/manifest.json --output fonts/metrics.json",
"font:verify-text": "python3 tools/fonts/font_tool.py verify-text --manifest fonts/manifest.json --metrics fonts/metrics.json",
"gen:emoji": "node common-adapters/markdown/generate-emoji-parser.mts && cd ../go; go run ./chat/emoji/main.go -i ../shared/node_modules/emoji-datasource-apple/emoji.json -o ../go/chat/storage/emoji_codemap.go",
"gen:icon-constants": "yarn run _helper update:icon-constants",
"gen:protocol": "cd ../protocol && make clean && make",
"help": "yarn run _helper help",
"ios:gobuild": "./react-native/gobuild.sh ios && yarn postinstall",
"ios:jsbundle": "mkdir -p ios/dist && react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output ios/dist/main.jsbundle --sourcemap-output ios/dist/main.jsbundle.sourcemap",
"ios:pod:clean": "pod cache clean --all ; rm -rf ios/build; rm -rf ios/Pods; rm -f ios/.xcode.env.local; rm -rf ../rnmodules/react-native-kb/node_modules",
"ios:pod:install": "cd ios; pod install --repo-update",
"ios:sim:push-chat": "bash tools/sim-push-chat.sh",
"lint": "yarn run lint:specific .",
"lint:daemon": "eslint_d --cache .",
"lint:specific": "eslint --cache --quiet ",
"lint:warn": "eslint .",
"modules": "yarn install --pure-lockfile --ignore-optional --ignore-scripts && yarn postinstall && cd node_modules/@typescript/native-preview && yarn install",
"perf:compare": "node perf/compare-perf.js",
"perf:inbox:desktop": "node perf/run-desktop-perf.js --flow inbox",
"perf:inbox:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-inbox-scroll.yaml",
"perf:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh",
"perf:teams:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-teams-scroll.yaml",
"perf:thread:desktop": "node perf/run-desktop-perf.js --flow thread",
"perf:thread:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-thread-scroll.yaml",
"postinstall": "yarn run _helper postinstall",
"rn:start": "npx expo start --clear 2>&1",
"rn:start:log": "npx expo start --clear 2>&1 | tee /tmp/metro.log",
"rn:start:legacy": "./react-native/packageAndBuild.sh",
"storybook": "storybook dev -p 6006 --config-dir .storybook",
"storybook:screenshot": "node --experimental-strip-types scripts/screenshot-storybook.mts",
"sync:kb-modules": "yarn run _helper sync-local-rnmodules",
"test:e2e:desktop": "playwright test --config tests/e2e/electron/playwright.config.ts",
"test:e2e:desktop:branch": "playwright test --config tests/e2e/electron/playwright.config.ts tests/e2e/electron/flows/team-member.test.ts && yarn test:e2e:desktop:report",
"test:e2e:desktop:report": "node tests/e2e/generate-electron-report.mts && open tests/results/electron-report.html",
"test:e2e:desktop:save-baseline": "node tests/e2e/generate-electron-report.mts --save-baseline",
"test:e2e:ios": "rm -rf tests/results/ios-debug && MAESTRO_CLI_NO_ANALYTICS=1 maestro test --config .maestro/e2e/config.yaml --debug-output tests/results/ios-debug --flatten-debug-output --env KB_SMOKE_USER=${KB_SMOKE_USER} .maestro/e2e/setup.yaml .maestro/e2e/flows/",
"test:e2e:ios:branch": "rm -rf tests/results/ios-debug && MAESTRO_CLI_NO_ANALYTICS=1 maestro test --config .maestro/e2e/config.yaml --debug-output tests/results/ios-debug --flatten-debug-output --env KB_SMOKE_USER=${KB_SMOKE_USER} .maestro/e2e/setup.yaml .maestro/e2e/flows/team-member.yaml ; yarn test:e2e:ios:report",
"test:e2e:ios:report": "node tests/e2e/generate-ios-report.mts && open tests/results/ios-report.html",
"test:e2e:ios:save-baseline": "node tests/e2e/generate-ios-report.mts --save-baseline",
"test:unit": "napi-postinstall unrs-resolver 1.11.1 check; jest --runInBand",
"test:unit:ios": "xcodebuild test -project ./ios/Keybase.xcodeproj -scheme 'Keybase For Test' -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3'",
"tsc": "./node_modules/.bin/tsgo --project ./tsconfig.desktop.json && ./node_modules/.bin/tsgo --project ./tsconfig.native.json"
},
"keywords": [],
"author": "",
"license": "MIT",
"private": true,
"dependencies": {
"@callstack/liquid-glass": "0.8.0",
"@gorhom/bottom-sheet": "5.2.14",
"@gorhom/portal": "1.0.14",
"@khanacademy/simple-markdown": "2.2.3",
"@legendapp/list": "3.0.0",
"@msgpack/msgpack": "3.1.3",
"@react-native-community/netinfo": "12.0.1",
"@react-native-masked-view/masked-view": "0.3.2",
"@react-native-picker/picker": "2.11.4",
"@react-navigation/bottom-tabs": "8.0.0-alpha.33",
"@react-navigation/core": "8.0.0-alpha.19",
"@react-navigation/native": "8.0.0-alpha.28",
"@react-navigation/native-stack": "8.0.0-alpha.34",
"date-fns": "4.4.0",
"emoji-datasource-apple": "16.0.0",
"emoji-regex": "10.6.0",
"expo": "56.0.8",
"expo-asset": "56.0.15",
"expo-audio": "56.0.11",
"expo-camera": "56.0.7",
"expo-clipboard": "56.0.3",
"expo-contacts": "56.0.7",
"expo-document-picker": "56.0.4",
"expo-file-system": "56.0.7",
"expo-haptics": "56.0.3",
"expo-image": "56.0.9",
"expo-image-picker": "56.0.15",
"expo-localization": "56.0.6",
"expo-location": "56.0.15",
"expo-mail-composer": "56.0.4",
"expo-media-library": "56.0.6",
"expo-screen-capture": "56.0.4",
"expo-sms": "56.0.3",
"expo-task-manager": "56.0.16",
"expo-video": "56.1.2",
"google-libphonenumber": "3.2.44",
"immer": "11.1.8",
"lodash": "4.18.1",
"lottie-react-native": "7.3.8",
"lottie-web": "5.13.0",
"menubar": "9.5.2",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.85.3",
"react-native-gesture-handler": "3.0.0",
"react-native-kb": "file:../rnmodules/react-native-kb",
"react-native-keyboard-controller": "1.21.9",
"react-native-reanimated": "4.4.1",
"react-native-safe-area-context": "5.8.0",
"react-native-screens": "4.25.2",
"react-native-web": "0.21.2",
"react-native-webview": "13.16.1",
"react-native-worklets": "0.9.1",
"zustand": "5.0.14"
},
"devDependencies": {
"@babel/core": "7.29.7",
"@babel/preset-env": "7.29.7",
"@babel/preset-react": "7.29.7",
"@babel/preset-typescript": "7.29.7",
"@electron/packager": "20.0.0",
"@playwright/test": "1.60.0",
"@eslint/compat": "2.1.0",
"@eslint/js": "10.0.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.6.2",
"@react-native-community/cli": "20.1.3",
"@react-native-community/cli-platform-android": "20.1.3",
"@react-native-community/cli-platform-ios": "20.1.3",
"@react-native/babel-preset": "0.85.3",
"@react-native/eslint-config": "0.85.3",
"@react-native/metro-config": "0.85.3",
"@storybook/react": "10.4.2",
"@storybook/react-webpack5": "10.4.2",
"@testing-library/dom": "10.4.1",
"@testing-library/react": "16.3.2",
"@types/google-libphonenumber": "7.4.30",
"@types/jest": "30.0.0",
"@types/lodash": "4.17.24",
"@types/lodash-es": "4.17.12",
"@types/react": "19.2.15",
"@types/react-dom": "19.2.3",
"@types/webpack-env": "1.18.8",
"@typescript/native-preview": "7.0.0-dev.20260604.1",
"babel-jest": "30.4.1",
"babel-loader": "10.1.1",
"babel-plugin-module-resolver": "5.0.3",
"babel-plugin-react-compiler": "1.0.0",
"babel-plugin-react-native-web": "0.21.2",
"babel-preset-expo": "56.0.14",
"cross-env": "10.1.0",
"css-loader": "7.1.4",
"electron": "42.3.3",
"eslint": "10.4.1",
"eslint-plugin-deprecation": "3.0.0",
"eslint-plugin-promise": "7.3.0",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"eslint-plugin-react-hooks": "7.1.1",
"html-webpack-plugin": "5.6.7",
"jest": "30.4.2",
"jest-environment-jsdom": "30.4.1",
"null-loader": "4.0.1",
"patch-package": "8.0.1",
"react-refresh": "0.18.0",
"storybook": "10.4.2",
"style-loader": "4.0.0",
"terser-webpack-plugin": "5.6.1",
"typescript": "6.0.3",
"typescript-eslint": "8.60.1",
"webpack": "5.107.2",
"webpack-cli": "7.0.3",
"webpack-dev-server": "5.2.4",
"webpack-merge": "6.0.1"
},
"resolutions": {
"**/@types/react": "19.2.15"
},
"typecoverage": {
"detail": true,
"strict": true
},
"expo": {
"autolinking": {
"exclude": []
}
}
}