76 lines
3.0 KiB
JSON
Executable File
76 lines
3.0 KiB
JSON
Executable File
{
|
|
"name": "rnfirebase-tests",
|
|
"version": "7.2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start-local-debug": "node node_modules/react-native/local-cli/cli.js start --platforms ios,android --skipflow",
|
|
"start": "REACT_DEBUGGER='echo nope' node node_modules/react-native/local-cli/cli.js start --platforms ios,android --skipflow",
|
|
"start-ci": "REACT_DEBUGGER='todo' node node_modules/react-native/local-cli/cli.js start --platforms ios,android --skipflow --nonPersistent",
|
|
"android:dev": "react-native run-android",
|
|
"android:prod": "react-native run-android --configuration=release",
|
|
"ios:dev": "react-native run-ios",
|
|
"ios:prod": "react-native run-ios --configuration=release",
|
|
"ios:pod:install": "cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && pod install && cd .."
|
|
},
|
|
"dependencies": {
|
|
"babel-preset-es2015-mod": "^6.6.0",
|
|
"babel-preset-es3": "^1.0.1",
|
|
"chalk": "^2.3.2",
|
|
"deeps": "^1.4.4",
|
|
"detox": "^7.2.0",
|
|
"mocha": "^4.0.1",
|
|
"react": "^16.2.0",
|
|
"react-native": "^0.52.3",
|
|
"react-native-restart": "0.0.6",
|
|
"should": "^13.2.1",
|
|
"should-sinon": "0.0.6",
|
|
"sinon": "^4.4.8",
|
|
"ws": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.24.0",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-jest": "19.0.0",
|
|
"babel-plugin-flow-react-proptypes": "^0.21.0",
|
|
"babel-plugin-istanbul": "^4.1.5",
|
|
"babel-preset-react-native": "1.9.1",
|
|
"eslint": "^3.16.1",
|
|
"eslint-config-airbnb": "^14.1.0",
|
|
"eslint-plugin-flowtype": "^2.46.1",
|
|
"eslint-plugin-import": "^2.9.0",
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
|
"eslint-plugin-react": "^6.10.0"
|
|
},
|
|
"detox": {
|
|
"test-runner": "mocha",
|
|
"specs": "e2e",
|
|
"runner-config": "e2e/mocha.opts",
|
|
"configurations": {
|
|
"ios.sim.release": {
|
|
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/example.app",
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 7 Plus"
|
|
},
|
|
"ios.sim.debug": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/example.app",
|
|
"build": "xcodebuild -project ios/example.xcodeproj -scheme example -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 7 Plus"
|
|
},
|
|
"android.emu.debug": {
|
|
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
|
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
|
|
"type": "android.emulator",
|
|
"name": "TestingAVD"
|
|
},
|
|
"android.emu.release": {
|
|
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
|
|
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
|
|
"type": "android.emulator",
|
|
"name": "TestingAVD"
|
|
}
|
|
}
|
|
}
|
|
}
|