@exodus/react-native-screenshot-detector 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNScreenshotDetector.podspec +23 -0
- package/package.json +1 -1
- package/Example/.babelrc +0 -3
- package/Example/.buckconfig +0 -6
- package/Example/.flowconfig +0 -46
- package/Example/.gitattributes +0 -1
- package/Example/.watchmanconfig +0 -1
- package/Example/__tests__/index.android.js +0 -12
- package/Example/__tests__/index.ios.js +0 -12
- package/Example/android/app/BUCK +0 -66
- package/Example/android/app/build.gradle +0 -140
- package/Example/android/app/proguard-rules.pro +0 -66
- package/Example/android/app/src/main/AndroidManifest.xml +0 -32
- package/Example/android/app/src/main/java/com/example/MainActivity.java +0 -15
- package/Example/android/app/src/main/java/com/example/MainApplication.java +0 -46
- package/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/Example/android/app/src/main/res/values/strings.xml +0 -3
- package/Example/android/app/src/main/res/values/styles.xml +0 -8
- package/Example/android/build.gradle +0 -24
- package/Example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Example/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/Example/android/gradle.properties +0 -20
- package/Example/android/gradlew +0 -164
- package/Example/android/gradlew.bat +0 -90
- package/Example/android/keystores/BUCK +0 -8
- package/Example/android/keystores/debug.keystore.properties +0 -4
- package/Example/android/settings.gradle +0 -3
- package/Example/app.json +0 -4
- package/Example/index.android.js +0 -53
- package/Example/index.ios.js +0 -61
- package/Example/ios/Example/AppDelegate.h +0 -16
- package/Example/ios/Example/AppDelegate.m +0 -47
- package/Example/ios/Example/Base.lproj/LaunchScreen.xib +0 -42
- package/Example/ios/Example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/Example/ios/Example/Info.plist +0 -57
- package/Example/ios/Example/main.m +0 -18
- package/Example/ios/Example-tvOS/Info.plist +0 -54
- package/Example/ios/Example-tvOSTests/Info.plist +0 -24
- package/Example/ios/Example.xcodeproj/project.pbxproj +0 -1328
- package/Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example-tvOS.xcscheme +0 -129
- package/Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +0 -129
- package/Example/ios/ExampleTests/ExampleTests.m +0 -70
- package/Example/ios/ExampleTests/Info.plist +0 -24
- package/Example/package.json +0 -23
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0820"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "NO"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "2D2A28121D9B038B00D4039D"
|
|
18
|
-
BuildableName = "libReact.a"
|
|
19
|
-
BlueprintName = "React-tvOS"
|
|
20
|
-
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
<BuildActionEntry
|
|
24
|
-
buildForTesting = "YES"
|
|
25
|
-
buildForRunning = "YES"
|
|
26
|
-
buildForProfiling = "YES"
|
|
27
|
-
buildForArchiving = "YES"
|
|
28
|
-
buildForAnalyzing = "YES">
|
|
29
|
-
<BuildableReference
|
|
30
|
-
BuildableIdentifier = "primary"
|
|
31
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
32
|
-
BuildableName = "Example-tvOS.app"
|
|
33
|
-
BlueprintName = "Example-tvOS"
|
|
34
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
35
|
-
</BuildableReference>
|
|
36
|
-
</BuildActionEntry>
|
|
37
|
-
<BuildActionEntry
|
|
38
|
-
buildForTesting = "YES"
|
|
39
|
-
buildForRunning = "YES"
|
|
40
|
-
buildForProfiling = "NO"
|
|
41
|
-
buildForArchiving = "NO"
|
|
42
|
-
buildForAnalyzing = "YES">
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
46
|
-
BuildableName = "Example-tvOSTests.xctest"
|
|
47
|
-
BlueprintName = "Example-tvOSTests"
|
|
48
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</BuildActionEntry>
|
|
51
|
-
</BuildActionEntries>
|
|
52
|
-
</BuildAction>
|
|
53
|
-
<TestAction
|
|
54
|
-
buildConfiguration = "Debug"
|
|
55
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
-
<Testables>
|
|
59
|
-
<TestableReference
|
|
60
|
-
skipped = "NO">
|
|
61
|
-
<BuildableReference
|
|
62
|
-
BuildableIdentifier = "primary"
|
|
63
|
-
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
64
|
-
BuildableName = "Example-tvOSTests.xctest"
|
|
65
|
-
BlueprintName = "Example-tvOSTests"
|
|
66
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
67
|
-
</BuildableReference>
|
|
68
|
-
</TestableReference>
|
|
69
|
-
</Testables>
|
|
70
|
-
<MacroExpansion>
|
|
71
|
-
<BuildableReference
|
|
72
|
-
BuildableIdentifier = "primary"
|
|
73
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
74
|
-
BuildableName = "Example-tvOS.app"
|
|
75
|
-
BlueprintName = "Example-tvOS"
|
|
76
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
77
|
-
</BuildableReference>
|
|
78
|
-
</MacroExpansion>
|
|
79
|
-
<AdditionalOptions>
|
|
80
|
-
</AdditionalOptions>
|
|
81
|
-
</TestAction>
|
|
82
|
-
<LaunchAction
|
|
83
|
-
buildConfiguration = "Debug"
|
|
84
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
-
launchStyle = "0"
|
|
87
|
-
useCustomWorkingDirectory = "NO"
|
|
88
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
-
debugDocumentVersioning = "YES"
|
|
90
|
-
debugServiceExtension = "internal"
|
|
91
|
-
allowLocationSimulation = "YES">
|
|
92
|
-
<BuildableProductRunnable
|
|
93
|
-
runnableDebuggingMode = "0">
|
|
94
|
-
<BuildableReference
|
|
95
|
-
BuildableIdentifier = "primary"
|
|
96
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
97
|
-
BuildableName = "Example-tvOS.app"
|
|
98
|
-
BlueprintName = "Example-tvOS"
|
|
99
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
100
|
-
</BuildableReference>
|
|
101
|
-
</BuildableProductRunnable>
|
|
102
|
-
<AdditionalOptions>
|
|
103
|
-
</AdditionalOptions>
|
|
104
|
-
</LaunchAction>
|
|
105
|
-
<ProfileAction
|
|
106
|
-
buildConfiguration = "Release"
|
|
107
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
-
savedToolIdentifier = ""
|
|
109
|
-
useCustomWorkingDirectory = "NO"
|
|
110
|
-
debugDocumentVersioning = "YES">
|
|
111
|
-
<BuildableProductRunnable
|
|
112
|
-
runnableDebuggingMode = "0">
|
|
113
|
-
<BuildableReference
|
|
114
|
-
BuildableIdentifier = "primary"
|
|
115
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
116
|
-
BuildableName = "Example-tvOS.app"
|
|
117
|
-
BlueprintName = "Example-tvOS"
|
|
118
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
119
|
-
</BuildableReference>
|
|
120
|
-
</BuildableProductRunnable>
|
|
121
|
-
</ProfileAction>
|
|
122
|
-
<AnalyzeAction
|
|
123
|
-
buildConfiguration = "Debug">
|
|
124
|
-
</AnalyzeAction>
|
|
125
|
-
<ArchiveAction
|
|
126
|
-
buildConfiguration = "Release"
|
|
127
|
-
revealArchiveInOrganizer = "YES">
|
|
128
|
-
</ArchiveAction>
|
|
129
|
-
</Scheme>
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0620"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "NO"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
|
18
|
-
BuildableName = "libReact.a"
|
|
19
|
-
BlueprintName = "React"
|
|
20
|
-
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
<BuildActionEntry
|
|
24
|
-
buildForTesting = "YES"
|
|
25
|
-
buildForRunning = "YES"
|
|
26
|
-
buildForProfiling = "YES"
|
|
27
|
-
buildForArchiving = "YES"
|
|
28
|
-
buildForAnalyzing = "YES">
|
|
29
|
-
<BuildableReference
|
|
30
|
-
BuildableIdentifier = "primary"
|
|
31
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
32
|
-
BuildableName = "Example.app"
|
|
33
|
-
BlueprintName = "Example"
|
|
34
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
35
|
-
</BuildableReference>
|
|
36
|
-
</BuildActionEntry>
|
|
37
|
-
<BuildActionEntry
|
|
38
|
-
buildForTesting = "YES"
|
|
39
|
-
buildForRunning = "YES"
|
|
40
|
-
buildForProfiling = "NO"
|
|
41
|
-
buildForArchiving = "NO"
|
|
42
|
-
buildForAnalyzing = "YES">
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
46
|
-
BuildableName = "ExampleTests.xctest"
|
|
47
|
-
BlueprintName = "ExampleTests"
|
|
48
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</BuildActionEntry>
|
|
51
|
-
</BuildActionEntries>
|
|
52
|
-
</BuildAction>
|
|
53
|
-
<TestAction
|
|
54
|
-
buildConfiguration = "Debug"
|
|
55
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
-
<Testables>
|
|
59
|
-
<TestableReference
|
|
60
|
-
skipped = "NO">
|
|
61
|
-
<BuildableReference
|
|
62
|
-
BuildableIdentifier = "primary"
|
|
63
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
64
|
-
BuildableName = "ExampleTests.xctest"
|
|
65
|
-
BlueprintName = "ExampleTests"
|
|
66
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
67
|
-
</BuildableReference>
|
|
68
|
-
</TestableReference>
|
|
69
|
-
</Testables>
|
|
70
|
-
<MacroExpansion>
|
|
71
|
-
<BuildableReference
|
|
72
|
-
BuildableIdentifier = "primary"
|
|
73
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
74
|
-
BuildableName = "Example.app"
|
|
75
|
-
BlueprintName = "Example"
|
|
76
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
77
|
-
</BuildableReference>
|
|
78
|
-
</MacroExpansion>
|
|
79
|
-
<AdditionalOptions>
|
|
80
|
-
</AdditionalOptions>
|
|
81
|
-
</TestAction>
|
|
82
|
-
<LaunchAction
|
|
83
|
-
buildConfiguration = "Debug"
|
|
84
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
-
launchStyle = "0"
|
|
87
|
-
useCustomWorkingDirectory = "NO"
|
|
88
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
-
debugDocumentVersioning = "YES"
|
|
90
|
-
debugServiceExtension = "internal"
|
|
91
|
-
allowLocationSimulation = "YES">
|
|
92
|
-
<BuildableProductRunnable
|
|
93
|
-
runnableDebuggingMode = "0">
|
|
94
|
-
<BuildableReference
|
|
95
|
-
BuildableIdentifier = "primary"
|
|
96
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
97
|
-
BuildableName = "Example.app"
|
|
98
|
-
BlueprintName = "Example"
|
|
99
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
100
|
-
</BuildableReference>
|
|
101
|
-
</BuildableProductRunnable>
|
|
102
|
-
<AdditionalOptions>
|
|
103
|
-
</AdditionalOptions>
|
|
104
|
-
</LaunchAction>
|
|
105
|
-
<ProfileAction
|
|
106
|
-
buildConfiguration = "Release"
|
|
107
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
-
savedToolIdentifier = ""
|
|
109
|
-
useCustomWorkingDirectory = "NO"
|
|
110
|
-
debugDocumentVersioning = "YES">
|
|
111
|
-
<BuildableProductRunnable
|
|
112
|
-
runnableDebuggingMode = "0">
|
|
113
|
-
<BuildableReference
|
|
114
|
-
BuildableIdentifier = "primary"
|
|
115
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
116
|
-
BuildableName = "Example.app"
|
|
117
|
-
BlueprintName = "Example"
|
|
118
|
-
ReferencedContainer = "container:Example.xcodeproj">
|
|
119
|
-
</BuildableReference>
|
|
120
|
-
</BuildableProductRunnable>
|
|
121
|
-
</ProfileAction>
|
|
122
|
-
<AnalyzeAction
|
|
123
|
-
buildConfiguration = "Debug">
|
|
124
|
-
</AnalyzeAction>
|
|
125
|
-
<ArchiveAction
|
|
126
|
-
buildConfiguration = "Release"
|
|
127
|
-
revealArchiveInOrganizer = "YES">
|
|
128
|
-
</ArchiveAction>
|
|
129
|
-
</Scheme>
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the BSD-style license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
#import <UIKit/UIKit.h>
|
|
11
|
-
#import <XCTest/XCTest.h>
|
|
12
|
-
|
|
13
|
-
#import <React/RCTLog.h>
|
|
14
|
-
#import <React/RCTRootView.h>
|
|
15
|
-
|
|
16
|
-
#define TIMEOUT_SECONDS 600
|
|
17
|
-
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
|
|
18
|
-
|
|
19
|
-
@interface ExampleTests : XCTestCase
|
|
20
|
-
|
|
21
|
-
@end
|
|
22
|
-
|
|
23
|
-
@implementation ExampleTests
|
|
24
|
-
|
|
25
|
-
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
26
|
-
{
|
|
27
|
-
if (test(view)) {
|
|
28
|
-
return YES;
|
|
29
|
-
}
|
|
30
|
-
for (UIView *subview in [view subviews]) {
|
|
31
|
-
if ([self findSubviewInView:subview matching:test]) {
|
|
32
|
-
return YES;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return NO;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
- (void)testRendersWelcomeScreen
|
|
39
|
-
{
|
|
40
|
-
UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController];
|
|
41
|
-
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
42
|
-
BOOL foundElement = NO;
|
|
43
|
-
|
|
44
|
-
__block NSString *redboxError = nil;
|
|
45
|
-
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
46
|
-
if (level >= RCTLogLevelError) {
|
|
47
|
-
redboxError = message;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
52
|
-
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
53
|
-
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
54
|
-
|
|
55
|
-
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
|
56
|
-
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
57
|
-
return YES;
|
|
58
|
-
}
|
|
59
|
-
return NO;
|
|
60
|
-
}];
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
64
|
-
|
|
65
|
-
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
66
|
-
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
@end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
-
<string>en</string>
|
|
7
|
-
<key>CFBundleExecutable</key>
|
|
8
|
-
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
-
<key>CFBundleIdentifier</key>
|
|
10
|
-
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
|
|
11
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
-
<string>6.0</string>
|
|
13
|
-
<key>CFBundleName</key>
|
|
14
|
-
<string>$(PRODUCT_NAME)</string>
|
|
15
|
-
<key>CFBundlePackageType</key>
|
|
16
|
-
<string>BNDL</string>
|
|
17
|
-
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>1.0</string>
|
|
19
|
-
<key>CFBundleSignature</key>
|
|
20
|
-
<string>????</string>
|
|
21
|
-
<key>CFBundleVersion</key>
|
|
22
|
-
<string>1</string>
|
|
23
|
-
</dict>
|
|
24
|
-
</plist>
|
package/Example/package.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Example",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
7
|
-
"test": "jest"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"react": "15.4.2",
|
|
11
|
-
"react-native": "0.42.3",
|
|
12
|
-
"react-native-screenshot-detector": "git+ssh://github.com/blendlabs/react-native-screenshot-detector"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"babel-jest": "19.0.0",
|
|
16
|
-
"babel-preset-react-native": "1.9.1",
|
|
17
|
-
"jest": "19.0.2",
|
|
18
|
-
"react-test-renderer": "15.4.2"
|
|
19
|
-
},
|
|
20
|
-
"jest": {
|
|
21
|
-
"preset": "react-native"
|
|
22
|
-
}
|
|
23
|
-
}
|