trails/apps/mobile/package.json
Ullrich Schäfer b2514f48be
Add local build scripts via Expo CNG/prebuild
- prebuild: generate native ios/ and android/ projects
- prebuild:clean: regenerate from scratch
- run:ios / run:android: build and run locally with Xcode/Gradle
- Add ios/ and android/ to .gitignore (CNG-generated)

Allows building locally without EAS credits:
  pnpm --filter @trails-cool/mobile prebuild
  pnpm --filter @trails-cool/mobile run:ios

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 01:19:37 +02:00

78 lines
2.4 KiB
JSON

{
"name": "@trails-cool/mobile",
"version": "0.0.1",
"private": true,
"main": "index.ts",
"expo": {
"install": {
"exclude": [
"react"
]
}
},
"scripts": {
"start": "expo start --dev-client",
"prebuild": "expo prebuild",
"prebuild:clean": "expo prebuild --clean",
"ios": "expo run:ios",
"android": "expo run:android",
"typecheck": "tsc --noEmit",
"test": "jest",
"lint": "eslint .",
"eas:dev": "npx eas-cli build:dev --platform ios",
"eas: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": {
"@expo/metro-runtime": "^55.0.9",
"@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.15",
"expo-constants": "~55.0.14",
"expo-crypto": "~55.0.14",
"expo-dev-client": "~55.0.27",
"expo-dev-menu": "^55.0.23",
"expo-device": "~55.0.15",
"expo-file-system": "~55.0.16",
"expo-linking": "~55.0.13",
"expo-localization": "~55.0.13",
"expo-location": "~55.1.8",
"expo-navigation-bar": "~55.0.12",
"expo-notifications": "~55.0.19",
"expo-router": "~55.0.12",
"expo-secure-store": "~55.0.13",
"expo-splash-screen": "~55.0.18",
"expo-sqlite": "~55.0.15",
"expo-status-bar": "~55.0.5",
"expo-system-ui": "^55.0.15",
"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"
}
}