Replace custom View-based bottom sheet with @gorhom/bottom-sheet: - Native gesture-driven drag, snap points, pan-down-to-close - Proper safe area handling built in - Wrap app with GestureHandlerRootView - Add react-native-reanimated plugin to Expo config Adds react-native-reanimated and react-native-gesture-handler as native dependencies (requires new EAS build). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
69 lines
2.1 KiB
JSON
69 lines
2.1 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": {
|
|
"@gorhom/bottom-sheet": "^5.2.9",
|
|
"@maplibre/maplibre-react-native": "^10.4.2",
|
|
"@sentry/cli": "^3.3.5",
|
|
"@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-gesture-handler": "^2.31.1",
|
|
"react-native-reanimated": "^4.3.0",
|
|
"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",
|
|
"react-test-renderer": "^19.2.5",
|
|
"typescript": "~5.9.2"
|
|
}
|
|
}
|