Files
MyMobileAgent/app/package.json
Jonathan Atta 41c7634b75 chore: update package.json for testing scripts and dependencies
- Added unit and end-to-end testing scripts to package.json.
- Included detox for end-to-end testing and jest-circus for improved test execution.

feat: add testID to LandingScreen logo for better testing

- Added testID attribute to the logo image in LandingScreen for easier identification in tests.

feat: create tokens.ts to re-export design tokens

- Introduced tokens.ts to re-export shared design tokens from lightTheme for consistent imports.
2026-03-03 12:49:42 +01:00

68 lines
2.3 KiB
JSON

{
"name": "MyMobileagent",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest",
"test:unit": "jest",
"test:e2e:build:android": "detox build -c android.emu.debug",
"test:e2e:run:android": "detox test -c android.emu.debug",
"test:e2e:android": "npm run test:e2e:build:android && npm run test:e2e:run:android",
"test:full": "npm run test:unit && npm run test:e2e:android",
"test:e2e:auto": "node ./e2e/run-detox.js"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-community/geolocation": "^3.4.0",
"@react-native-documents/picker": "^12.0.1",
"@react-native/new-app-screen": "0.84.0",
"@react-navigation/bottom-tabs": "^7.14.0",
"@react-navigation/material-top-tabs": "^7.4.13",
"@react-navigation/native": "^7.1.28",
"@react-navigation/native-stack": "^7.13.0",
"@reduxjs/toolkit": "^2.11.2",
"llama.rn": "^0.11.1",
"react": "19.2.3",
"react-native": "0.84.0",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.30.0",
"react-native-pager-view": "^8.0.0",
"react-native-safe-area-context": "^5.6.2",
"react-native-screens": "^4.23.0",
"react-native-tab-view": "^4.2.2",
"react-redux": "^9.2.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "20.1.0",
"@react-native-community/cli-platform-android": "20.1.0",
"@react-native-community/cli-platform-ios": "20.1.0",
"@react-native/babel-preset": "0.84.0",
"@react-native/eslint-config": "0.84.0",
"@react-native/metro-config": "0.84.0",
"@react-native/typescript-config": "0.84.0",
"@types/jest": "^29.5.13",
"@types/react": "^19.2.0",
"@types/react-test-renderer": "^19.1.0",
"eslint": "^8.19.0",
"eslint-plugin-react-native": "^5.0.0",
"jest": "^29.6.3",
"patch-package": "^8.0.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "2.8.8",
"react-test-renderer": "19.2.3",
"typescript": "^5.8.3",
"detox": "^20.47.0",
"jest-circus": "^29.6.3"
},
"engines": {
"node": ">= 22.11.0"
}
}