mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
* iOS * Android * update * RN -0.84 android * update for android * test update for hardcoded height - from 412 to 394 * revert test update * all tests were running on latest RN instead of the right onw * yarn change * pod install update to run only once * patch for codegen for Android webview * some minor changes in regex and iOS install script * regex update * test update for android * another test update for android * very flaky test removed * removal of rules * reverted the removed test * API 36 fix for button test * safety added to BridgeIdlingResource.kt
97 lines
3.7 KiB
JSON
97 lines
3.7 KiB
JSON
{
|
|
"name": "detox-test",
|
|
"version": "20.46.0",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"test:types": "tsc -p types/tsconfig.json",
|
|
"test": "yarn lint && yarn test:types",
|
|
"postinstall": "node scripts/postinstall.js",
|
|
"start": "react-native start",
|
|
"packager": "react-native start",
|
|
"detox-server": "detox run-server",
|
|
"e2e:ios": "detox test -c ios.sim.release",
|
|
"e2e:android": "detox test -c android.emu.release",
|
|
"e2e:android:genycloud": "detox test -c android.genycloud.release",
|
|
"e2e:android:genycloud-arm64": "detox test -c android.genycloud.release-arm64",
|
|
"e2e:android-debug": "detox test -c android.emu.debug",
|
|
"e2e-unhappy:ios": "scripts/ci_unhappy.sh ios",
|
|
"e2e-unhappy:android": "scripts/ci_unhappy.sh android",
|
|
"integration": "jest --clearCache && jest --config integration/jest.config.js",
|
|
"integration:console": "node integration/utils/printConsole.mjs info",
|
|
"integration-update-snapshots": "yarn integration -u",
|
|
"build:ios": "detox build -c ios.sim.release",
|
|
"build:ios-debug": "detox build -c ios.sim.debug",
|
|
"build:android": "detox build -c android.emu.release",
|
|
"build:android-debug": "detox build -c android.emu.debug",
|
|
"clean:android": "pushd android && rm -fr ../android/detox/build/ && ./gradlew clean && popd",
|
|
"verify-artifacts:ios": "jest ./scripts/verify_artifacts_are_not_missing.ios.test.js --testEnvironment node",
|
|
"verify-artifacts:android": "jest ./scripts/verify_artifacts_are_not_missing.android.test.js --testEnvironment node"
|
|
},
|
|
"dependencies": {
|
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
"@react-native-community/checkbox": "^0.5.15",
|
|
"@react-native-community/datetimepicker": "8.4.5",
|
|
"@react-native-community/geolocation": "^3.4.0",
|
|
"@react-native-community/slider": "^5.0.1",
|
|
"@react-native-picker/picker": "^2.11.2",
|
|
"@react-native-segmented-control/segmented-control": "^2.5.6",
|
|
"moment": "^2.30.1",
|
|
"react": "19.2.3",
|
|
"react-native": "0.84.0",
|
|
"react-native-launch-arguments": "^4.0.2",
|
|
"react-native-permissions": "^5.2.1",
|
|
"react-native-webview": "^13.13.1",
|
|
"ssim.js": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@babel/runtime": "^7.25.0",
|
|
"@react-native-community/cli": "20.0.2",
|
|
"@react-native-community/cli-platform-android": "20.0.2",
|
|
"@react-native-community/cli-platform-ios": "20.0.2",
|
|
"@react-native/babel-preset": "0.83.0",
|
|
"@react-native/eslint-config": "0.83.0",
|
|
"@react-native/metro-config": "0.83.0",
|
|
"@react-native/typescript-config": "0.83.0",
|
|
"@rnx-kit/align-deps": "^3.0.6",
|
|
"@tsconfig/react-native": "^3.0.0",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^16.18.68",
|
|
"@types/react": "^19.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
|
"@typescript-eslint/parser": "^6.16.0",
|
|
"axios": "^1.7.7",
|
|
"cross-env": "^7.0.3",
|
|
"detox": "workspace:*",
|
|
"detox-allure2-adapter": "1.0.0-alpha.34",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-jest": "^28.11.0",
|
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
"execa": "^5.1.1",
|
|
"express": "^4.15.3",
|
|
"glob": "^7.2.0",
|
|
"jest": "^30.0.3",
|
|
"jest-junit": "^10.0.0",
|
|
"lodash": "^4.14.1",
|
|
"nyc": "^15.1.0",
|
|
"p-iteration": "^1.1.8",
|
|
"pngjs": "^3.4.0",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"jest-junit": {
|
|
"suiteName": "Detox E2E tests",
|
|
"outputName": "e2e-junit.xml",
|
|
"ancestorSeparator": " > ",
|
|
"classNameTemplate": "E2E Results.{classname}",
|
|
"titleTemplate": "{classname} > {title}"
|
|
},
|
|
"detox": {
|
|
"extends": "./e2e/detox.config"
|
|
}
|
|
}
|