Batch-install native modules to minimize EAS build credits: - @maplibre/maplibre-react-native — map view for routes (Phase 3) - @sentry/react-native — crash reporting and error tracking - expo-sqlite — offline route storage (Phase 5) - expo-notifications — push notifications (Phase 7) - expo-location — GPS for activity recording (future) All registered as Expo config plugins. Requires one new EAS build to include the native modules. Also: - Use npx eas-cli in build scripts (not global eas) - Add pnpm dev:ios / dev:android root scripts using eas build:dev - Fix expo-doctor: add expo-constants, expo-linking, dedupe react Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"name": "@trails-cool/mobile",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"main": "index.ts",
|
|
"expo": {
|
|
"install": {
|
|
"exclude": [
|
|
"react"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "expo start",
|
|
"android": "expo start --android",
|
|
"ios": "expo start --ios",
|
|
"web": "expo start --web",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "jest",
|
|
"lint": "eslint .",
|
|
"build:dev": "npx eas-cli build:dev --platform ios",
|
|
"build:preview": "npx eas-cli build --profile preview --platform all"
|
|
},
|
|
"jest": {
|
|
"preset": "jest-expo",
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(.pnpm/)?((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@trails-cool/.*))"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@maplibre/maplibre-react-native": "^10.4.2",
|
|
"@sentry/react-native": "~7.11.0",
|
|
"@trails-cool/api": "workspace:*",
|
|
"@trails-cool/gpx": "workspace:*",
|
|
"@trails-cool/i18n": "workspace:*",
|
|
"@trails-cool/map-core": "workspace:*",
|
|
"@trails-cool/types": "workspace:*",
|
|
"expo": "~55.0.14",
|
|
"expo-constants": "~55.0.13",
|
|
"expo-crypto": "~55.0.14",
|
|
"expo-dev-client": "~55.0.27",
|
|
"expo-linking": "~55.0.12",
|
|
"expo-location": "~55.1.8",
|
|
"expo-notifications": "~55.0.18",
|
|
"expo-router": "~55.0.12",
|
|
"expo-secure-store": "~55.0.13",
|
|
"expo-sqlite": "~55.0.15",
|
|
"expo-status-bar": "~55.0.5",
|
|
"expo-web-browser": "~55.0.14",
|
|
"react": "catalog:",
|
|
"react-native": "0.83.4",
|
|
"react-native-safe-area-context": "~5.6.2",
|
|
"react-native-screens": "~4.23.0",
|
|
"use-latest-callback": "^0.3.3",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react-native": "^13.3.3",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/react": "~19.2.14",
|
|
"jest-expo": "^55.0.15",
|
|
"typescript": "~5.9.2"
|
|
}
|
|
}
|