Refactor example app and add location tracking functionality with tests

This commit is contained in:
2026-02-03 23:06:09 +05:30
parent fb56521d84
commit d1e383baf5
9 changed files with 149 additions and 150 deletions

View File

@@ -9,7 +9,8 @@
],
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint . --ext .ts,.tsx"
"lint": "eslint . --ext .ts,.tsx",
"test": "jest --runInBand"
},
"peerDependencies": {
"react": ">=17",
@@ -21,7 +22,18 @@
"devDependencies": {
"typescript": "^5.0.0",
"eslint": "^8.0.0",
"@types/react": "^18.0.0",
"@types/react-native": "^0.70.0"
"@types/react": "^19.0.0",
"@types/react-native": "^0.70.0",
"jest": "^29.0.0",
"@types/jest": "^29.0.0",
"babel-jest": "^29.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^12.9.0",
"@testing-library/jest-native": "^5.4.3",
"react-test-renderer": "^19.0.0",
"react": "^19.2.4",
"ts-jest": "^29.0.0",
"babel-jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0"
}
}