1{ 2 "name": "test", 3 "version": "1.0.0", 4 "private": true, 5 "scripts": { 6 "start": "react-native start", 7 "stop": "react-native-kill-packager", 8 "clean": "(cd ../binding && yarn unlink); rm -rf ./android/build", 9 "build": "yarn && detox build", 10 "test": "yarn run build && detox test -u", 11 "build-dev": "(cd ../binding && yarn link) && yarn && yarn link ejdb2_react_native && detox build", 12 "test-dev": "yarn run build-dev && detox test" 13 }, 14 "dependencies": { 15 "chai": "^4.2.0", 16 "react": "^16.11.0", 17 "react-native": "^0.61.3" 18 }, 19 "devDependencies": { 20 "@babel/core": "^7.6.4", 21 "@babel/runtime": "^7.6.3", 22 "babel-jest": "^24.9.0", 23 "detox": "^14.5.1", 24 "metro-react-native-babel-preset": "^0.56.3", 25 "mocha": "^6.2.2", 26 "react-native-kill-packager": "^1.0.0", 27 "react-test-renderer": "^16.11.0" 28 }, 29 "jest": { 30 "preset": "react-native" 31 }, 32 "detox": { 33 "test-runner": "mocha", 34 "configurations": { 35 "android.emu.debug": { 36 "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", 37 "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..", 38 "type": "android.emulator", 39 "name": "TestingAVD" 40 } 41 } 42 } 43} 44