|
{
|
|
"name": "Rn069",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"pods": "(cd ios && bundle exec pod install)",
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"lint": "eslint .",
|
|
"set-time-format": "adb shell settings put system time_12_24",
|
|
"build:ios": "yarn detox build --configuration ios.debug",
|
|
"build:android:debug": "yarn detox build --configuration android.debug",
|
|
"build:android:ci": "yarn detox build --configuration android.ci",
|
|
"test:android-24h-mode": "yarn set-time-format 24 && yarn detox test --configuration android.debug e2e/tests/24h-mode/*.spec.js",
|
|
"test:android-24h-mode:ci": "yarn set-time-format 24 && yarn detox test --configuration android.ci e2e/tests/24h-mode/*.spec.js --record-logs failing --record-videos failing --take-screenshots failing",
|
|
"test:android-12h-mode": "yarn set-time-format 12 && yarn detox test --configuration android.debug e2e/tests/*.spec.js",
|
|
"test:android-12h-mode:ci": "yarn set-time-format 12 && yarn detox test --configuration android.ci e2e/tests/*.spec.js --record-logs failing --record-videos failing --take-screenshots failing",
|
|
"test:android": "yarn test:android-12h-mode && yarn test:android-24h-mode",
|
|
"test:android:ci": "yarn test:android-12h-mode:ci && yarn test:android-24h-mode:ci"
|
|
},
|
|
"dependencies": {
|
|
"detox": "^19.7.1",
|
|
"react": "18.0.0",
|
|
"react-native": "0.69.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
"babel-jest": "^28.1.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-detox": "^1.0.0",
|
|
"jest": "^28.1.2",
|
|
"metro-react-native-babel-preset": "^0.70.3",
|
|
"react-test-renderer": "18.0.0",
|
|
"babel-plugin-module-resolver": "^4.1.0"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native"
|
|
}
|
|
}
|