-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
194 lines (194 loc) · 11 KB
/
Copy pathpackage.json
File metadata and controls
194 lines (194 loc) · 11 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
{
"name": "threadbase-mobile",
"version": "1.0.0",
"description": "iOS + Android client for Threadbase — browse, resume, and manage Claude Code sessions on a remote tb-streamer instance.",
"license": "MIT",
"author": "Ronen Mars <ronenmars@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/RonenMars/threadbase-mobile.git"
},
"bugs": {
"url": "https://github.com/RonenMars/threadbase-mobile/issues"
},
"homepage": "https://github.com/RonenMars/threadbase-mobile#readme",
"main": "expo-router/entry",
"scripts": {
"prepare": "node -e \"const {execSync}=require('child_process');try{execSync('git config core.hooksPath scripts/git-hooks',{stdio:'ignore'})}catch(e){}\"",
"postinstall": "patch-package",
"start": "expo start",
"dev:metro": "node scripts/dev-metro.js",
"android": "expo run:android",
"ios": "expo run:ios",
"test": "jest --watchAll",
"test:ci": "jest --ci --forceExit",
"test:unit": "jest --ci --testPathPattern='__tests__/unit'",
"test:integration": "jest --ci --testPathPattern='__tests__/integration'",
"test:e2e": "jest --ci --testPathPattern='__tests__/e2e'",
"test:i18n": "jest --ci --testPathPattern='__tests__/i18n'",
"test:e2e:mock": "node e2e/check-sim.js && node e2e/ensure-release-build.js && (MOCK_PORTS=7071,7072 node e2e/mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/launch.yaml e2e/browse.yaml e2e/session_lifecycle.yaml e2e/server_drag_reorder.yaml e2e/bug6_bottom_bar_inset.yaml e2e/pty_turn_divider.yaml e2e/feat1_tree_drill_new_session.yaml e2e/feat2_export_in_info_shelf.yaml e2e/codex_parity.yaml e2e/voice_dictation.yaml e2e/settings_qr_scanner.yaml e2e/feedback_flow.yaml e2e/05_chat_flow.yaml e2e/06_search_anchor.yaml e2e/07_conversation_scroll_gaps.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",
"test:e2e:parallel-fetch": "node e2e/check-sim.js && (MOCK_PORT=7073 MOCK_TOTAL_CONVERSATIONS=30 MOCK_TOTAL_SESSIONS=25 MOCK_PAGE_DELAY_MS=3000 node e2e/pagination-mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/parallel-fetch-progress.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",
"test:e2e:parallel-fetch:non-merged": "node e2e/check-sim.js && (MOCK_PORT=7073 MOCK_TOTAL_CONVERSATIONS=30 MOCK_TOTAL_SESSIONS=25 MOCK_PAGE_DELAY_MS=3000 node e2e/pagination-mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/non-merged-conv-loading.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",
"test:e2e:ts1": "node e2e/check-sim.js && node e2e/ensure-release-build.js && (MOCK_PORTS=7071,7072 node e2e/mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/ts1_onboarding_pairing.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",
"test:e2e:ts1:record": "node e2e/check-sim.js && node e2e/ensure-release-build.js && (MOCK_PORTS=7071,7072 node e2e/mock-server.js & MOCK_PID=$!; sleep 1; node scripts/record-simulator-flow.js e2e/ts1_onboarding_pairing.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",
"test:e2e:demo": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.demo && maestro test --format html --output e2e/_artifacts/demo-report --debug-output e2e/_artifacts/debug -e DEMO_SERVER_URL=$DEMO_SERVER_URL -e APP_BUNDLE_ID=$APP_BUNDLE_ID e2e/demo-server-connect-only.yaml",
"test:e2e:demo:watch": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.demo && maestro test -e DEMO_SERVER_URL=$DEMO_SERVER_URL -e APP_BUNDLE_ID=$APP_BUNDLE_ID e2e/demo-server-connect-only.yaml",
"test:e2e:demo:debug": "node e2e/check-sim.js && source .env.demo && echo '\n⚠️ Debug mode: manually tap your Metro server in the simulator, then press Enter to continue...' && read -p '' && maestro test -e DEMO_SERVER_URL=$DEMO_SERVER_URL -e APP_BUNDLE_ID=$APP_BUNDLE_ID e2e/demo-server-connect-only.yaml",
"test:e2e:demo:record": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.demo && maestro record --local --format html --output e2e/_artifacts/demo-report --debug-output e2e/_artifacts/debug -e DEMO_SERVER_URL=$DEMO_SERVER_URL -e APP_BUNDLE_ID=$APP_BUNDLE_ID e2e/demo-server-connect-only.yaml",
"test:e2e:demo:record:watch": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.demo && maestro record --local -e DEMO_SERVER_URL=$DEMO_SERVER_URL -e APP_BUNDLE_ID=$APP_BUNDLE_ID e2e/demo-server-connect-only.yaml",
"test:e2e:prod": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.prod && maestro test --format html --output e2e/_artifacts/prod-report --debug-output e2e/_artifacts/debug -e PROD_SERVER_URL=$PROD_SERVER_URL -e PROD_API_KEY=$PROD_API_KEY e2e/prod-server-connect-only.yaml",
"test:e2e:prod:watch": "node e2e/check-sim.js && node e2e/ensure-release-build.js && source .env.prod && maestro test -e PROD_SERVER_URL=$PROD_SERVER_URL -e PROD_API_KEY=$PROD_API_KEY e2e/prod-server-connect-only.yaml",
"test:e2e:prod:debug": "node e2e/check-sim.js && source .env.prod && echo '\n⚠️ Debug mode: manually tap your Metro server in the simulator, then press Enter to continue...' && read -p '' && maestro test -e PROD_SERVER_URL=$PROD_SERVER_URL -e PROD_API_KEY=$PROD_API_KEY e2e/prod-server-connect-only.yaml",
"lint": "eslint \"**/*.{ts,tsx}\"",
"lint:i18n": "eslint ./app ./components ./hooks ./services ./constants ./types --max-warnings=0",
"typecheck": "tsc --noEmit",
"check:native-deps": "node scripts/check-native-deps.js",
"test:scripts": "node_modules/.bin/jest --config jest.config.scripts.js --ci --forceExit",
"dev:list-devices": "./scripts/list-ios-devices.sh",
"dev:device": "./scripts/dev-device.sh",
"dev:js": "./scripts/dev-device.sh --js-only",
"dev:android": "expo run:android",
"dev:android:js": "node scripts/dev-metro.js --android",
"dev:tunnel": "./scripts/start-cloudflared.sh",
"dev:tunnel:clear": "./scripts/start-cloudflared.sh -c",
"dev:tunnel:native": "./scripts/start-cloudflared.sh --native",
"dev:tunnel:native:reset": "./scripts/dev-tunnel-native-reset.sh",
"dev:reset": "rm -rf node_modules && npm ci && cd ios && rm -rf Pods && bundle exec pod install && cd .. && ./scripts/reset-podfile-lock-path-noise.sh && npx expo start --dev-client --tunnel --clear",
"kill:metro": "./scripts/kill-metro.sh",
"ship:ios": "./scripts/ship-ios.sh",
"ship:android": "./scripts/ship-android.sh",
"ship:all": "./scripts/ship-ios.sh && ./scripts/ship-android.sh",
"status:android": "./scripts/check-play-status.sh",
"status:ios": "source .env.signing && ./scripts/check-appstore-status.sh",
"status:all": "npm run status:ios && npm run status:android"
},
"dependencies": {
"@expo/metro-runtime": "~57.0.7",
"@expo/ui": "~57.0.7",
"@gorhom/bottom-sheet": "^5.2.13",
"@react-native-async-storage/async-storage": "3.1.1",
"@react-native-community/netinfo": "12.0.1",
"@sentry/react-native": "^8.18.0",
"@shopify/flash-list": "2.3.2",
"@tanstack/query-async-storage-persister": "^5.100.9",
"@tanstack/react-query": "^5.101.2",
"@tanstack/react-query-persist-client": "^5.101.1",
"clsx": "^2.1.1",
"expo": "^57.0.8",
"expo-blur": "~57.0.2",
"expo-build-properties": "~57.0.7",
"expo-camera": "~57.0.3",
"expo-clipboard": "~57.0.1",
"expo-constants": "~57.0.7",
"expo-dev-client": "~57.0.8",
"expo-device": "~57.0.1",
"expo-document-picker": "~57.0.1",
"expo-font": "~57.0.1",
"expo-haptics": "~57.0.1",
"expo-image-manipulator": "~57.0.6",
"expo-image-picker": "~57.0.6",
"expo-linear-gradient": "~57.0.1",
"expo-linking": "~57.0.4",
"expo-local-authentication": "~57.0.2",
"expo-localization": "~57.0.1",
"expo-mail-composer": "~57.0.1",
"expo-notifications": "~57.0.7",
"expo-router": "~57.0.8",
"expo-secure-store": "~57.0.1",
"expo-speech-recognition": "56.0.1",
"expo-splash-screen": "~57.0.5",
"expo-status-bar": "~57.0.1",
"expo-system-ui": "~57.0.1",
"expo-updates": "~57.0.9",
"expo-widgets": "~57.0.6",
"i18next": "^26.3.6",
"intl-pluralrules": "^2.0.1",
"nativewind": "^4.2.6",
"one-more-highlight": "^1.3.0",
"phosphor-react-native": "^3.0.6",
"prism-react-renderer": "^2.4.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-i18next": "^17.0.6",
"react-native": "0.86.0",
"react-native-draggable-flatlist": "^4.0.3",
"react-native-gesture-handler": "~2.32.0",
"react-native-get-random-values": "~2.0.0",
"react-native-keyboard-controller": "1.21.9",
"react-native-pager-view": "8.0.2",
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "4.26.2",
"react-native-svg": "15.15.5",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.10.2",
"tweetnacl": "^1.0.3",
"tweetnacl-util": "^0.15.1",
"use-debounce": "^10.1.1",
"zustand": "^5.0.14"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@react-native/jest-preset": "^0.86.0",
"@testing-library/react-native": "^14.0.1",
"@types/jest": "29.5.14",
"@types/react": "~19.2.0",
"babel-preset-expo": "~57.0.4",
"eslint": "^9.39.4",
"eslint-config-expo": "~57.0.0",
"eslint-plugin-i18next": "^6.1.4",
"eslint-plugin-react-native": "^5.0.0",
"jest": "^29.7.0",
"jest-expo": "~57.0.0",
"patch-package": "^8.0.1",
"react-refresh": "^0.18.0",
"react-test-renderer": "19.2.7",
"tailwindcss": "^3.4.10",
"test-renderer": "^1.2.0",
"typescript": "~6.0.3",
"ws": "^8.21.1"
},
"expo": {
"install": {
"exclude": [
"@shopify/flash-list"
]
}
},
"overrides": {
"uuid": "^11.1.1",
"minimatch": {
"10.2.5": {
"brace-expansion": "^5.0.7"
}
}
},
"jest": {
"preset": "jest-expo",
"transformIgnorePatterns": [
"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|react-native-svg|@shopify/flash-list|@gorhom|react-native-draggable-flatlist|nativewind|one-more-highlight|escape-string-regexp)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/.claude/",
"<rootDir>/.worktrees/",
"/__tests__/unit/scripts/"
],
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/$1",
"^@react-native-async-storage/async-storage$": "<rootDir>/__mocks__/async-storage.js",
"^react-native-reanimated$": "<rootDir>/node_modules/react-native-reanimated/mock",
"^react-native-worklets$": "<rootDir>/node_modules/react-native-worklets/src/mock",
"\\.css$": "<rootDir>/__mocks__/style-mock.js"
}
},
"private": true,
"allowScripts": {
"fsevents@2.3.3": true,
"unrs-resolver@1.12.2": true,
"@sentry/cli@3.6.0": true
}
}