0493fcc939
Initialize AddEventModal state from editEvent props directly, removing the useEffect that synchronized state. Add AbortController to useRouteQuery to cancel in-flight requests when dependencies change or component unmounts. Add @testing-library/user-event and fix related tests to handle async user events. Polyfill localStorage in Vitest setup for jsdom environment.
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "@timetoleave/mobile",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"start": "expo start",
|
|
"android": "expo run:android",
|
|
"ios": "expo run:ios",
|
|
"web": "expo start --web",
|
|
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
|
|
"lint": "eslint src/",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
"@fortawesome/react-native-fontawesome": "^1.0.0",
|
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
"@react-navigation/native": "^7.2.4",
|
|
"@react-navigation/native-stack": "^7.14.14",
|
|
"@timetoleave/api-client": "*",
|
|
"@timetoleave/core": "*",
|
|
"expo": "~54.0.34",
|
|
"expo-calendar": "~15.0.8",
|
|
"expo-dev-client": "~6.0.21",
|
|
"expo-location": "~19.0.8",
|
|
"expo-notifications": "~0.32.17",
|
|
"expo-status-bar": "~3.0.9",
|
|
"react": "19.1.0",
|
|
"react-native": "0.81.5",
|
|
"react-native-safe-area-context": "~5.6.0",
|
|
"react-native-screens": "~4.16.0",
|
|
"react-native-svg": "^15.15.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@testing-library/react-native": "^13.3.3",
|
|
"@types/jest": "29.5.14",
|
|
"@types/react": "~19.1.10",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"jest": "^29.7.0",
|
|
"jest-expo": "~54.0.0",
|
|
"react-test-renderer": "19.1.0",
|
|
"ts-jest": "^29.4.9",
|
|
"typescript": "~5.9.2",
|
|
"typescript-eslint": "^8.59.3"
|
|
},
|
|
"private": true
|
|
}
|