Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 6.85 KB
/
Copy pathpackage.json
File metadata and controls
187 lines (187 loc) · 6.85 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
{
"name": "ark",
"description": "Noé's Ark for the offline age: an offline-first survival toolkit for mobile.",
"main": "expo-router/entry",
"version": "1.0.0",
"packageManager": "bun@1.3.3",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rodrgds/ark.git"
},
"bugs": {
"url": "https://github.com/rodrgds/ark/issues"
},
"homepage": "https://ark.rgo.pt",
"keywords": [
"offline-first",
"survival",
"react-native",
"expo",
"maps",
"local-ai",
"rag",
"sqlite"
],
"scripts": {
"dev": "expo start -c",
"agent:preflight": "node scripts/agent-preflight.mjs",
"agent:preflight:native": "node scripts/agent-preflight.mjs --native",
"agent:preflight:release": "node scripts/agent-preflight.mjs --native --release",
"android": "expo start -c --android",
"ios": "expo start -c --ios",
"ios:dev": "expo run:ios",
"web": "node scripts/start-web.mjs",
"typecheck": "bun run typecheck:app && bun run typecheck:tests",
"typecheck:app": "tsc --noEmit",
"typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"lint": "oxlint",
"check": "bun run typecheck && bun run lint && bun run test && bun run check:repo",
"check:repo": "node scripts/check-repo-hygiene.mjs",
"test": "bun scripts/run-tests.mjs",
"maps:catalog:build": "node scripts/build-map-catalog.mjs",
"check:docs": "node scripts/check-docs-drift.mjs",
"build-or-docs": "bun run check:docs && bun run docs:build",
"verify": "bun run format:check && bun run check && bun run build-or-docs",
"docs:dev": "vitepress dev docs --host 127.0.0.1",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs --host 127.0.0.1",
"docs:deploy": "bun run docs:build && wrangler pages deploy docs/.vitepress/dist --project-name=ark-docs",
"clean": "rm -rf .expo node_modules",
"android:build:dev": "expo prebuild --platform android --no-install --no-clean && cd android && ./gradlew assembleStandardDebug",
"android:build:prod": "expo prebuild --platform android --no-install --no-clean && cd android && ./gradlew assembleStandardRelease",
"android:build:fdroid": "expo prebuild --platform android --no-install --no-clean && cd android && ARK_DISTRIBUTION=fdroid ARK_GRADLE_XMX_MB=${ARK_GRADLE_XMX_MB:-4096} ARK_GRADLE_WORKERS=${ARK_GRADLE_WORKERS:-2} ./gradlew --no-daemon assembleFdroidRelease -ParkAbiSplits=false -ParkDistribution=fdroid",
"android:release:apks": "bash scripts/android-release-apks.sh",
"android:build:play": "bash scripts/android-play-aab.sh",
"ios:build:sim": "bash scripts/ios-simulator-build.sh",
"build-send": "node scripts/build-send.mjs",
"build-send:dev": "node scripts/build-send.mjs --dev",
"android:install": "adb install android/app/build/outputs/apk/standard/debug/app-standard-debug.apk",
"doctor": "npx react-doctor@latest"
},
"dependencies": {
"@10play/tentap-editor": "1.0.1",
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@maplibre/maplibre-react-native": "^11.2.1",
"@noble/ciphers": "^2.2.0",
"@noble/hashes": "^2.2.0",
"@react-native-ai/llama": "^0.12.0",
"@react-native-community/netinfo": "12.0.1",
"@rn-primitives/portal": "~1.4.0",
"@rn-primitives/slot": "^1.4.0",
"@shopify/react-native-skia": "2.6.2",
"@stardazed/streams-text-encoding": "^1.0.2",
"@swmansion/react-native-bottom-sheet": "^0.12.0",
"@ungap/structured-clone": "^1.3.1",
"ai": "^6.0.191",
"ark-ocr": "./modules/ark-ocr",
"ark-routing": "./modules/ark-routing",
"ark-system-colors": "./modules/ark-system-colors",
"ark-zim": "./modules/ark-zim",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.2.1",
"defuddle": "^0.18.1",
"expo": "~57.0.6",
"expo-asset": "~57.0.5",
"expo-audio": "~57.0.2",
"expo-build-properties": "~57.0.5",
"expo-constants": "~57.0.5",
"expo-crypto": "~57.0.1",
"expo-document-picker": "~57.0.1",
"expo-file-system": "~57.0.1",
"expo-haptics": "~57.0.1",
"expo-image": "~57.0.1",
"expo-image-picker": "~57.0.4",
"expo-linking": "~57.0.3",
"expo-local-authentication": "~57.0.1",
"expo-localization": "~57.0.1",
"expo-location": "~57.0.4",
"expo-notifications": "~57.0.5",
"expo-print": "~57.0.1",
"expo-router": "~57.0.6",
"expo-secure-store": "~57.0.1",
"expo-sensors": "~57.0.2",
"expo-sharing": "~57.0.5",
"expo-splash-screen": "~57.0.4",
"expo-sqlite": "~57.0.1",
"expo-status-bar": "~57.0.1",
"expo-task-manager": "~57.0.4",
"fast-xml-parser": "^5.8.0",
"fflate": "^0.8.3",
"linkedom": "^0.18.12",
"llama.rn": "^0.12.3",
"lucide-react-native": "^0.545.0",
"marked": "^18.0.5",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.86.0",
"react-native-audio-api": "^0.12.2",
"react-native-blob-util": "^0.24.9",
"react-native-enriched-markdown": "^0.6.0",
"react-native-executorch": "^0.9.0",
"react-native-executorch-expo-resource-fetcher": "^0.9.0",
"react-native-gesture-handler": "~2.32.0",
"react-native-keyboard-controller": "1.21.9",
"react-native-nitro-fused-location": "0.1.5",
"react-native-notify-kit": "^10.5.0",
"react-native-pdf": "^7.0.4",
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "4.25.2",
"react-native-svg": "15.15.4",
"react-native-web": "^0.21.0",
"react-native-webview": "13.16.1",
"react-native-worklets": "0.10.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1",
"tw-animate-css": "^1.4.0",
"uniwind": "1.6.3",
"victory-native": "41.26.0",
"zod": "^4.4.3",
"zustand": "^5.0.13"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@expo/ngrok": "^4.1.0",
"@react-native-community/cli": "^20.1.3",
"@testing-library/react-native": "14.0.0",
"@types/bun": "^1.3.14",
"@types/node": "^26.1.1",
"@types/react": "~19.2.10",
"@oxlint/plugins": "1.79.0",
"oxfmt": "0.64.0",
"oxlint": "1.79.0",
"typescript": "~6.0.3",
"vitepress": "^1.6.4",
"wrangler": "^4.107.0"
},
"trustedDependencies": [
"@shopify/react-native-skia",
"llama.rn",
"unrs-resolver"
],
"overrides": {
"react-dom": "19.2.3",
"vite": "6.4.3"
},
"expo": {
"install": {
"exclude": [
"react-native-worklets"
]
},
"autolinking": {
"nativeModulesDir": "./config/empty-native-modules"
}
},
"private": false,
"patchedDependencies": {
"@10play/tentap-editor@1.0.1": "patches/@10play%2Ftentap-editor@1.0.1.patch",
"metro@0.84.4": "patches/metro@0.84.4.patch",
"metro-runtime@0.84.4": "patches/metro-runtime@0.84.4.patch",
"uniwind@1.6.3": "patches/uniwind@1.6.3.patch"
}
}