├── .watchmanconfig ├── index.ios.js ├── .gitattributes ├── index.android.js ├── app.json ├── android ├── settings.gradle ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── java │ │ │ └── com │ │ │ │ └── footballapp │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── .babelrc ├── src ├── stores │ ├── index.js │ └── leagues.js ├── typedefs.js ├── components │ ├── Container.js │ ├── Separator.js │ ├── TeamTile.js │ ├── __tests__ │ │ ├── Container.test.js │ │ ├── Separator.test.js │ │ ├── TeamTile.test.js │ │ ├── __snapshots__ │ │ │ ├── Separator.test.js.snap │ │ │ ├── Container.test.js.snap │ │ │ ├── TeamTile.test.js.snap │ │ │ └── LeagueTile.test.js.snap │ │ └── LeagueTile.test.js │ └── LeagueTile.js ├── routes.js ├── index.js └── containers │ ├── League.js │ └── Home.js ├── .buckconfig ├── README.md ├── flow-typed └── npm │ ├── flow-bin_v0.x.x.js │ ├── babel-jest_vx.x.x.js │ ├── babel-plugin-transform-decorators-legacy_vx.x.x.js │ ├── mobx-react_vx.x.x.js │ ├── eslint-config-prettier_vx.x.x.js │ ├── eslint-config-airbnb_vx.x.x.js │ ├── babel-preset-react-native_vx.x.x.js │ ├── prettier_vx.x.x.js │ ├── styled-components_v1.4.x.js │ ├── eslint-plugin-import_vx.x.x.js │ ├── jest_v20.x.x.js │ ├── haul-cli_vx.x.x.js │ ├── eslint-plugin-react_vx.x.x.js │ └── react-test-renderer_vx.x.x.js ├── webpack.haul.js ├── ios ├── FootballApp │ ├── AppDelegate.h │ ├── main.m │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── FootballAppTests │ ├── Info.plist │ └── FootballAppTests.m ├── FootballApp-tvOSTests │ └── Info.plist ├── FootballApp-tvOS │ └── Info.plist └── FootballApp.xcodeproj │ └── xcshareddata │ └── xcschemes │ ├── FootballApp.xcscheme │ └── FootballApp-tvOS.xcscheme ├── .gitignore ├── .flowconfig ├── api.json └── package.json /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import './src'; 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import './src'; 2 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FootballApp", 3 | "displayName": "FootballApp" 4 | } -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'FootballApp' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"], 3 | "plugins": ["transform-decorators-legacy"] 4 | } 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | FootballApp 3 | 4 | -------------------------------------------------------------------------------- /src/stores/index.js: -------------------------------------------------------------------------------- 1 | import LeaguesStore from './leagues'; 2 | 3 | export default { 4 | leaguesStore: new LeaguesStore(), 5 | }; 6 | -------------------------------------------------------------------------------- /src/typedefs.js: -------------------------------------------------------------------------------- 1 | declare type League = {| 2 | country: string, 3 | color: string, 4 | name: string, 5 | teams: string[], 6 | |}; 7 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Example Footabll App 2 | 3 | Example app for this article: https://blog.callstack.io/develop-react-native-apps-like-a-pro-aff7833879f0 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michalchudziak/example-footabll-app/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michalchudziak/example-footabll-app/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michalchudziak/example-footabll-app/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michalchudziak/example-footabll-app/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michalchudziak/example-footabll-app/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /src/components/Container.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import styled from 'styled-components/native'; 3 | 4 | const Container = styled.View` 5 | flex: 1; 6 | align-items: center; 7 | `; 8 | 9 | export default Container; 10 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583 2 | // flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x 3 | 4 | declare module "flow-bin" { 5 | declare module.exports: string; 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /src/components/Separator.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { StyleSheet, Dimensions } from 'react-native'; 3 | import styled from 'styled-components/native'; 4 | 5 | const Separator = styled.View` 6 | backgroundColor: #000000; 7 | width: ${Dimensions.get('window').width} 8 | height: ${StyleSheet.hairlineWidth}; 9 | `; 10 | 11 | export default Separator; 12 | -------------------------------------------------------------------------------- /src/components/TeamTile.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { Dimensions } from 'react-native'; 3 | import styled from 'styled-components/native'; 4 | 5 | const TeamTile = styled.Text` 6 | padding-vertical: 20; 7 | padding-left: 10; 8 | width: ${Dimensions.get('window').width}; 9 | background-color: #E6E6FA; 10 | font-size: 16; 11 | `; 12 | 13 | export default TeamTile; 14 | -------------------------------------------------------------------------------- /src/components/__tests__/Container.test.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import renderer from 'react-test-renderer'; 4 | import Container from '../Container'; 5 | 6 | describe('', () => { 7 | it('should render correctly', () => { 8 | const tree = renderer.create().toJSON(); 9 | expect(tree).toMatchSnapshot(); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /src/components/__tests__/Separator.test.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import renderer from 'react-test-renderer'; 4 | import Separator from '../Separator'; 5 | 6 | describe('', () => { 7 | it('should render correctly', () => { 8 | const tree = renderer.create().toJSON(); 9 | expect(tree).toMatchSnapshot(); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /src/stores/leagues.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { observable } from 'mobx'; 3 | 4 | export type LeagueStore = LeaguesStore; 5 | 6 | export default class LeaguesStore { 7 | @observable leagues: ?(League[]) = null; 8 | 9 | fetchLeagues(): void { 10 | /* It's just dummy mock, you can replace it with an real API call. */ 11 | this.leagues = require('../../api.json'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/components/__tests__/TeamTile.test.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import renderer from 'react-test-renderer'; 4 | import TeamTile from '../TeamTile'; 5 | 6 | describe('', () => { 7 | it('should render correctly', () => { 8 | const tree = renderer.create({'Test'}).toJSON(); 9 | expect(tree).toMatchSnapshot(); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /src/components/__tests__/__snapshots__/Separator.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[` should render correctly 1`] = ` 4 | 16 | `; 17 | -------------------------------------------------------------------------------- /src/components/__tests__/__snapshots__/Container.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[` should render correctly 1`] = ` 4 | 17 | `; 18 | -------------------------------------------------------------------------------- /src/routes.js: -------------------------------------------------------------------------------- 1 | /* flow */ 2 | import { StackNavigator } from 'react-navigation'; 3 | 4 | import Home from 'containers/Home'; 5 | import League from 'containers/League'; 6 | 7 | const stackNavigatorConfig = { 8 | initialRouteName: 'Home', 9 | }; 10 | 11 | export default StackNavigator( 12 | { 13 | Home: { 14 | screen: Home, 15 | }, 16 | League: { 17 | screen: League, 18 | }, 19 | }, 20 | stackNavigatorConfig, 21 | ); 22 | -------------------------------------------------------------------------------- /src/components/__tests__/LeagueTile.test.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import renderer from 'react-test-renderer'; 4 | import LeagueTile from '../LeagueTile'; 5 | 6 | describe('', () => { 7 | it('should render correctly', () => { 8 | const tree = renderer 9 | .create( {}} />) 10 | .toJSON(); 11 | expect(tree).toMatchSnapshot(); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/footballapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.footballapp; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "FootballApp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /webpack.haul.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = ({ platform, root }, defaults) => ({ 4 | entry: `./index.${platform}.js`, 5 | resolve: { 6 | ...defaults.resolve, 7 | alias: { 8 | ...defaults.resolve.alias, 9 | components: path.join(root, 'src', 'components'), 10 | containers: path.join(root, 'src', 'containers'), 11 | stores: path.join(root, 'src', 'stores'), 12 | routes: path.join(root, 'src', 'routes.js'), 13 | } 14 | }, 15 | }); 16 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import { AppRegistry } from 'react-native'; 4 | import { Provider } from 'mobx-react'; 5 | 6 | import stores from 'stores'; 7 | import Routes from 'routes'; 8 | 9 | export default class FootballApp extends React.Component { 10 | render() { 11 | return ( 12 | 13 | 14 | 15 | ); 16 | } 17 | } 18 | 19 | AppRegistry.registerComponent('FootballApp', () => FootballApp); 20 | -------------------------------------------------------------------------------- /ios/FootballApp/AppDelegate.h: -------------------------------------------------------------------------------- 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 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/components/__tests__/__snapshots__/TeamTile.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[` should render correctly 1`] = ` 4 | 21 | Test 22 | 23 | `; 24 | -------------------------------------------------------------------------------- /ios/FootballApp/main.m: -------------------------------------------------------------------------------- 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 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ios/FootballApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/FootballAppTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/FootballApp-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-jest_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 69ac2e0db28b17fb216df1c641e0151a 2 | // flow-typed version: <>/babel-jest_v20.0.1/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-jest' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-jest' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-jest/build/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-jest/build/index.js' { 31 | declare module.exports: $Exports<'babel-jest/build/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /src/components/LeagueTile.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import { Dimensions, StyleSheet } from 'react-native'; 4 | import styled from 'styled-components/native'; 5 | 6 | type Props = { 7 | name: string, 8 | country: string, 9 | color?: string, 10 | onClick: () => void, 11 | }; 12 | 13 | const Container = styled.TouchableOpacity` 14 | flex: 1; 15 | width: ${Dimensions.get('window').width}; 16 | border-bottom-color: #000000; 17 | border-bottom-width: ${StyleSheet.hairlineWidth}; 18 | justify-content: center; 19 | align-items: center; 20 | background-color: ${props => props.color || 'transparent'} 21 | `; 22 | 23 | const Title = styled.Text` 24 | font-size: 18; 25 | `; 26 | 27 | const Subtitle = styled.Text` 28 | font-size: 12; 29 | `; 30 | 31 | export default function LeagueTile({ name, country, color, onClick }: Props) { 32 | return ( 33 | 34 | {name} 35 | {country} 36 | 37 | ); 38 | } 39 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | 55 | # Haul 56 | # 57 | haul-debug.log 58 | .happypack 59 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/footballapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.footballapp; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.shell.MainReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | 11 | import java.util.Arrays; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | return Arrays.asList( 25 | new MainReactPackage() 26 | ); 27 | } 28 | }; 29 | 30 | @Override 31 | public ReactNativeHost getReactNativeHost() { 32 | return mReactNativeHost; 33 | } 34 | 35 | @Override 36 | public void onCreate() { 37 | super.onCreate(); 38 | SoLoader.init(this, /* native exopackage */ false); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-decorators-legacy_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2775952ce72e99b94c1ee8b7c49e3443 2 | // flow-typed version: <>/babel-plugin-transform-decorators-legacy_v^1.3.4/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-decorators-legacy' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-transform-decorators-legacy' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-transform-decorators-legacy/lib/index' { 26 | declare module.exports: any; 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-decorators-legacy/lib/index.js' { 31 | declare module.exports: $Exports<'babel-plugin-transform-decorators-legacy/lib/index'>; 32 | } 33 | -------------------------------------------------------------------------------- /src/containers/League.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import { FlatList } from 'react-native'; 4 | import { observer, inject } from 'mobx-react'; 5 | 6 | import Container from 'components/Container'; 7 | import TeamTile from 'components/TeamTile'; 8 | import Separator from 'components/Separator'; 9 | 10 | import type { LeagueStore } from 'stores/leagues'; 11 | 12 | type Props = { 13 | navigation: any, 14 | leaguesStore: LeagueStore, 15 | }; 16 | 17 | @inject('leaguesStore') 18 | @observer 19 | export default class League extends React.Component { 20 | static navigationOptions = ({ navigation }) => ({ 21 | title: navigation.state.params.name, 22 | }); 23 | 24 | render() { 25 | const { leagues } = this.props.leaguesStore; 26 | const teams: string[] = leagues 27 | ? leagues[this.props.navigation.state.params.index].teams 28 | : []; 29 | 30 | return ( 31 | 32 | {item}} 35 | keyExtractor={(item, index) => `${item}-${index}`} 36 | ItemSeparatorComponent={Separator} 37 | /> 38 | 39 | ); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/containers/Home.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import React from 'react'; 3 | import { ActivityIndicator } from 'react-native'; 4 | import { observer, inject } from 'mobx-react'; 5 | 6 | import Container from 'components/Container'; 7 | import LeagueTile from 'components/LeagueTile'; 8 | 9 | import type { LeagueStore } from 'stores/leagues'; 10 | 11 | type Props = { 12 | navigation: any, 13 | leaguesStore: LeagueStore, 14 | }; 15 | 16 | @inject('leaguesStore') 17 | @observer 18 | export default class Home extends React.Component { 19 | static navigationOptions = { 20 | title: 'Leagues', 21 | }; 22 | 23 | componentDidMount() { 24 | this.props.leaguesStore.fetchLeagues(); 25 | } 26 | 27 | render() { 28 | const { navigation, leaguesStore: { leagues } } = this.props; 29 | 30 | return ( 31 | 32 | {leagues 33 | ? leagues.map(({ name, country, color }, index) => ( 34 | { 40 | navigation.navigate('League', { name, index }); 41 | }} 42 | /> 43 | )) 44 | : } 45 | 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ios/FootballApp/AppDelegate.m: -------------------------------------------------------------------------------- 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 "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"FootballApp" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /flow-typed/npm/mobx-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1147392660958a72799786fd852d2353 2 | // flow-typed version: <>/mobx-react_v^4.1.8/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'mobx-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'mobx-react' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'mobx-react/custom' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'mobx-react/index.min' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'mobx-react/native' { 34 | declare module.exports: any; 35 | } 36 | 37 | // Filename aliases 38 | declare module 'mobx-react/custom.js' { 39 | declare module.exports: $Exports<'mobx-react/custom'>; 40 | } 41 | declare module 'mobx-react/index' { 42 | declare module.exports: $Exports<'mobx-react'>; 43 | } 44 | declare module 'mobx-react/index.js' { 45 | declare module.exports: $Exports<'mobx-react'>; 46 | } 47 | declare module 'mobx-react/index.min.js' { 48 | declare module.exports: $Exports<'mobx-react/index.min'>; 49 | } 50 | declare module 'mobx-react/native.js' { 51 | declare module.exports: $Exports<'mobx-react/native'>; 52 | } 53 | -------------------------------------------------------------------------------- /src/components/__tests__/__snapshots__/LeagueTile.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[` should render correctly 1`] = ` 4 | 35 | 48 | League 49 | 50 | 63 | Poland 64 | 65 | 66 | `; 67 | -------------------------------------------------------------------------------- /ios/FootballApp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.footballapp", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.footballapp", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /ios/FootballApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | FootballApp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: de9993450aa9dd2c72264325e48b57ee 2 | // flow-typed version: <>/eslint-config-prettier_v^2.1.0/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-config-prettier' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-config-prettier' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-config-prettier/bin/cli' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-config-prettier/bin/validators' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-config-prettier/flowtype' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-config-prettier/react' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'eslint-config-prettier/bin/cli.js' { 43 | declare module.exports: $Exports<'eslint-config-prettier/bin/cli'>; 44 | } 45 | declare module 'eslint-config-prettier/bin/validators.js' { 46 | declare module.exports: $Exports<'eslint-config-prettier/bin/validators'>; 47 | } 48 | declare module 'eslint-config-prettier/flowtype.js' { 49 | declare module.exports: $Exports<'eslint-config-prettier/flowtype'>; 50 | } 51 | declare module 'eslint-config-prettier/index' { 52 | declare module.exports: $Exports<'eslint-config-prettier'>; 53 | } 54 | declare module 'eslint-config-prettier/index.js' { 55 | declare module.exports: $Exports<'eslint-config-prettier'>; 56 | } 57 | declare module 'eslint-config-prettier/react.js' { 58 | declare module.exports: $Exports<'eslint-config-prettier/react'>; 59 | } 60 | -------------------------------------------------------------------------------- /ios/FootballAppTests/FootballAppTests.m: -------------------------------------------------------------------------------- 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 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface FootballAppTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation FootballAppTests 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 = [[[RCTSharedApplication() 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 71 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | ; Ignore files from 3rd party libs which produces errors 18 | .*/node_modules/react-navigation/.* 19 | .*/node_modules/haul-cli/src/server/index.js 20 | .*/node_modules/haul-cli/src/server/middleware/systraceMiddleware.js 21 | .*/node_modules/haul-cli/src/commands/start.js 22 | .*/node_modules/haul-cli/src/cliEntry.js 23 | .*/node_modules/styled-components/src/.* 24 | .*/node_modules/eslint-plugin-jsx-a11y/.* 25 | 26 | [include] 27 | 28 | [libs] 29 | node_modules/react-native/Libraries/react-native/react-native-interface.js 30 | node_modules/react-native/flow 31 | flow 32 | flow-typed 33 | src/typedefs.js 34 | 35 | [options] 36 | emoji=true 37 | 38 | module.system=haste 39 | 40 | module.name_mapper='^components/\(.*\)'->'/src/components/\1' 41 | module.name_mapper='^containers/\(.*\)'->'/src/containers/\1' 42 | module.name_mapper='^stores/\(.*\)'->'/src/stores/\1' 43 | module.name_mapper='^stores'->'/src/stores/index.js' 44 | module.name_mapper='^routes'->'/src/routes.js' 45 | 46 | experimental.strict_type_args=true 47 | 48 | munge_underscores=true 49 | 50 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 51 | 52 | suppress_type=$FlowIssue 53 | suppress_type=$FlowFixMe 54 | suppress_type=$FixMe 55 | 56 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 57 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 58 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 59 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 60 | 61 | unsafe.enable_getters_and_setters=true 62 | 63 | esproposal.decorators=ignore 64 | 65 | [version] 66 | ^0.42.0 67 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-airbnb_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 314b1a4196420ee71f87d16bc14379b3 2 | // flow-typed version: <>/eslint-config-airbnb_v^15.0.1/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-config-airbnb' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-config-airbnb' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-config-airbnb/base' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-config-airbnb/legacy' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-config-airbnb/rules/react-a11y' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-config-airbnb/rules/react' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-config-airbnb/test/test-base' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-config-airbnb/test/test-react-order' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'eslint-config-airbnb/base.js' { 51 | declare module.exports: $Exports<'eslint-config-airbnb/base'>; 52 | } 53 | declare module 'eslint-config-airbnb/index' { 54 | declare module.exports: $Exports<'eslint-config-airbnb'>; 55 | } 56 | declare module 'eslint-config-airbnb/index.js' { 57 | declare module.exports: $Exports<'eslint-config-airbnb'>; 58 | } 59 | declare module 'eslint-config-airbnb/legacy.js' { 60 | declare module.exports: $Exports<'eslint-config-airbnb/legacy'>; 61 | } 62 | declare module 'eslint-config-airbnb/rules/react-a11y.js' { 63 | declare module.exports: $Exports<'eslint-config-airbnb/rules/react-a11y'>; 64 | } 65 | declare module 'eslint-config-airbnb/rules/react.js' { 66 | declare module.exports: $Exports<'eslint-config-airbnb/rules/react'>; 67 | } 68 | declare module 'eslint-config-airbnb/test/test-base.js' { 69 | declare module.exports: $Exports<'eslint-config-airbnb/test/test-base'>; 70 | } 71 | declare module 'eslint-config-airbnb/test/test-react-order.js' { 72 | declare module.exports: $Exports<'eslint-config-airbnb/test/test-react-order'>; 73 | } 74 | -------------------------------------------------------------------------------- /api.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "country": "Italy", 4 | "color": "#47E83C", 5 | "name": "Serie A", 6 | "teams": [ 7 | "Juventus", 8 | "AS Roma", 9 | "Napoli", 10 | "Lazio", 11 | "Atalanta", 12 | "AC Milan", 13 | "Fiorentina", 14 | "Internazionale", 15 | "Torino", 16 | "Sampdoria", 17 | "Udinese", 18 | "Cagliari", 19 | "Chievo Verona", 20 | "Sassuolo", 21 | "Bologna", 22 | "Genoa", 23 | "Empoli", 24 | "Crotone", 25 | "Palermo", 26 | "US Pescara" 27 | ] 28 | }, 29 | { 30 | "country": "Germany", 31 | "color": "#F45F42", 32 | "name": "Bundesliga", 33 | "teams": [ 34 | "1. FC Köln", 35 | "1. FSV Mainz 05", 36 | "Bayer 04 Leverkusen", 37 | "Borussia Dortmund", 38 | "Borussia Mönchengladbach", 39 | "Eintracht Frankfurt", 40 | "FC Augsburg", 41 | "FC Bayern München", 42 | "FC Ingolstadt 04", 43 | "FC Schalke 04", 44 | "Hamburger SV", 45 | "Hertha Berlin", 46 | "RB Leipzig", 47 | "SV Darmstadt 98", 48 | "SV Werder Bremen", 49 | "SC Freiburg", 50 | "TSG 1899 Hoffenheim", 51 | "VfL Wolfsburg" 52 | ] 53 | }, 54 | { 55 | "country": "England", 56 | "color": "#C2F7FC", 57 | "name": "Premier League", 58 | "teams": [ 59 | "AFC Bournemouth", 60 | "Arsenal", 61 | "Burnley", 62 | "Chelsea", 63 | "Crystal Palace", 64 | "Everton", 65 | "Hull City", 66 | "Leicester City", 67 | "Liverpool", 68 | "Manchester City", 69 | "Manchester United", 70 | "Middlesbrough", 71 | "Southampton", 72 | "Stoke City", 73 | "Sunderland", 74 | "Swansea City", 75 | "Tottenham Hotspur", 76 | "Watford", 77 | "West Bromwich Albion", 78 | "West Ham United" 79 | ] 80 | }, 81 | { 82 | "country": "Spain", 83 | "color": "#E0A3CC", 84 | "name": "La Liga", 85 | "teams": [ 86 | "Alavés", 87 | "Athletic", 88 | "Atlético Madrid", 89 | "Barcelona", 90 | "Celta Vigo", 91 | "Deportivo La Coruña", 92 | "Eibar", 93 | "Espanyol", 94 | "Granada", 95 | "Las Palmas", 96 | "Leganés", 97 | "Málaga", 98 | "Osasuna", 99 | "Real Betis", 100 | "Real Madrid", 101 | "Real Sociedad", 102 | "Sevilla", 103 | "Sporting Gijón", 104 | "Valencia", 105 | "Villarreal" 106 | ] 107 | } 108 | ] 109 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-react-native_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 95a227a2cda6da8e96b9544b630a4c2e 2 | // flow-typed version: <>/babel-preset-react-native_v1.9.2/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-react-native' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-preset-react-native' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-preset-react-native/configs/hmr' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'babel-preset-react-native/configs/internal' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-preset-react-native/configs/main' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-preset-react-native/lib/resolvePlugins' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'babel-preset-react-native/plugins' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'babel-preset-react-native/transforms/transform-symbol-member' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'babel-preset-react-native/configs/hmr.js' { 51 | declare module.exports: $Exports<'babel-preset-react-native/configs/hmr'>; 52 | } 53 | declare module 'babel-preset-react-native/configs/internal.js' { 54 | declare module.exports: $Exports<'babel-preset-react-native/configs/internal'>; 55 | } 56 | declare module 'babel-preset-react-native/configs/main.js' { 57 | declare module.exports: $Exports<'babel-preset-react-native/configs/main'>; 58 | } 59 | declare module 'babel-preset-react-native/index' { 60 | declare module.exports: $Exports<'babel-preset-react-native'>; 61 | } 62 | declare module 'babel-preset-react-native/index.js' { 63 | declare module.exports: $Exports<'babel-preset-react-native'>; 64 | } 65 | declare module 'babel-preset-react-native/lib/resolvePlugins.js' { 66 | declare module.exports: $Exports<'babel-preset-react-native/lib/resolvePlugins'>; 67 | } 68 | declare module 'babel-preset-react-native/plugins.js' { 69 | declare module.exports: $Exports<'babel-preset-react-native/plugins'>; 70 | } 71 | declare module 'babel-preset-react-native/transforms/transform-symbol-member.js' { 72 | declare module.exports: $Exports<'babel-preset-react-native/transforms/transform-symbol-member'>; 73 | } 74 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FootballApp", 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 | "haul": "haul start", 9 | "flow": "flow", 10 | "lint": "eslint src", 11 | "prettier": "prettier --single-quote --trailing-comma all --write \"src/**/*.js\"" 12 | }, 13 | "dependencies": { 14 | "mobx": "^3.1.9", 15 | "mobx-react": "^4.1.8", 16 | "react": "16.0.0-alpha.6", 17 | "react-native": "0.43.0", 18 | "react-navigation": "^1.0.0-beta.10", 19 | "styled-components": "^1.4.6" 20 | }, 21 | "devDependencies": { 22 | "babel-jest": "20.0.1", 23 | "babel-plugin-transform-decorators-legacy": "^1.3.4", 24 | "babel-preset-react-native": "1.9.2", 25 | "eslint": "^3.19.0", 26 | "eslint-config-airbnb": "^15.0.1", 27 | "eslint-config-prettier": "^2.1.0", 28 | "eslint-plugin-import": "^2.2.0", 29 | "eslint-plugin-jsx-a11y": "^5.0.1", 30 | "eslint-plugin-react": "^7.0.1", 31 | "flow-bin": "^0.42.0", 32 | "haul-cli": "^0.5.0", 33 | "jest": "20.0.1", 34 | "prettier": "^1.3.1", 35 | "react-test-renderer": "16.0.0-alpha.6" 36 | }, 37 | "jest": { 38 | "preset": "react-native" 39 | }, 40 | "eslintConfig": { 41 | "parser": "babel-eslint", 42 | "extends": [ 43 | "airbnb", 44 | "prettier", 45 | "prettier/flowtype", 46 | "prettier/react" 47 | ], 48 | "env": { 49 | "node": true, 50 | "es6": true 51 | }, 52 | "parserOptions": { 53 | "sourceType": "module" 54 | }, 55 | "rules": { 56 | "strict": 0, 57 | "arrow-body-style": 0, 58 | "arrow-parens": 0, 59 | "class-methods-use-this": 0, 60 | "default-case": 0, 61 | "generator-star-spacing": 0, 62 | "global-require": 0, 63 | "guard-for-in": 0, 64 | "new-cap": 0, 65 | "no-alert": 0, 66 | "no-confusing-arrow": 0, 67 | "no-constant-condition": 0, 68 | "no-console": "error", 69 | "no-duplicate-imports": 0, 70 | "no-plusplus": 0, 71 | "no-restricted-syntax": 0, 72 | "no-underscore-dangle": 0, 73 | "no-use-before-define": 0, 74 | "no-undef": 0, 75 | "no-trailing-spaces": [ 76 | "error" 77 | ], 78 | "import/extensions": 0, 79 | "import/no-extraneous-dependencies": 0, 80 | "import/no-duplicates": 0, 81 | "import/no-unresolved": 0, 82 | "import/no-dynamic-require": 0, 83 | "import/prefer-default-export": 0, 84 | "react/jsx-no-bind": 0, 85 | "react/jsx-filename-extension": 0, 86 | "react/forbid-prop-types": 0, 87 | "react/prefer-stateless-function": 0, 88 | "react/require-default-props": 0, 89 | "react/sort-comp": 0, 90 | "react/no-unused-prop-types": 0, 91 | "react/prop-types": 0, 92 | "react/no-array-index-key": 0 93 | } 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /ios/FootballApp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0f5119036cb66fa05663802fe9cea401 2 | // flow-typed version: <>/prettier_v^1.3.1/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'prettier' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'prettier' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'prettier/bin/prettier' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'prettier/docs/prettier.min' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'prettier/docs/rollup.config' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'prettier/scripts/sync-flow-tests' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'prettier/src/ast-types' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'prettier/src/comments' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'prettier/src/deprecated' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'prettier/src/doc-builders' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'prettier/src/doc-debug' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'prettier/src/doc-printer' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'prettier/src/doc-utils' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'prettier/src/fast-path' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'prettier/src/options' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'prettier/src/parser' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'prettier/src/printer' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'prettier/src/typescript-ast-nodes' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'prettier/src/util' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'prettier/test' { 94 | declare module.exports: any; 95 | } 96 | 97 | // Filename aliases 98 | declare module 'prettier/bin/prettier.js' { 99 | declare module.exports: $Exports<'prettier/bin/prettier'>; 100 | } 101 | declare module 'prettier/docs/prettier.min.js' { 102 | declare module.exports: $Exports<'prettier/docs/prettier.min'>; 103 | } 104 | declare module 'prettier/docs/rollup.config.js' { 105 | declare module.exports: $Exports<'prettier/docs/rollup.config'>; 106 | } 107 | declare module 'prettier/index' { 108 | declare module.exports: $Exports<'prettier'>; 109 | } 110 | declare module 'prettier/index.js' { 111 | declare module.exports: $Exports<'prettier'>; 112 | } 113 | declare module 'prettier/scripts/sync-flow-tests.js' { 114 | declare module.exports: $Exports<'prettier/scripts/sync-flow-tests'>; 115 | } 116 | declare module 'prettier/src/ast-types.js' { 117 | declare module.exports: $Exports<'prettier/src/ast-types'>; 118 | } 119 | declare module 'prettier/src/comments.js' { 120 | declare module.exports: $Exports<'prettier/src/comments'>; 121 | } 122 | declare module 'prettier/src/deprecated.js' { 123 | declare module.exports: $Exports<'prettier/src/deprecated'>; 124 | } 125 | declare module 'prettier/src/doc-builders.js' { 126 | declare module.exports: $Exports<'prettier/src/doc-builders'>; 127 | } 128 | declare module 'prettier/src/doc-debug.js' { 129 | declare module.exports: $Exports<'prettier/src/doc-debug'>; 130 | } 131 | declare module 'prettier/src/doc-printer.js' { 132 | declare module.exports: $Exports<'prettier/src/doc-printer'>; 133 | } 134 | declare module 'prettier/src/doc-utils.js' { 135 | declare module.exports: $Exports<'prettier/src/doc-utils'>; 136 | } 137 | declare module 'prettier/src/fast-path.js' { 138 | declare module.exports: $Exports<'prettier/src/fast-path'>; 139 | } 140 | declare module 'prettier/src/options.js' { 141 | declare module.exports: $Exports<'prettier/src/options'>; 142 | } 143 | declare module 'prettier/src/parser.js' { 144 | declare module.exports: $Exports<'prettier/src/parser'>; 145 | } 146 | declare module 'prettier/src/printer.js' { 147 | declare module.exports: $Exports<'prettier/src/printer'>; 148 | } 149 | declare module 'prettier/src/typescript-ast-nodes.js' { 150 | declare module.exports: $Exports<'prettier/src/typescript-ast-nodes'>; 151 | } 152 | declare module 'prettier/src/util.js' { 153 | declare module.exports: $Exports<'prettier/src/util'>; 154 | } 155 | declare module 'prettier/test.js' { 156 | declare module.exports: $Exports<'prettier/test'>; 157 | } 158 | -------------------------------------------------------------------------------- /ios/FootballApp.xcodeproj/xcshareddata/xcschemes/FootballApp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/FootballApp.xcodeproj/xcshareddata/xcschemes/FootballApp-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /flow-typed/npm/styled-components_v1.4.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8e43d27dae79968dc11e73b131ec77da 2 | // flow-typed version: d36e170dab/styled-components_v1.4.x/flow_>=v0.25.x 3 | 4 | // @flow 5 | 6 | declare module 'styled-components' { 7 | declare type Interpolation = ((executionContext: Object) => string) | string | number; 8 | declare type NameGenerator = (hash: number) => string 9 | 10 | declare type StyledComponent = ( 11 | strings: Array, 12 | ...interpolations: Array 13 | ) => ReactClass<*>; 14 | 15 | 16 | declare type Theme = {[key: string]: mixed}; 17 | declare type ThemeProviderProps = { 18 | theme: ((outerTheme: Theme) => void) | Theme 19 | }; 20 | declare type Component = 21 | | React$Component<*, *, *> 22 | | (props: *) => React$Element<*>; 23 | 24 | declare class ThemeProvider extends React$Component { 25 | props: ThemeProviderProps; 26 | } 27 | 28 | declare module.exports: { 29 | injectGlobal: (strings: Array, ...interpolations: Array) => void, 30 | css: (strings: Array, ...interpolations: Array) => Array, 31 | keyframes: (strings: Array, ...interpolations: Array) => string, 32 | withTheme: (component: Component) => React$Component<*, ThemeProviderProps, *>, 33 | ThemeProvider: typeof ThemeProvider, 34 | (baseComponent: Component): StyledComponent, 35 | a: StyledComponent, 36 | abbr: StyledComponent, 37 | address: StyledComponent, 38 | area: StyledComponent, 39 | article: StyledComponent, 40 | aside: StyledComponent, 41 | audio: StyledComponent, 42 | b: StyledComponent, 43 | base: StyledComponent, 44 | bdi: StyledComponent, 45 | bdo: StyledComponent, 46 | big: StyledComponent, 47 | blockquote: StyledComponent, 48 | body: StyledComponent, 49 | br: StyledComponent, 50 | button: StyledComponent, 51 | canvas: StyledComponent, 52 | caption: StyledComponent, 53 | cite: StyledComponent, 54 | code: StyledComponent, 55 | col: StyledComponent, 56 | colgroup: StyledComponent, 57 | data: StyledComponent, 58 | datalist: StyledComponent, 59 | dd: StyledComponent, 60 | del: StyledComponent, 61 | details: StyledComponent, 62 | dfn: StyledComponent, 63 | dialog: StyledComponent, 64 | div: StyledComponent, 65 | dl: StyledComponent, 66 | dt: StyledComponent, 67 | em: StyledComponent, 68 | embed: StyledComponent, 69 | fieldset: StyledComponent, 70 | figcaption: StyledComponent, 71 | figure: StyledComponent, 72 | footer: StyledComponent, 73 | form: StyledComponent, 74 | h1: StyledComponent, 75 | h2: StyledComponent, 76 | h3: StyledComponent, 77 | h4: StyledComponent, 78 | h5: StyledComponent, 79 | h6: StyledComponent, 80 | head: StyledComponent, 81 | header: StyledComponent, 82 | hgroup: StyledComponent, 83 | hr: StyledComponent, 84 | html: StyledComponent, 85 | i: StyledComponent, 86 | iframe: StyledComponent, 87 | img: StyledComponent, 88 | input: StyledComponent, 89 | ins: StyledComponent, 90 | kbd: StyledComponent, 91 | keygen: StyledComponent, 92 | label: StyledComponent, 93 | legend: StyledComponent, 94 | li: StyledComponent, 95 | link: StyledComponent, 96 | main: StyledComponent, 97 | map: StyledComponent, 98 | mark: StyledComponent, 99 | menu: StyledComponent, 100 | menuitem: StyledComponent, 101 | meta: StyledComponent, 102 | meter: StyledComponent, 103 | nav: StyledComponent, 104 | noscript: StyledComponent, 105 | object: StyledComponent, 106 | ol: StyledComponent, 107 | optgroup: StyledComponent, 108 | option: StyledComponent, 109 | output: StyledComponent, 110 | p: StyledComponent, 111 | param: StyledComponent, 112 | picture: StyledComponent, 113 | pre: StyledComponent, 114 | progress: StyledComponent, 115 | q: StyledComponent, 116 | rp: StyledComponent, 117 | rt: StyledComponent, 118 | ruby: StyledComponent, 119 | s: StyledComponent, 120 | samp: StyledComponent, 121 | script: StyledComponent, 122 | section: StyledComponent, 123 | select: StyledComponent, 124 | small: StyledComponent, 125 | source: StyledComponent, 126 | span: StyledComponent, 127 | strong: StyledComponent, 128 | style: StyledComponent, 129 | sub: StyledComponent, 130 | summary: StyledComponent, 131 | sup: StyledComponent, 132 | table: StyledComponent, 133 | tbody: StyledComponent, 134 | td: StyledComponent, 135 | textarea: StyledComponent, 136 | tfoot: StyledComponent, 137 | th: StyledComponent, 138 | thead: StyledComponent, 139 | time: StyledComponent, 140 | title: StyledComponent, 141 | tr: StyledComponent, 142 | track: StyledComponent, 143 | u: StyledComponent, 144 | ul: StyledComponent, 145 | var: StyledComponent, 146 | video: StyledComponent, 147 | wbr: StyledComponent, 148 | 149 | // SVG 150 | circle: StyledComponent, 151 | clipPath: StyledComponent, 152 | defs: StyledComponent, 153 | ellipse: StyledComponent, 154 | g: StyledComponent, 155 | image: StyledComponent, 156 | line: StyledComponent, 157 | linearGradient: StyledComponent, 158 | mask: StyledComponent, 159 | path: StyledComponent, 160 | pattern: StyledComponent, 161 | polygon: StyledComponent, 162 | polyline: StyledComponent, 163 | radialGradient: StyledComponent, 164 | rect: StyledComponent, 165 | stop: StyledComponent, 166 | svg: StyledComponent, 167 | text: StyledComponent, 168 | tspan: StyledComponent, 169 | }; 170 | } 171 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"], 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | project.ext.react = [ 69 | cliPath: "node_modules/haul-cli/bin/cli.js" 70 | ] 71 | 72 | apply from: "../../node_modules/react-native/react.gradle" 73 | 74 | /** 75 | * Set this to true to create two separate APKs instead of one: 76 | * - An APK that only works on ARM devices 77 | * - An APK that only works on x86 devices 78 | * The advantage is the size of the APK is reduced by about 4MB. 79 | * Upload all the APKs to the Play Store and people will download 80 | * the correct one based on the CPU architecture of their device. 81 | */ 82 | def enableSeparateBuildPerCPUArchitecture = false 83 | 84 | /** 85 | * Run Proguard to shrink the Java bytecode in release builds. 86 | */ 87 | def enableProguardInReleaseBuilds = false 88 | 89 | android { 90 | compileSdkVersion 23 91 | buildToolsVersion "23.0.1" 92 | 93 | defaultConfig { 94 | applicationId "com.footballapp" 95 | minSdkVersion 16 96 | targetSdkVersion 22 97 | versionCode 1 98 | versionName "1.0" 99 | ndk { 100 | abiFilters "armeabi-v7a", "x86" 101 | } 102 | } 103 | splits { 104 | abi { 105 | reset() 106 | enable enableSeparateBuildPerCPUArchitecture 107 | universalApk false // If true, also generate a universal APK 108 | include "armeabi-v7a", "x86" 109 | } 110 | } 111 | buildTypes { 112 | release { 113 | minifyEnabled enableProguardInReleaseBuilds 114 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 115 | } 116 | } 117 | // applicationVariants are e.g. debug, release 118 | applicationVariants.all { variant -> 119 | variant.outputs.each { output -> 120 | // For each separate APK per architecture, set a unique version code as described here: 121 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 122 | def versionCodes = ["armeabi-v7a":1, "x86":2] 123 | def abi = output.getFilter(OutputFile.ABI) 124 | if (abi != null) { // null for the universal-debug, universal-release variants 125 | output.versionCodeOverride = 126 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 127 | } 128 | } 129 | } 130 | } 131 | 132 | dependencies { 133 | compile fileTree(dir: "libs", include: ["*.jar"]) 134 | compile "com.android.support:appcompat-v7:23.0.1" 135 | compile "com.facebook.react:react-native:+" // From node_modules 136 | } 137 | 138 | // Run this once to be able to run the application with BUCK 139 | // puts all compile dependencies into folder libs for BUCK to use 140 | task copyDownloadableDepsToLibs(type: Copy) { 141 | from configurations.compile 142 | into 'libs' 143 | } 144 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-import_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6aa72b267b236a84ef1428e7844f0925 2 | // flow-typed version: <>/eslint-plugin-import_v^2.2.0/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-import' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-plugin-import' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-plugin-import/config/electron' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-plugin-import/config/errors' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-plugin-import/config/react-native' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-plugin-import/config/react' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-plugin-import/config/recommended' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-plugin-import/config/stage-0' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'eslint-plugin-import/config/warnings' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'eslint-plugin-import/lib/core/importType' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'eslint-plugin-import/lib/core/staticRequire' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'eslint-plugin-import/lib/ExportMap' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'eslint-plugin-import/lib/importDeclaration' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'eslint-plugin-import/lib/index' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'eslint-plugin-import/lib/rules/default' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'eslint-plugin-import/lib/rules/export' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'eslint-plugin-import/lib/rules/extensions' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'eslint-plugin-import/lib/rules/first' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'eslint-plugin-import/lib/rules/imports-first' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'eslint-plugin-import/lib/rules/max-dependencies' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'eslint-plugin-import/lib/rules/named' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'eslint-plugin-import/lib/rules/namespace' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'eslint-plugin-import/lib/rules/newline-after-import' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'eslint-plugin-import/lib/rules/no-absolute-path' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'eslint-plugin-import/lib/rules/no-amd' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'eslint-plugin-import/lib/rules/no-commonjs' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'eslint-plugin-import/lib/rules/no-deprecated' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'eslint-plugin-import/lib/rules/no-duplicates' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'eslint-plugin-import/lib/rules/no-dynamic-require' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'eslint-plugin-import/lib/rules/no-internal-modules' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'eslint-plugin-import/lib/rules/no-mutable-exports' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'eslint-plugin-import/lib/rules/no-named-as-default' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'eslint-plugin-import/lib/rules/no-named-default' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'eslint-plugin-import/lib/rules/no-namespace' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'eslint-plugin-import/lib/rules/no-restricted-paths' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'eslint-plugin-import/lib/rules/no-unassigned-import' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'eslint-plugin-import/lib/rules/no-unresolved' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'eslint-plugin-import/lib/rules/order' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'eslint-plugin-import/lib/rules/prefer-default-export' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'eslint-plugin-import/lib/rules/unambiguous' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'eslint-plugin-import/memo-parser/index' { 194 | declare module.exports: any; 195 | } 196 | 197 | // Filename aliases 198 | declare module 'eslint-plugin-import/config/electron.js' { 199 | declare module.exports: $Exports<'eslint-plugin-import/config/electron'>; 200 | } 201 | declare module 'eslint-plugin-import/config/errors.js' { 202 | declare module.exports: $Exports<'eslint-plugin-import/config/errors'>; 203 | } 204 | declare module 'eslint-plugin-import/config/react-native.js' { 205 | declare module.exports: $Exports<'eslint-plugin-import/config/react-native'>; 206 | } 207 | declare module 'eslint-plugin-import/config/react.js' { 208 | declare module.exports: $Exports<'eslint-plugin-import/config/react'>; 209 | } 210 | declare module 'eslint-plugin-import/config/recommended.js' { 211 | declare module.exports: $Exports<'eslint-plugin-import/config/recommended'>; 212 | } 213 | declare module 'eslint-plugin-import/config/stage-0.js' { 214 | declare module.exports: $Exports<'eslint-plugin-import/config/stage-0'>; 215 | } 216 | declare module 'eslint-plugin-import/config/warnings.js' { 217 | declare module.exports: $Exports<'eslint-plugin-import/config/warnings'>; 218 | } 219 | declare module 'eslint-plugin-import/lib/core/importType.js' { 220 | declare module.exports: $Exports<'eslint-plugin-import/lib/core/importType'>; 221 | } 222 | declare module 'eslint-plugin-import/lib/core/staticRequire.js' { 223 | declare module.exports: $Exports<'eslint-plugin-import/lib/core/staticRequire'>; 224 | } 225 | declare module 'eslint-plugin-import/lib/ExportMap.js' { 226 | declare module.exports: $Exports<'eslint-plugin-import/lib/ExportMap'>; 227 | } 228 | declare module 'eslint-plugin-import/lib/importDeclaration.js' { 229 | declare module.exports: $Exports<'eslint-plugin-import/lib/importDeclaration'>; 230 | } 231 | declare module 'eslint-plugin-import/lib/index.js' { 232 | declare module.exports: $Exports<'eslint-plugin-import/lib/index'>; 233 | } 234 | declare module 'eslint-plugin-import/lib/rules/default.js' { 235 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/default'>; 236 | } 237 | declare module 'eslint-plugin-import/lib/rules/export.js' { 238 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/export'>; 239 | } 240 | declare module 'eslint-plugin-import/lib/rules/extensions.js' { 241 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/extensions'>; 242 | } 243 | declare module 'eslint-plugin-import/lib/rules/first.js' { 244 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/first'>; 245 | } 246 | declare module 'eslint-plugin-import/lib/rules/imports-first.js' { 247 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/imports-first'>; 248 | } 249 | declare module 'eslint-plugin-import/lib/rules/max-dependencies.js' { 250 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/max-dependencies'>; 251 | } 252 | declare module 'eslint-plugin-import/lib/rules/named.js' { 253 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/named'>; 254 | } 255 | declare module 'eslint-plugin-import/lib/rules/namespace.js' { 256 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/namespace'>; 257 | } 258 | declare module 'eslint-plugin-import/lib/rules/newline-after-import.js' { 259 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/newline-after-import'>; 260 | } 261 | declare module 'eslint-plugin-import/lib/rules/no-absolute-path.js' { 262 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-absolute-path'>; 263 | } 264 | declare module 'eslint-plugin-import/lib/rules/no-amd.js' { 265 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-amd'>; 266 | } 267 | declare module 'eslint-plugin-import/lib/rules/no-commonjs.js' { 268 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>; 269 | } 270 | declare module 'eslint-plugin-import/lib/rules/no-deprecated.js' { 271 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-deprecated'>; 272 | } 273 | declare module 'eslint-plugin-import/lib/rules/no-duplicates.js' { 274 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-duplicates'>; 275 | } 276 | declare module 'eslint-plugin-import/lib/rules/no-dynamic-require.js' { 277 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-dynamic-require'>; 278 | } 279 | declare module 'eslint-plugin-import/lib/rules/no-extraneous-dependencies.js' { 280 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-extraneous-dependencies'>; 281 | } 282 | declare module 'eslint-plugin-import/lib/rules/no-internal-modules.js' { 283 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-internal-modules'>; 284 | } 285 | declare module 'eslint-plugin-import/lib/rules/no-mutable-exports.js' { 286 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-mutable-exports'>; 287 | } 288 | declare module 'eslint-plugin-import/lib/rules/no-named-as-default-member.js' { 289 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default-member'>; 290 | } 291 | declare module 'eslint-plugin-import/lib/rules/no-named-as-default.js' { 292 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-as-default'>; 293 | } 294 | declare module 'eslint-plugin-import/lib/rules/no-named-default.js' { 295 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-named-default'>; 296 | } 297 | declare module 'eslint-plugin-import/lib/rules/no-namespace.js' { 298 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-namespace'>; 299 | } 300 | declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules.js' { 301 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-nodejs-modules'>; 302 | } 303 | declare module 'eslint-plugin-import/lib/rules/no-restricted-paths.js' { 304 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-restricted-paths'>; 305 | } 306 | declare module 'eslint-plugin-import/lib/rules/no-unassigned-import.js' { 307 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unassigned-import'>; 308 | } 309 | declare module 'eslint-plugin-import/lib/rules/no-unresolved.js' { 310 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unresolved'>; 311 | } 312 | declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js' { 313 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-webpack-loader-syntax'>; 314 | } 315 | declare module 'eslint-plugin-import/lib/rules/order.js' { 316 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/order'>; 317 | } 318 | declare module 'eslint-plugin-import/lib/rules/prefer-default-export.js' { 319 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/prefer-default-export'>; 320 | } 321 | declare module 'eslint-plugin-import/lib/rules/unambiguous.js' { 322 | declare module.exports: $Exports<'eslint-plugin-import/lib/rules/unambiguous'>; 323 | } 324 | declare module 'eslint-plugin-import/memo-parser/index.js' { 325 | declare module.exports: $Exports<'eslint-plugin-import/memo-parser/index'>; 326 | } 327 | -------------------------------------------------------------------------------- /flow-typed/npm/jest_v20.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2b0e172fa5655d6ae10387616943ccc3 2 | // flow-typed version: 4539f4f195/jest_v20.x.x/flow_>=v0.33.x 3 | 4 | type JestMockFn = { 5 | (...args: Array): any, 6 | /** 7 | * An object for introspecting mock calls 8 | */ 9 | mock: { 10 | /** 11 | * An array that represents all calls that have been made into this mock 12 | * function. Each call is represented by an array of arguments that were 13 | * passed during the call. 14 | */ 15 | calls: Array>, 16 | /** 17 | * An array that contains all the object instances that have been 18 | * instantiated from this mock function. 19 | */ 20 | instances: mixed 21 | }, 22 | /** 23 | * Resets all information stored in the mockFn.mock.calls and 24 | * mockFn.mock.instances arrays. Often this is useful when you want to clean 25 | * up a mock's usage data between two assertions. 26 | */ 27 | mockClear(): Function, 28 | /** 29 | * Resets all information stored in the mock. This is useful when you want to 30 | * completely restore a mock back to its initial state. 31 | */ 32 | mockReset(): Function, 33 | /** 34 | * Accepts a function that should be used as the implementation of the mock. 35 | * The mock itself will still record all calls that go into and instances 36 | * that come from itself -- the only difference is that the implementation 37 | * will also be executed when the mock is called. 38 | */ 39 | mockImplementation(fn: Function): JestMockFn, 40 | /** 41 | * Accepts a function that will be used as an implementation of the mock for 42 | * one call to the mocked function. Can be chained so that multiple function 43 | * calls produce different results. 44 | */ 45 | mockImplementationOnce(fn: Function): JestMockFn, 46 | /** 47 | * Just a simple sugar function for returning `this` 48 | */ 49 | mockReturnThis(): void, 50 | /** 51 | * Deprecated: use jest.fn(() => value) instead 52 | */ 53 | mockReturnValue(value: any): JestMockFn, 54 | /** 55 | * Sugar for only returning a value once inside your mock 56 | */ 57 | mockReturnValueOnce(value: any): JestMockFn 58 | }; 59 | 60 | type JestAsymmetricEqualityType = { 61 | /** 62 | * A custom Jasmine equality tester 63 | */ 64 | asymmetricMatch(value: mixed): boolean 65 | }; 66 | 67 | type JestCallsType = { 68 | allArgs(): mixed, 69 | all(): mixed, 70 | any(): boolean, 71 | count(): number, 72 | first(): mixed, 73 | mostRecent(): mixed, 74 | reset(): void 75 | }; 76 | 77 | type JestClockType = { 78 | install(): void, 79 | mockDate(date: Date): void, 80 | tick(): void, 81 | uninstall(): void 82 | }; 83 | 84 | type JestMatcherResult = { 85 | message?: string | (() => string), 86 | pass: boolean 87 | }; 88 | 89 | type JestMatcher = (actual: any, expected: any) => JestMatcherResult; 90 | 91 | type JestPromiseType = { 92 | /** 93 | * Use rejects to unwrap the reason of a rejected promise so any other 94 | * matcher can be chained. If the promise is fulfilled the assertion fails. 95 | */ 96 | rejects(): JestExpectType, 97 | /** 98 | * Use resolves to unwrap the value of a fulfilled promise so any other 99 | * matcher can be chained. If the promise is rejected the assertion fails. 100 | */ 101 | resolves(): JestExpectType 102 | }; 103 | 104 | type JestExpectType = { 105 | not: JestExpectType, 106 | /** 107 | * If you have a mock function, you can use .lastCalledWith to test what 108 | * arguments it was last called with. 109 | */ 110 | lastCalledWith(...args: Array): void, 111 | /** 112 | * toBe just checks that a value is what you expect. It uses === to check 113 | * strict equality. 114 | */ 115 | toBe(value: any): void, 116 | /** 117 | * Use .toHaveBeenCalled to ensure that a mock function got called. 118 | */ 119 | toBeCalled(): void, 120 | /** 121 | * Use .toBeCalledWith to ensure that a mock function was called with 122 | * specific arguments. 123 | */ 124 | toBeCalledWith(...args: Array): void, 125 | /** 126 | * Using exact equality with floating point numbers is a bad idea. Rounding 127 | * means that intuitive things fail. 128 | */ 129 | toBeCloseTo(num: number, delta: any): void, 130 | /** 131 | * Use .toBeDefined to check that a variable is not undefined. 132 | */ 133 | toBeDefined(): void, 134 | /** 135 | * Use .toBeFalsy when you don't care what a value is, you just want to 136 | * ensure a value is false in a boolean context. 137 | */ 138 | toBeFalsy(): void, 139 | /** 140 | * To compare floating point numbers, you can use toBeGreaterThan. 141 | */ 142 | toBeGreaterThan(number: number): void, 143 | /** 144 | * To compare floating point numbers, you can use toBeGreaterThanOrEqual. 145 | */ 146 | toBeGreaterThanOrEqual(number: number): void, 147 | /** 148 | * To compare floating point numbers, you can use toBeLessThan. 149 | */ 150 | toBeLessThan(number: number): void, 151 | /** 152 | * To compare floating point numbers, you can use toBeLessThanOrEqual. 153 | */ 154 | toBeLessThanOrEqual(number: number): void, 155 | /** 156 | * Use .toBeInstanceOf(Class) to check that an object is an instance of a 157 | * class. 158 | */ 159 | toBeInstanceOf(cls: Class<*>): void, 160 | /** 161 | * .toBeNull() is the same as .toBe(null) but the error messages are a bit 162 | * nicer. 163 | */ 164 | toBeNull(): void, 165 | /** 166 | * Use .toBeTruthy when you don't care what a value is, you just want to 167 | * ensure a value is true in a boolean context. 168 | */ 169 | toBeTruthy(): void, 170 | /** 171 | * Use .toBeUndefined to check that a variable is undefined. 172 | */ 173 | toBeUndefined(): void, 174 | /** 175 | * Use .toContain when you want to check that an item is in a list. For 176 | * testing the items in the list, this uses ===, a strict equality check. 177 | */ 178 | toContain(item: any): void, 179 | /** 180 | * Use .toContainEqual when you want to check that an item is in a list. For 181 | * testing the items in the list, this matcher recursively checks the 182 | * equality of all fields, rather than checking for object identity. 183 | */ 184 | toContainEqual(item: any): void, 185 | /** 186 | * Use .toEqual when you want to check that two objects have the same value. 187 | * This matcher recursively checks the equality of all fields, rather than 188 | * checking for object identity. 189 | */ 190 | toEqual(value: any): void, 191 | /** 192 | * Use .toHaveBeenCalled to ensure that a mock function got called. 193 | */ 194 | toHaveBeenCalled(): void, 195 | /** 196 | * Use .toHaveBeenCalledTimes to ensure that a mock function got called exact 197 | * number of times. 198 | */ 199 | toHaveBeenCalledTimes(number: number): void, 200 | /** 201 | * Use .toHaveBeenCalledWith to ensure that a mock function was called with 202 | * specific arguments. 203 | */ 204 | toHaveBeenCalledWith(...args: Array): void, 205 | /** 206 | * Check that an object has a .length property and it is set to a certain 207 | * numeric value. 208 | */ 209 | toHaveLength(number: number): void, 210 | /** 211 | * 212 | */ 213 | toHaveProperty(propPath: string, value?: any): void, 214 | /** 215 | * Use .toMatch to check that a string matches a regular expression. 216 | */ 217 | toMatch(regexp: RegExp): void, 218 | /** 219 | * Use .toMatchObject to check that a javascript object matches a subset of the properties of an object. 220 | */ 221 | toMatchObject(object: Object): void, 222 | /** 223 | * This ensures that a React component matches the most recent snapshot. 224 | */ 225 | toMatchSnapshot(name?: string): void, 226 | /** 227 | * Use .toThrow to test that a function throws when it is called. 228 | */ 229 | toThrow(message?: string | Error): void, 230 | /** 231 | * Use .toThrowError to test that a function throws a specific error when it 232 | * is called. The argument can be a string for the error message, a class for 233 | * the error, or a regex that should match the error. 234 | */ 235 | toThrowError(message?: string | Error | RegExp): void, 236 | /** 237 | * Use .toThrowErrorMatchingSnapshot to test that a function throws a error 238 | * matching the most recent snapshot when it is called. 239 | */ 240 | toThrowErrorMatchingSnapshot(): void 241 | }; 242 | 243 | type JestObjectType = { 244 | /** 245 | * Disables automatic mocking in the module loader. 246 | * 247 | * After this method is called, all `require()`s will return the real 248 | * versions of each module (rather than a mocked version). 249 | */ 250 | disableAutomock(): JestObjectType, 251 | /** 252 | * An un-hoisted version of disableAutomock 253 | */ 254 | autoMockOff(): JestObjectType, 255 | /** 256 | * Enables automatic mocking in the module loader. 257 | */ 258 | enableAutomock(): JestObjectType, 259 | /** 260 | * An un-hoisted version of enableAutomock 261 | */ 262 | autoMockOn(): JestObjectType, 263 | /** 264 | * Clears the mock.calls and mock.instances properties of all mocks. 265 | * Equivalent to calling .mockClear() on every mocked function. 266 | */ 267 | clearAllMocks(): JestObjectType, 268 | /** 269 | * Resets the state of all mocks. Equivalent to calling .mockReset() on every 270 | * mocked function. 271 | */ 272 | resetAllMocks(): JestObjectType, 273 | /** 274 | * Removes any pending timers from the timer system. 275 | */ 276 | clearAllTimers(): void, 277 | /** 278 | * The same as `mock` but not moved to the top of the expectation by 279 | * babel-jest. 280 | */ 281 | doMock(moduleName: string, moduleFactory?: any): JestObjectType, 282 | /** 283 | * The same as `unmock` but not moved to the top of the expectation by 284 | * babel-jest. 285 | */ 286 | dontMock(moduleName: string): JestObjectType, 287 | /** 288 | * Returns a new, unused mock function. Optionally takes a mock 289 | * implementation. 290 | */ 291 | fn(implementation?: Function): JestMockFn, 292 | /** 293 | * Determines if the given function is a mocked function. 294 | */ 295 | isMockFunction(fn: Function): boolean, 296 | /** 297 | * Given the name of a module, use the automatic mocking system to generate a 298 | * mocked version of the module for you. 299 | */ 300 | genMockFromModule(moduleName: string): any, 301 | /** 302 | * Mocks a module with an auto-mocked version when it is being required. 303 | * 304 | * The second argument can be used to specify an explicit module factory that 305 | * is being run instead of using Jest's automocking feature. 306 | * 307 | * The third argument can be used to create virtual mocks -- mocks of modules 308 | * that don't exist anywhere in the system. 309 | */ 310 | mock(moduleName: string, moduleFactory?: any): JestObjectType, 311 | /** 312 | * Resets the module registry - the cache of all required modules. This is 313 | * useful to isolate modules where local state might conflict between tests. 314 | */ 315 | resetModules(): JestObjectType, 316 | /** 317 | * Exhausts the micro-task queue (usually interfaced in node via 318 | * process.nextTick). 319 | */ 320 | runAllTicks(): void, 321 | /** 322 | * Exhausts the macro-task queue (i.e., all tasks queued by setTimeout(), 323 | * setInterval(), and setImmediate()). 324 | */ 325 | runAllTimers(): void, 326 | /** 327 | * Exhausts all tasks queued by setImmediate(). 328 | */ 329 | runAllImmediates(): void, 330 | /** 331 | * Executes only the macro task queue (i.e. all tasks queued by setTimeout() 332 | * or setInterval() and setImmediate()). 333 | */ 334 | runTimersToTime(msToRun: number): void, 335 | /** 336 | * Executes only the macro-tasks that are currently pending (i.e., only the 337 | * tasks that have been queued by setTimeout() or setInterval() up to this 338 | * point) 339 | */ 340 | runOnlyPendingTimers(): void, 341 | /** 342 | * Explicitly supplies the mock object that the module system should return 343 | * for the specified module. Note: It is recommended to use jest.mock() 344 | * instead. 345 | */ 346 | setMock(moduleName: string, moduleExports: any): JestObjectType, 347 | /** 348 | * Indicates that the module system should never return a mocked version of 349 | * the specified module from require() (e.g. that it should always return the 350 | * real module). 351 | */ 352 | unmock(moduleName: string): JestObjectType, 353 | /** 354 | * Instructs Jest to use fake versions of the standard timer functions 355 | * (setTimeout, setInterval, clearTimeout, clearInterval, nextTick, 356 | * setImmediate and clearImmediate). 357 | */ 358 | useFakeTimers(): JestObjectType, 359 | /** 360 | * Instructs Jest to use the real versions of the standard timer functions. 361 | */ 362 | useRealTimers(): JestObjectType, 363 | /** 364 | * Creates a mock function similar to jest.fn but also tracks calls to 365 | * object[methodName]. 366 | */ 367 | spyOn(object: Object, methodName: string): JestMockFn 368 | }; 369 | 370 | type JestSpyType = { 371 | calls: JestCallsType 372 | }; 373 | 374 | /** Runs this function after every test inside this context */ 375 | declare function afterEach(fn: Function): void; 376 | /** Runs this function before every test inside this context */ 377 | declare function beforeEach(fn: Function): void; 378 | /** Runs this function after all tests have finished inside this context */ 379 | declare function afterAll(fn: Function): void; 380 | /** Runs this function before any tests have started inside this context */ 381 | declare function beforeAll(fn: Function): void; 382 | /** A context for grouping tests together */ 383 | declare function describe(name: string, fn: Function): void; 384 | 385 | /** An individual test unit */ 386 | declare var it: { 387 | /** 388 | * An individual test unit 389 | * 390 | * @param {string} Name of Test 391 | * @param {Function} Test 392 | */ 393 | (name: string, fn?: Function): ?Promise, 394 | /** 395 | * Only run this test 396 | * 397 | * @param {string} Name of Test 398 | * @param {Function} Test 399 | */ 400 | only(name: string, fn?: Function): ?Promise, 401 | /** 402 | * Skip running this test 403 | * 404 | * @param {string} Name of Test 405 | * @param {Function} Test 406 | */ 407 | skip(name: string, fn?: Function): ?Promise, 408 | /** 409 | * Run the test concurrently 410 | * 411 | * @param {string} Name of Test 412 | * @param {Function} Test 413 | */ 414 | concurrent(name: string, fn?: Function): ?Promise 415 | }; 416 | declare function fit(name: string, fn: Function): ?Promise; 417 | /** An individual test unit */ 418 | declare var test: typeof it; 419 | /** A disabled group of tests */ 420 | declare var xdescribe: typeof describe; 421 | /** A focused group of tests */ 422 | declare var fdescribe: typeof describe; 423 | /** A disabled individual test */ 424 | declare var xit: typeof it; 425 | /** A disabled individual test */ 426 | declare var xtest: typeof it; 427 | 428 | /** The expect function is used every time you want to test a value */ 429 | declare var expect: { 430 | /** The object that you want to make assertions against */ 431 | (value: any): JestExpectType & JestPromiseType, 432 | /** Add additional Jasmine matchers to Jest's roster */ 433 | extend(matchers: { [name: string]: JestMatcher }): void, 434 | /** Add a module that formats application-specific data structures. */ 435 | addSnapshotSerializer(serializer: (input: Object) => string): void, 436 | assertions(expectedAssertions: number): void, 437 | hasAssertions(): void, 438 | any(value: mixed): JestAsymmetricEqualityType, 439 | anything(): void, 440 | arrayContaining(value: Array): void, 441 | objectContaining(value: Object): void, 442 | /** Matches any received string that contains the exact expected string. */ 443 | stringContaining(value: string): void, 444 | stringMatching(value: string | RegExp): void 445 | }; 446 | 447 | // TODO handle return type 448 | // http://jasmine.github.io/2.4/introduction.html#section-Spies 449 | declare function spyOn(value: mixed, method: string): Object; 450 | 451 | /** Holds all functions related to manipulating test runner */ 452 | declare var jest: JestObjectType; 453 | 454 | /** 455 | * The global Jamine object, this is generally not exposed as the public API, 456 | * using features inside here could break in later versions of Jest. 457 | */ 458 | declare var jasmine: { 459 | DEFAULT_TIMEOUT_INTERVAL: number, 460 | any(value: mixed): JestAsymmetricEqualityType, 461 | anything(): void, 462 | arrayContaining(value: Array): void, 463 | clock(): JestClockType, 464 | createSpy(name: string): JestSpyType, 465 | createSpyObj( 466 | baseName: string, 467 | methodNames: Array 468 | ): { [methodName: string]: JestSpyType }, 469 | objectContaining(value: Object): void, 470 | stringMatching(value: string): void 471 | }; 472 | -------------------------------------------------------------------------------- /flow-typed/npm/haul-cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0c2477ab919f9be94a93974e6c1957ca 2 | // flow-typed version: <>/haul-cli_v^0.5.0/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'haul-cli' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'haul-cli' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'haul-cli/bin/cli' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'haul-cli/flow-typed/npm/express_v4.x.x' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'haul-cli/flow-typed/npm/jest_v19.x.x' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'haul-cli/src/cli' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'haul-cli/src/cliEntry' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'haul-cli/src/commands/bundle' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'haul-cli/src/commands/init' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'haul-cli/src/commands/start' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'haul-cli/src/errors' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'haul-cli/src/loaders/assetLoader' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'haul-cli/src/logger' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'haul-cli/src/messages/bundleBuilding' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'haul-cli/src/messages/bundleBuilt' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'haul-cli/src/messages/bundleFailed' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'haul-cli/src/messages/checkingProject' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'haul-cli/src/messages/commandFailed' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'haul-cli/src/messages/commandNotImplemented' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'haul-cli/src/messages/commandSuccess' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'haul-cli/src/messages/enterEntryFileName' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'haul-cli/src/messages/generatedConfig' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'haul-cli/src/messages/generatingConfig' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'haul-cli/src/messages/gitAddedEntries' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'haul-cli/src/messages/gitAddingEntries' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'haul-cli/src/messages/gitAlreadyAdded' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'haul-cli/src/messages/gitNotFound' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'haul-cli/src/messages/haulCommandHelp' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'haul-cli/src/messages/haulHelp' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'haul-cli/src/messages/index' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'haul-cli/src/messages/initialBundleInformation' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'haul-cli/src/messages/initialStartInformation' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'haul-cli/src/messages/invalidProject' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'haul-cli/src/messages/overwriteConfig' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'haul-cli/src/messages/selectEntryFile' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'haul-cli/src/messages/sourceMapFileNotFound' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'haul-cli/src/messages/sourceMapInvalidFormat' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'haul-cli/src/messages/verifiedProject' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'haul-cli/src/messages/webpackConfigNotFound' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'haul-cli/src/resolvers/AssetResolver' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'haul-cli/src/resolvers/HasteResolver' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'haul-cli/src/server/assets/debuggerWorker' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'haul-cli/src/server/index' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'haul-cli/src/server/middleware/devToolsMiddleware' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'haul-cli/src/server/middleware/liveReloadMiddleware' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'haul-cli/src/server/middleware/loggerMiddleware' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'haul-cli/src/server/middleware/missingBundleMiddleware' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'haul-cli/src/server/middleware/rawBodyMiddleware' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'haul-cli/src/server/middleware/statusPageMiddleware' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'haul-cli/src/server/middleware/symbolicateMiddleware' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'haul-cli/src/server/middleware/systraceMiddleware' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'haul-cli/src/server/util/WebsocketProxy' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'haul-cli/src/types' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'haul-cli/src/utils/exec' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'haul-cli/src/utils/findProvidesModule' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'haul-cli/src/utils/fixRequireIssues' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'haul-cli/src/utils/getBabelConfig' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'haul-cli/src/utils/makeReactNativeConfig' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'haul-cli/src/utils/polyfillEnvironment' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'haul-cli/vendor/polyfills/Array.es6' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'haul-cli/vendor/polyfills/Array.prototype.es6' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'haul-cli/vendor/polyfills/babelHelpers' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'haul-cli/vendor/polyfills/console' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'haul-cli/vendor/polyfills/error-guard' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'haul-cli/vendor/polyfills/Number.es6' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'haul-cli/vendor/polyfills/Object.es6' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'haul-cli/vendor/polyfills/Object.es7' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'haul-cli/vendor/polyfills/String.prototype.es6' { 286 | declare module.exports: any; 287 | } 288 | 289 | // Filename aliases 290 | declare module 'haul-cli/bin/cli.js' { 291 | declare module.exports: $Exports<'haul-cli/bin/cli'>; 292 | } 293 | declare module 'haul-cli/flow-typed/npm/express_v4.x.x.js' { 294 | declare module.exports: $Exports<'haul-cli/flow-typed/npm/express_v4.x.x'>; 295 | } 296 | declare module 'haul-cli/flow-typed/npm/jest_v19.x.x.js' { 297 | declare module.exports: $Exports<'haul-cli/flow-typed/npm/jest_v19.x.x'>; 298 | } 299 | declare module 'haul-cli/src/cli.js' { 300 | declare module.exports: $Exports<'haul-cli/src/cli'>; 301 | } 302 | declare module 'haul-cli/src/cliEntry.js' { 303 | declare module.exports: $Exports<'haul-cli/src/cliEntry'>; 304 | } 305 | declare module 'haul-cli/src/commands/bundle.js' { 306 | declare module.exports: $Exports<'haul-cli/src/commands/bundle'>; 307 | } 308 | declare module 'haul-cli/src/commands/init.js' { 309 | declare module.exports: $Exports<'haul-cli/src/commands/init'>; 310 | } 311 | declare module 'haul-cli/src/commands/start.js' { 312 | declare module.exports: $Exports<'haul-cli/src/commands/start'>; 313 | } 314 | declare module 'haul-cli/src/errors.js' { 315 | declare module.exports: $Exports<'haul-cli/src/errors'>; 316 | } 317 | declare module 'haul-cli/src/loaders/assetLoader.js' { 318 | declare module.exports: $Exports<'haul-cli/src/loaders/assetLoader'>; 319 | } 320 | declare module 'haul-cli/src/logger.js' { 321 | declare module.exports: $Exports<'haul-cli/src/logger'>; 322 | } 323 | declare module 'haul-cli/src/messages/bundleBuilding.js' { 324 | declare module.exports: $Exports<'haul-cli/src/messages/bundleBuilding'>; 325 | } 326 | declare module 'haul-cli/src/messages/bundleBuilt.js' { 327 | declare module.exports: $Exports<'haul-cli/src/messages/bundleBuilt'>; 328 | } 329 | declare module 'haul-cli/src/messages/bundleFailed.js' { 330 | declare module.exports: $Exports<'haul-cli/src/messages/bundleFailed'>; 331 | } 332 | declare module 'haul-cli/src/messages/checkingProject.js' { 333 | declare module.exports: $Exports<'haul-cli/src/messages/checkingProject'>; 334 | } 335 | declare module 'haul-cli/src/messages/commandFailed.js' { 336 | declare module.exports: $Exports<'haul-cli/src/messages/commandFailed'>; 337 | } 338 | declare module 'haul-cli/src/messages/commandNotImplemented.js' { 339 | declare module.exports: $Exports<'haul-cli/src/messages/commandNotImplemented'>; 340 | } 341 | declare module 'haul-cli/src/messages/commandSuccess.js' { 342 | declare module.exports: $Exports<'haul-cli/src/messages/commandSuccess'>; 343 | } 344 | declare module 'haul-cli/src/messages/enterEntryFileName.js' { 345 | declare module.exports: $Exports<'haul-cli/src/messages/enterEntryFileName'>; 346 | } 347 | declare module 'haul-cli/src/messages/generatedConfig.js' { 348 | declare module.exports: $Exports<'haul-cli/src/messages/generatedConfig'>; 349 | } 350 | declare module 'haul-cli/src/messages/generatingConfig.js' { 351 | declare module.exports: $Exports<'haul-cli/src/messages/generatingConfig'>; 352 | } 353 | declare module 'haul-cli/src/messages/gitAddedEntries.js' { 354 | declare module.exports: $Exports<'haul-cli/src/messages/gitAddedEntries'>; 355 | } 356 | declare module 'haul-cli/src/messages/gitAddingEntries.js' { 357 | declare module.exports: $Exports<'haul-cli/src/messages/gitAddingEntries'>; 358 | } 359 | declare module 'haul-cli/src/messages/gitAlreadyAdded.js' { 360 | declare module.exports: $Exports<'haul-cli/src/messages/gitAlreadyAdded'>; 361 | } 362 | declare module 'haul-cli/src/messages/gitNotFound.js' { 363 | declare module.exports: $Exports<'haul-cli/src/messages/gitNotFound'>; 364 | } 365 | declare module 'haul-cli/src/messages/haulCommandHelp.js' { 366 | declare module.exports: $Exports<'haul-cli/src/messages/haulCommandHelp'>; 367 | } 368 | declare module 'haul-cli/src/messages/haulHelp.js' { 369 | declare module.exports: $Exports<'haul-cli/src/messages/haulHelp'>; 370 | } 371 | declare module 'haul-cli/src/messages/index.js' { 372 | declare module.exports: $Exports<'haul-cli/src/messages/index'>; 373 | } 374 | declare module 'haul-cli/src/messages/initialBundleInformation.js' { 375 | declare module.exports: $Exports<'haul-cli/src/messages/initialBundleInformation'>; 376 | } 377 | declare module 'haul-cli/src/messages/initialStartInformation.js' { 378 | declare module.exports: $Exports<'haul-cli/src/messages/initialStartInformation'>; 379 | } 380 | declare module 'haul-cli/src/messages/invalidProject.js' { 381 | declare module.exports: $Exports<'haul-cli/src/messages/invalidProject'>; 382 | } 383 | declare module 'haul-cli/src/messages/overwriteConfig.js' { 384 | declare module.exports: $Exports<'haul-cli/src/messages/overwriteConfig'>; 385 | } 386 | declare module 'haul-cli/src/messages/selectEntryFile.js' { 387 | declare module.exports: $Exports<'haul-cli/src/messages/selectEntryFile'>; 388 | } 389 | declare module 'haul-cli/src/messages/sourceMapFileNotFound.js' { 390 | declare module.exports: $Exports<'haul-cli/src/messages/sourceMapFileNotFound'>; 391 | } 392 | declare module 'haul-cli/src/messages/sourceMapInvalidFormat.js' { 393 | declare module.exports: $Exports<'haul-cli/src/messages/sourceMapInvalidFormat'>; 394 | } 395 | declare module 'haul-cli/src/messages/verifiedProject.js' { 396 | declare module.exports: $Exports<'haul-cli/src/messages/verifiedProject'>; 397 | } 398 | declare module 'haul-cli/src/messages/webpackConfigNotFound.js' { 399 | declare module.exports: $Exports<'haul-cli/src/messages/webpackConfigNotFound'>; 400 | } 401 | declare module 'haul-cli/src/resolvers/AssetResolver.js' { 402 | declare module.exports: $Exports<'haul-cli/src/resolvers/AssetResolver'>; 403 | } 404 | declare module 'haul-cli/src/resolvers/HasteResolver.js' { 405 | declare module.exports: $Exports<'haul-cli/src/resolvers/HasteResolver'>; 406 | } 407 | declare module 'haul-cli/src/server/assets/debuggerWorker.js' { 408 | declare module.exports: $Exports<'haul-cli/src/server/assets/debuggerWorker'>; 409 | } 410 | declare module 'haul-cli/src/server/index.js' { 411 | declare module.exports: $Exports<'haul-cli/src/server/index'>; 412 | } 413 | declare module 'haul-cli/src/server/middleware/devToolsMiddleware.js' { 414 | declare module.exports: $Exports<'haul-cli/src/server/middleware/devToolsMiddleware'>; 415 | } 416 | declare module 'haul-cli/src/server/middleware/liveReloadMiddleware.js' { 417 | declare module.exports: $Exports<'haul-cli/src/server/middleware/liveReloadMiddleware'>; 418 | } 419 | declare module 'haul-cli/src/server/middleware/loggerMiddleware.js' { 420 | declare module.exports: $Exports<'haul-cli/src/server/middleware/loggerMiddleware'>; 421 | } 422 | declare module 'haul-cli/src/server/middleware/missingBundleMiddleware.js' { 423 | declare module.exports: $Exports<'haul-cli/src/server/middleware/missingBundleMiddleware'>; 424 | } 425 | declare module 'haul-cli/src/server/middleware/rawBodyMiddleware.js' { 426 | declare module.exports: $Exports<'haul-cli/src/server/middleware/rawBodyMiddleware'>; 427 | } 428 | declare module 'haul-cli/src/server/middleware/statusPageMiddleware.js' { 429 | declare module.exports: $Exports<'haul-cli/src/server/middleware/statusPageMiddleware'>; 430 | } 431 | declare module 'haul-cli/src/server/middleware/symbolicateMiddleware.js' { 432 | declare module.exports: $Exports<'haul-cli/src/server/middleware/symbolicateMiddleware'>; 433 | } 434 | declare module 'haul-cli/src/server/middleware/systraceMiddleware.js' { 435 | declare module.exports: $Exports<'haul-cli/src/server/middleware/systraceMiddleware'>; 436 | } 437 | declare module 'haul-cli/src/server/util/WebsocketProxy.js' { 438 | declare module.exports: $Exports<'haul-cli/src/server/util/WebsocketProxy'>; 439 | } 440 | declare module 'haul-cli/src/types.js' { 441 | declare module.exports: $Exports<'haul-cli/src/types'>; 442 | } 443 | declare module 'haul-cli/src/utils/exec.js' { 444 | declare module.exports: $Exports<'haul-cli/src/utils/exec'>; 445 | } 446 | declare module 'haul-cli/src/utils/findProvidesModule.js' { 447 | declare module.exports: $Exports<'haul-cli/src/utils/findProvidesModule'>; 448 | } 449 | declare module 'haul-cli/src/utils/fixRequireIssues.js' { 450 | declare module.exports: $Exports<'haul-cli/src/utils/fixRequireIssues'>; 451 | } 452 | declare module 'haul-cli/src/utils/getBabelConfig.js' { 453 | declare module.exports: $Exports<'haul-cli/src/utils/getBabelConfig'>; 454 | } 455 | declare module 'haul-cli/src/utils/makeReactNativeConfig.js' { 456 | declare module.exports: $Exports<'haul-cli/src/utils/makeReactNativeConfig'>; 457 | } 458 | declare module 'haul-cli/src/utils/polyfillEnvironment.js' { 459 | declare module.exports: $Exports<'haul-cli/src/utils/polyfillEnvironment'>; 460 | } 461 | declare module 'haul-cli/vendor/polyfills/Array.es6.js' { 462 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/Array.es6'>; 463 | } 464 | declare module 'haul-cli/vendor/polyfills/Array.prototype.es6.js' { 465 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/Array.prototype.es6'>; 466 | } 467 | declare module 'haul-cli/vendor/polyfills/babelHelpers.js' { 468 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/babelHelpers'>; 469 | } 470 | declare module 'haul-cli/vendor/polyfills/console.js' { 471 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/console'>; 472 | } 473 | declare module 'haul-cli/vendor/polyfills/error-guard.js' { 474 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/error-guard'>; 475 | } 476 | declare module 'haul-cli/vendor/polyfills/Number.es6.js' { 477 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/Number.es6'>; 478 | } 479 | declare module 'haul-cli/vendor/polyfills/Object.es6.js' { 480 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/Object.es6'>; 481 | } 482 | declare module 'haul-cli/vendor/polyfills/Object.es7.js' { 483 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/Object.es7'>; 484 | } 485 | declare module 'haul-cli/vendor/polyfills/String.prototype.es6.js' { 486 | declare module.exports: $Exports<'haul-cli/vendor/polyfills/String.prototype.es6'>; 487 | } 488 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 53494483ff6dcba2679c227587a07ce8 2 | // flow-typed version: <>/eslint-plugin-react_v^7.0.1/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-plugin-react' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-plugin-react/lib/rules/display-name' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-plugin-react/lib/rules/forbid-elements' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'eslint-plugin-react/lib/rules/jsx-indent' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'eslint-plugin-react/lib/rules/jsx-key' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'eslint-plugin-react/lib/rules/no-children-prop' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'eslint-plugin-react/lib/rules/no-danger' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'eslint-plugin-react/lib/rules/no-deprecated' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'eslint-plugin-react/lib/rules/no-set-state' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'eslint-plugin-react/lib/rules/no-string-refs' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'eslint-plugin-react/lib/rules/prop-types' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'eslint-plugin-react/lib/rules/require-default-props' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'eslint-plugin-react/lib/rules/require-optimization' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'eslint-plugin-react/lib/rules/require-render-return' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'eslint-plugin-react/lib/rules/sort-comp' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'eslint-plugin-react/lib/rules/style-prop-object' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'eslint-plugin-react/lib/util/annotations' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'eslint-plugin-react/lib/util/Components' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'eslint-plugin-react/lib/util/pragma' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'eslint-plugin-react/lib/util/variable' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'eslint-plugin-react/lib/util/version' { 286 | declare module.exports: any; 287 | } 288 | 289 | // Filename aliases 290 | declare module 'eslint-plugin-react/index' { 291 | declare module.exports: $Exports<'eslint-plugin-react'>; 292 | } 293 | declare module 'eslint-plugin-react/index.js' { 294 | declare module.exports: $Exports<'eslint-plugin-react'>; 295 | } 296 | declare module 'eslint-plugin-react/lib/rules/display-name.js' { 297 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'>; 298 | } 299 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { 300 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-component-props'>; 301 | } 302 | declare module 'eslint-plugin-react/lib/rules/forbid-elements.js' { 303 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-elements'>; 304 | } 305 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js' { 306 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-foreign-prop-types'>; 307 | } 308 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { 309 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-prop-types'>; 310 | } 311 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { 312 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>; 313 | } 314 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { 315 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-bracket-location'>; 316 | } 317 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' { 318 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>; 319 | } 320 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing.js' { 321 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-equals-spacing'>; 322 | } 323 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension.js' { 324 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-filename-extension'>; 325 | } 326 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js' { 327 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-first-prop-new-line'>; 328 | } 329 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names.js' { 330 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-handler-names'>; 331 | } 332 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props.js' { 333 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent-props'>; 334 | } 335 | declare module 'eslint-plugin-react/lib/rules/jsx-indent.js' { 336 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent'>; 337 | } 338 | declare module 'eslint-plugin-react/lib/rules/jsx-key.js' { 339 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-key'>; 340 | } 341 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line.js' { 342 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-props-per-line'>; 343 | } 344 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind.js' { 345 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-bind'>; 346 | } 347 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js' { 348 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes'>; 349 | } 350 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js' { 351 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-duplicate-props'>; 352 | } 353 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals.js' { 354 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-literals'>; 355 | } 356 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' { 357 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-target-blank'>; 358 | } 359 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' { 360 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'>; 361 | } 362 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { 363 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-pascal-case'>; 364 | } 365 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { 366 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-props'>; 367 | } 368 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing.js' { 369 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-space-before-closing'>; 370 | } 371 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing.js' { 372 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-tag-spacing'>; 373 | } 374 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react.js' { 375 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-react'>; 376 | } 377 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' { 378 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-vars'>; 379 | } 380 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' { 381 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-wrap-multilines'>; 382 | } 383 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' { 384 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-array-index-key'>; 385 | } 386 | declare module 'eslint-plugin-react/lib/rules/no-children-prop.js' { 387 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-children-prop'>; 388 | } 389 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children.js' { 390 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger-with-children'>; 391 | } 392 | declare module 'eslint-plugin-react/lib/rules/no-danger.js' { 393 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger'>; 394 | } 395 | declare module 'eslint-plugin-react/lib/rules/no-deprecated.js' { 396 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-deprecated'>; 397 | } 398 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state.js' { 399 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-mount-set-state'>; 400 | } 401 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state.js' { 402 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-update-set-state'>; 403 | } 404 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state.js' { 405 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-direct-mutation-state'>; 406 | } 407 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node.js' { 408 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-find-dom-node'>; 409 | } 410 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted.js' { 411 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-is-mounted'>; 412 | } 413 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp.js' { 414 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-multi-comp'>; 415 | } 416 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value.js' { 417 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-render-return-value'>; 418 | } 419 | declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { 420 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-set-state'>; 421 | } 422 | declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { 423 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-string-refs'>; 424 | } 425 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities.js' { 426 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unescaped-entities'>; 427 | } 428 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property.js' { 429 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unknown-property'>; 430 | } 431 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types.js' { 432 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-prop-types'>; 433 | } 434 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state.js' { 435 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-will-update-set-state'>; 436 | } 437 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class.js' { 438 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-es6-class'>; 439 | } 440 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function.js' { 441 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-stateless-function'>; 442 | } 443 | declare module 'eslint-plugin-react/lib/rules/prop-types.js' { 444 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prop-types'>; 445 | } 446 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope.js' { 447 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/react-in-jsx-scope'>; 448 | } 449 | declare module 'eslint-plugin-react/lib/rules/require-default-props.js' { 450 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-default-props'>; 451 | } 452 | declare module 'eslint-plugin-react/lib/rules/require-optimization.js' { 453 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-optimization'>; 454 | } 455 | declare module 'eslint-plugin-react/lib/rules/require-render-return.js' { 456 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-render-return'>; 457 | } 458 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp.js' { 459 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/self-closing-comp'>; 460 | } 461 | declare module 'eslint-plugin-react/lib/rules/sort-comp.js' { 462 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-comp'>; 463 | } 464 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types.js' { 465 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-prop-types'>; 466 | } 467 | declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' { 468 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/style-prop-object'>; 469 | } 470 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children.js' { 471 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/void-dom-elements-no-children'>; 472 | } 473 | declare module 'eslint-plugin-react/lib/util/annotations.js' { 474 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/annotations'>; 475 | } 476 | declare module 'eslint-plugin-react/lib/util/Components.js' { 477 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>; 478 | } 479 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { 480 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'>; 481 | } 482 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js' { 483 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/makeNoMethodSetStateRule'>; 484 | } 485 | declare module 'eslint-plugin-react/lib/util/pragma.js' { 486 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/pragma'>; 487 | } 488 | declare module 'eslint-plugin-react/lib/util/variable.js' { 489 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/variable'>; 490 | } 491 | declare module 'eslint-plugin-react/lib/util/version.js' { 492 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/version'>; 493 | } 494 | -------------------------------------------------------------------------------- /flow-typed/npm/react-test-renderer_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c973a7db4c57910a0bf4c5592b0fdbe1 2 | // flow-typed version: <>/react-test-renderer_v16.0.0-alpha.6/flow_v0.42.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'react-test-renderer' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'react-test-renderer' { 17 | declare module.exports: any; 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'react-test-renderer/lib/accumulate' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'react-test-renderer/lib/accumulateInto' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'react-test-renderer/lib/adler32' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'react-test-renderer/lib/CallbackQueue' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'react-test-renderer/lib/canDefineProperty' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'react-test-renderer/lib/checkReactTypeSpec' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'react-test-renderer/lib/deprecated' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'react-test-renderer/lib/EventConstants' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'react-test-renderer/lib/EventPluginHub' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'react-test-renderer/lib/EventPluginRegistry' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'react-test-renderer/lib/EventPluginUtils' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'react-test-renderer/lib/EventPropagators' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'react-test-renderer/lib/flattenChildren' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'react-test-renderer/lib/forEachAccumulated' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'react-test-renderer/lib/getComponentName' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'react-test-renderer/lib/getContextForSubtree' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'react-test-renderer/lib/getHostComponentFromComposite' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'react-test-renderer/lib/getIteratorFn' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'react-test-renderer/lib/getNextDebugID' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'react-test-renderer/lib/instantiateReactComponent' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'react-test-renderer/lib/isTextInputElement' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'react-test-renderer/lib/KeyEscapeUtils' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'react-test-renderer/lib/PluginModuleType' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'react-test-renderer/lib/PooledClass' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'react-test-renderer/lib/ReactChildFiber' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'react-test-renderer/lib/ReactChildReconciler' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'react-test-renderer/lib/ReactComponentEnvironment' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'react-test-renderer/lib/ReactCompositeComponent' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'react-test-renderer/lib/ReactCompositeComponentTypes' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'react-test-renderer/lib/ReactControlledComponent' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'react-test-renderer/lib/ReactCoroutine' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'react-test-renderer/lib/ReactDebugCurrentFiber' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'react-test-renderer/lib/ReactDebugFiberPerf' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'react-test-renderer/lib/ReactDebugTool' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'react-test-renderer/lib/ReactElementSymbol' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'react-test-renderer/lib/ReactElementType' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'react-test-renderer/lib/ReactEmptyComponent' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'react-test-renderer/lib/ReactErrorUtils' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'react-test-renderer/lib/ReactEventEmitterMixin' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'react-test-renderer/lib/ReactFeatureFlags' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'react-test-renderer/lib/ReactFiber' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'react-test-renderer/lib/ReactFiberBeginWork' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'react-test-renderer/lib/ReactFiberClassComponent' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'react-test-renderer/lib/ReactFiberCommitWork' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'react-test-renderer/lib/ReactFiberCompleteWork' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'react-test-renderer/lib/ReactFiberComponentTreeHook' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'react-test-renderer/lib/ReactFiberContext' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'react-test-renderer/lib/ReactFiberDevToolsHook' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'react-test-renderer/lib/ReactFiberErrorLogger' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'react-test-renderer/lib/ReactFiberHostContext' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'react-test-renderer/lib/ReactFiberInstrumentation' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'react-test-renderer/lib/ReactFiberReconciler' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'react-test-renderer/lib/ReactFiberRoot' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'react-test-renderer/lib/ReactFiberScheduler' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'react-test-renderer/lib/ReactFiberStack' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'react-test-renderer/lib/ReactFiberTreeReflection' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'react-test-renderer/lib/ReactFiberUpdateQueue' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'react-test-renderer/lib/ReactGenericBatching' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'react-test-renderer/lib/ReactHostComponent' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'react-test-renderer/lib/ReactInstanceMap' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'react-test-renderer/lib/ReactInstanceType' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'react-test-renderer/lib/ReactInstrumentation' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'react-test-renderer/lib/ReactMultiChild' { 286 | declare module.exports: any; 287 | } 288 | 289 | declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes' { 290 | declare module.exports: any; 291 | } 292 | 293 | declare module 'react-test-renderer/lib/ReactNodeTypes' { 294 | declare module.exports: any; 295 | } 296 | 297 | declare module 'react-test-renderer/lib/ReactOwner' { 298 | declare module.exports: any; 299 | } 300 | 301 | declare module 'react-test-renderer/lib/ReactPerf' { 302 | declare module.exports: any; 303 | } 304 | 305 | declare module 'react-test-renderer/lib/ReactPortal' { 306 | declare module.exports: any; 307 | } 308 | 309 | declare module 'react-test-renderer/lib/ReactPriorityLevel' { 310 | declare module.exports: any; 311 | } 312 | 313 | declare module 'react-test-renderer/lib/reactProdInvariant' { 314 | declare module.exports: any; 315 | } 316 | 317 | declare module 'react-test-renderer/lib/ReactPropTypesSecret' { 318 | declare module.exports: any; 319 | } 320 | 321 | declare module 'react-test-renderer/lib/ReactReconciler' { 322 | declare module.exports: any; 323 | } 324 | 325 | declare module 'react-test-renderer/lib/ReactRef' { 326 | declare module.exports: any; 327 | } 328 | 329 | declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent' { 330 | declare module.exports: any; 331 | } 332 | 333 | declare module 'react-test-renderer/lib/ReactSyntheticEventType' { 334 | declare module.exports: any; 335 | } 336 | 337 | declare module 'react-test-renderer/lib/ReactTestEmptyComponent' { 338 | declare module.exports: any; 339 | } 340 | 341 | declare module 'react-test-renderer/lib/ReactTestMount' { 342 | declare module.exports: any; 343 | } 344 | 345 | declare module 'react-test-renderer/lib/ReactTestReconcileTransaction' { 346 | declare module.exports: any; 347 | } 348 | 349 | declare module 'react-test-renderer/lib/ReactTestRenderer' { 350 | declare module.exports: any; 351 | } 352 | 353 | declare module 'react-test-renderer/lib/ReactTestRendererFeatureFlags' { 354 | declare module.exports: any; 355 | } 356 | 357 | declare module 'react-test-renderer/lib/ReactTestRendererFiber' { 358 | declare module.exports: any; 359 | } 360 | 361 | declare module 'react-test-renderer/lib/ReactTestRendererStack' { 362 | declare module.exports: any; 363 | } 364 | 365 | declare module 'react-test-renderer/lib/ReactTestTextComponent' { 366 | declare module.exports: any; 367 | } 368 | 369 | declare module 'react-test-renderer/lib/ReactTreeTraversal' { 370 | declare module.exports: any; 371 | } 372 | 373 | declare module 'react-test-renderer/lib/ReactTypeOfSideEffect' { 374 | declare module.exports: any; 375 | } 376 | 377 | declare module 'react-test-renderer/lib/ReactTypeOfWork' { 378 | declare module.exports: any; 379 | } 380 | 381 | declare module 'react-test-renderer/lib/ReactTypes' { 382 | declare module.exports: any; 383 | } 384 | 385 | declare module 'react-test-renderer/lib/ReactUpdateQueue' { 386 | declare module.exports: any; 387 | } 388 | 389 | declare module 'react-test-renderer/lib/ReactUpdates' { 390 | declare module.exports: any; 391 | } 392 | 393 | declare module 'react-test-renderer/lib/ReactVersion' { 394 | declare module.exports: any; 395 | } 396 | 397 | declare module 'react-test-renderer/lib/ResponderEventPlugin' { 398 | declare module.exports: any; 399 | } 400 | 401 | declare module 'react-test-renderer/lib/ResponderSyntheticEvent' { 402 | declare module.exports: any; 403 | } 404 | 405 | declare module 'react-test-renderer/lib/ResponderTouchHistoryStore' { 406 | declare module.exports: any; 407 | } 408 | 409 | declare module 'react-test-renderer/lib/shouldUpdateReactComponent' { 410 | declare module.exports: any; 411 | } 412 | 413 | declare module 'react-test-renderer/lib/SyntheticEvent' { 414 | declare module.exports: any; 415 | } 416 | 417 | declare module 'react-test-renderer/lib/TouchHistoryMath' { 418 | declare module.exports: any; 419 | } 420 | 421 | declare module 'react-test-renderer/lib/Transaction' { 422 | declare module.exports: any; 423 | } 424 | 425 | declare module 'react-test-renderer/lib/traverseAllChildren' { 426 | declare module.exports: any; 427 | } 428 | 429 | declare module 'react-test-renderer/lib/validateCallback' { 430 | declare module.exports: any; 431 | } 432 | 433 | // Filename aliases 434 | declare module 'react-test-renderer/index' { 435 | declare module.exports: $Exports<'react-test-renderer'>; 436 | } 437 | declare module 'react-test-renderer/index.js' { 438 | declare module.exports: $Exports<'react-test-renderer'>; 439 | } 440 | declare module 'react-test-renderer/lib/accumulate.js' { 441 | declare module.exports: $Exports<'react-test-renderer/lib/accumulate'>; 442 | } 443 | declare module 'react-test-renderer/lib/accumulateInto.js' { 444 | declare module.exports: $Exports<'react-test-renderer/lib/accumulateInto'>; 445 | } 446 | declare module 'react-test-renderer/lib/adler32.js' { 447 | declare module.exports: $Exports<'react-test-renderer/lib/adler32'>; 448 | } 449 | declare module 'react-test-renderer/lib/CallbackQueue.js' { 450 | declare module.exports: $Exports<'react-test-renderer/lib/CallbackQueue'>; 451 | } 452 | declare module 'react-test-renderer/lib/canDefineProperty.js' { 453 | declare module.exports: $Exports<'react-test-renderer/lib/canDefineProperty'>; 454 | } 455 | declare module 'react-test-renderer/lib/checkReactTypeSpec.js' { 456 | declare module.exports: $Exports<'react-test-renderer/lib/checkReactTypeSpec'>; 457 | } 458 | declare module 'react-test-renderer/lib/deprecated.js' { 459 | declare module.exports: $Exports<'react-test-renderer/lib/deprecated'>; 460 | } 461 | declare module 'react-test-renderer/lib/EventConstants.js' { 462 | declare module.exports: $Exports<'react-test-renderer/lib/EventConstants'>; 463 | } 464 | declare module 'react-test-renderer/lib/EventPluginHub.js' { 465 | declare module.exports: $Exports<'react-test-renderer/lib/EventPluginHub'>; 466 | } 467 | declare module 'react-test-renderer/lib/EventPluginRegistry.js' { 468 | declare module.exports: $Exports<'react-test-renderer/lib/EventPluginRegistry'>; 469 | } 470 | declare module 'react-test-renderer/lib/EventPluginUtils.js' { 471 | declare module.exports: $Exports<'react-test-renderer/lib/EventPluginUtils'>; 472 | } 473 | declare module 'react-test-renderer/lib/EventPropagators.js' { 474 | declare module.exports: $Exports<'react-test-renderer/lib/EventPropagators'>; 475 | } 476 | declare module 'react-test-renderer/lib/flattenChildren.js' { 477 | declare module.exports: $Exports<'react-test-renderer/lib/flattenChildren'>; 478 | } 479 | declare module 'react-test-renderer/lib/forEachAccumulated.js' { 480 | declare module.exports: $Exports<'react-test-renderer/lib/forEachAccumulated'>; 481 | } 482 | declare module 'react-test-renderer/lib/getComponentName.js' { 483 | declare module.exports: $Exports<'react-test-renderer/lib/getComponentName'>; 484 | } 485 | declare module 'react-test-renderer/lib/getContextForSubtree.js' { 486 | declare module.exports: $Exports<'react-test-renderer/lib/getContextForSubtree'>; 487 | } 488 | declare module 'react-test-renderer/lib/getHostComponentFromComposite.js' { 489 | declare module.exports: $Exports<'react-test-renderer/lib/getHostComponentFromComposite'>; 490 | } 491 | declare module 'react-test-renderer/lib/getIteratorFn.js' { 492 | declare module.exports: $Exports<'react-test-renderer/lib/getIteratorFn'>; 493 | } 494 | declare module 'react-test-renderer/lib/getNextDebugID.js' { 495 | declare module.exports: $Exports<'react-test-renderer/lib/getNextDebugID'>; 496 | } 497 | declare module 'react-test-renderer/lib/instantiateReactComponent.js' { 498 | declare module.exports: $Exports<'react-test-renderer/lib/instantiateReactComponent'>; 499 | } 500 | declare module 'react-test-renderer/lib/isTextInputElement.js' { 501 | declare module.exports: $Exports<'react-test-renderer/lib/isTextInputElement'>; 502 | } 503 | declare module 'react-test-renderer/lib/KeyEscapeUtils.js' { 504 | declare module.exports: $Exports<'react-test-renderer/lib/KeyEscapeUtils'>; 505 | } 506 | declare module 'react-test-renderer/lib/PluginModuleType.js' { 507 | declare module.exports: $Exports<'react-test-renderer/lib/PluginModuleType'>; 508 | } 509 | declare module 'react-test-renderer/lib/PooledClass.js' { 510 | declare module.exports: $Exports<'react-test-renderer/lib/PooledClass'>; 511 | } 512 | declare module 'react-test-renderer/lib/ReactChildFiber.js' { 513 | declare module.exports: $Exports<'react-test-renderer/lib/ReactChildFiber'>; 514 | } 515 | declare module 'react-test-renderer/lib/ReactChildReconciler.js' { 516 | declare module.exports: $Exports<'react-test-renderer/lib/ReactChildReconciler'>; 517 | } 518 | declare module 'react-test-renderer/lib/ReactComponentEnvironment.js' { 519 | declare module.exports: $Exports<'react-test-renderer/lib/ReactComponentEnvironment'>; 520 | } 521 | declare module 'react-test-renderer/lib/ReactCompositeComponent.js' { 522 | declare module.exports: $Exports<'react-test-renderer/lib/ReactCompositeComponent'>; 523 | } 524 | declare module 'react-test-renderer/lib/ReactCompositeComponentTypes.js' { 525 | declare module.exports: $Exports<'react-test-renderer/lib/ReactCompositeComponentTypes'>; 526 | } 527 | declare module 'react-test-renderer/lib/ReactControlledComponent.js' { 528 | declare module.exports: $Exports<'react-test-renderer/lib/ReactControlledComponent'>; 529 | } 530 | declare module 'react-test-renderer/lib/ReactCoroutine.js' { 531 | declare module.exports: $Exports<'react-test-renderer/lib/ReactCoroutine'>; 532 | } 533 | declare module 'react-test-renderer/lib/ReactDebugCurrentFiber.js' { 534 | declare module.exports: $Exports<'react-test-renderer/lib/ReactDebugCurrentFiber'>; 535 | } 536 | declare module 'react-test-renderer/lib/ReactDebugFiberPerf.js' { 537 | declare module.exports: $Exports<'react-test-renderer/lib/ReactDebugFiberPerf'>; 538 | } 539 | declare module 'react-test-renderer/lib/ReactDebugTool.js' { 540 | declare module.exports: $Exports<'react-test-renderer/lib/ReactDebugTool'>; 541 | } 542 | declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy.js' { 543 | declare module.exports: $Exports<'react-test-renderer/lib/ReactDefaultBatchingStrategy'>; 544 | } 545 | declare module 'react-test-renderer/lib/ReactElementSymbol.js' { 546 | declare module.exports: $Exports<'react-test-renderer/lib/ReactElementSymbol'>; 547 | } 548 | declare module 'react-test-renderer/lib/ReactElementType.js' { 549 | declare module.exports: $Exports<'react-test-renderer/lib/ReactElementType'>; 550 | } 551 | declare module 'react-test-renderer/lib/ReactEmptyComponent.js' { 552 | declare module.exports: $Exports<'react-test-renderer/lib/ReactEmptyComponent'>; 553 | } 554 | declare module 'react-test-renderer/lib/ReactErrorUtils.js' { 555 | declare module.exports: $Exports<'react-test-renderer/lib/ReactErrorUtils'>; 556 | } 557 | declare module 'react-test-renderer/lib/ReactEventEmitterMixin.js' { 558 | declare module.exports: $Exports<'react-test-renderer/lib/ReactEventEmitterMixin'>; 559 | } 560 | declare module 'react-test-renderer/lib/ReactFeatureFlags.js' { 561 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFeatureFlags'>; 562 | } 563 | declare module 'react-test-renderer/lib/ReactFiber.js' { 564 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiber'>; 565 | } 566 | declare module 'react-test-renderer/lib/ReactFiberBeginWork.js' { 567 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberBeginWork'>; 568 | } 569 | declare module 'react-test-renderer/lib/ReactFiberClassComponent.js' { 570 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberClassComponent'>; 571 | } 572 | declare module 'react-test-renderer/lib/ReactFiberCommitWork.js' { 573 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCommitWork'>; 574 | } 575 | declare module 'react-test-renderer/lib/ReactFiberCompleteWork.js' { 576 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCompleteWork'>; 577 | } 578 | declare module 'react-test-renderer/lib/ReactFiberComponentTreeHook.js' { 579 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberComponentTreeHook'>; 580 | } 581 | declare module 'react-test-renderer/lib/ReactFiberContext.js' { 582 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberContext'>; 583 | } 584 | declare module 'react-test-renderer/lib/ReactFiberDevToolsHook.js' { 585 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberDevToolsHook'>; 586 | } 587 | declare module 'react-test-renderer/lib/ReactFiberErrorLogger.js' { 588 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberErrorLogger'>; 589 | } 590 | declare module 'react-test-renderer/lib/ReactFiberHostContext.js' { 591 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberHostContext'>; 592 | } 593 | declare module 'react-test-renderer/lib/ReactFiberInstrumentation.js' { 594 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberInstrumentation'>; 595 | } 596 | declare module 'react-test-renderer/lib/ReactFiberReconciler.js' { 597 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberReconciler'>; 598 | } 599 | declare module 'react-test-renderer/lib/ReactFiberRoot.js' { 600 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberRoot'>; 601 | } 602 | declare module 'react-test-renderer/lib/ReactFiberScheduler.js' { 603 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberScheduler'>; 604 | } 605 | declare module 'react-test-renderer/lib/ReactFiberStack.js' { 606 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberStack'>; 607 | } 608 | declare module 'react-test-renderer/lib/ReactFiberTreeReflection.js' { 609 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberTreeReflection'>; 610 | } 611 | declare module 'react-test-renderer/lib/ReactFiberUpdateQueue.js' { 612 | declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberUpdateQueue'>; 613 | } 614 | declare module 'react-test-renderer/lib/ReactGenericBatching.js' { 615 | declare module.exports: $Exports<'react-test-renderer/lib/ReactGenericBatching'>; 616 | } 617 | declare module 'react-test-renderer/lib/ReactHostComponent.js' { 618 | declare module.exports: $Exports<'react-test-renderer/lib/ReactHostComponent'>; 619 | } 620 | declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook.js' { 621 | declare module.exports: $Exports<'react-test-renderer/lib/ReactHostOperationHistoryHook'>; 622 | } 623 | declare module 'react-test-renderer/lib/ReactInstanceMap.js' { 624 | declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceMap'>; 625 | } 626 | declare module 'react-test-renderer/lib/ReactInstanceType.js' { 627 | declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceType'>; 628 | } 629 | declare module 'react-test-renderer/lib/ReactInstrumentation.js' { 630 | declare module.exports: $Exports<'react-test-renderer/lib/ReactInstrumentation'>; 631 | } 632 | declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook.js' { 633 | declare module.exports: $Exports<'react-test-renderer/lib/ReactInvalidSetStateWarningHook'>; 634 | } 635 | declare module 'react-test-renderer/lib/ReactMultiChild.js' { 636 | declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChild'>; 637 | } 638 | declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes.js' { 639 | declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChildUpdateTypes'>; 640 | } 641 | declare module 'react-test-renderer/lib/ReactNodeTypes.js' { 642 | declare module.exports: $Exports<'react-test-renderer/lib/ReactNodeTypes'>; 643 | } 644 | declare module 'react-test-renderer/lib/ReactOwner.js' { 645 | declare module.exports: $Exports<'react-test-renderer/lib/ReactOwner'>; 646 | } 647 | declare module 'react-test-renderer/lib/ReactPerf.js' { 648 | declare module.exports: $Exports<'react-test-renderer/lib/ReactPerf'>; 649 | } 650 | declare module 'react-test-renderer/lib/ReactPortal.js' { 651 | declare module.exports: $Exports<'react-test-renderer/lib/ReactPortal'>; 652 | } 653 | declare module 'react-test-renderer/lib/ReactPriorityLevel.js' { 654 | declare module.exports: $Exports<'react-test-renderer/lib/ReactPriorityLevel'>; 655 | } 656 | declare module 'react-test-renderer/lib/reactProdInvariant.js' { 657 | declare module.exports: $Exports<'react-test-renderer/lib/reactProdInvariant'>; 658 | } 659 | declare module 'react-test-renderer/lib/ReactPropTypesSecret.js' { 660 | declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypesSecret'>; 661 | } 662 | declare module 'react-test-renderer/lib/ReactReconciler.js' { 663 | declare module.exports: $Exports<'react-test-renderer/lib/ReactReconciler'>; 664 | } 665 | declare module 'react-test-renderer/lib/ReactRef.js' { 666 | declare module.exports: $Exports<'react-test-renderer/lib/ReactRef'>; 667 | } 668 | declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent.js' { 669 | declare module.exports: $Exports<'react-test-renderer/lib/ReactSimpleEmptyComponent'>; 670 | } 671 | declare module 'react-test-renderer/lib/ReactSyntheticEventType.js' { 672 | declare module.exports: $Exports<'react-test-renderer/lib/ReactSyntheticEventType'>; 673 | } 674 | declare module 'react-test-renderer/lib/ReactTestEmptyComponent.js' { 675 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestEmptyComponent'>; 676 | } 677 | declare module 'react-test-renderer/lib/ReactTestMount.js' { 678 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestMount'>; 679 | } 680 | declare module 'react-test-renderer/lib/ReactTestReconcileTransaction.js' { 681 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestReconcileTransaction'>; 682 | } 683 | declare module 'react-test-renderer/lib/ReactTestRenderer.js' { 684 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRenderer'>; 685 | } 686 | declare module 'react-test-renderer/lib/ReactTestRendererFeatureFlags.js' { 687 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRendererFeatureFlags'>; 688 | } 689 | declare module 'react-test-renderer/lib/ReactTestRendererFiber.js' { 690 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRendererFiber'>; 691 | } 692 | declare module 'react-test-renderer/lib/ReactTestRendererStack.js' { 693 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRendererStack'>; 694 | } 695 | declare module 'react-test-renderer/lib/ReactTestTextComponent.js' { 696 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTestTextComponent'>; 697 | } 698 | declare module 'react-test-renderer/lib/ReactTreeTraversal.js' { 699 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTreeTraversal'>; 700 | } 701 | declare module 'react-test-renderer/lib/ReactTypeOfSideEffect.js' { 702 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTypeOfSideEffect'>; 703 | } 704 | declare module 'react-test-renderer/lib/ReactTypeOfWork.js' { 705 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTypeOfWork'>; 706 | } 707 | declare module 'react-test-renderer/lib/ReactTypes.js' { 708 | declare module.exports: $Exports<'react-test-renderer/lib/ReactTypes'>; 709 | } 710 | declare module 'react-test-renderer/lib/ReactUpdateQueue.js' { 711 | declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdateQueue'>; 712 | } 713 | declare module 'react-test-renderer/lib/ReactUpdates.js' { 714 | declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdates'>; 715 | } 716 | declare module 'react-test-renderer/lib/ReactVersion.js' { 717 | declare module.exports: $Exports<'react-test-renderer/lib/ReactVersion'>; 718 | } 719 | declare module 'react-test-renderer/lib/ResponderEventPlugin.js' { 720 | declare module.exports: $Exports<'react-test-renderer/lib/ResponderEventPlugin'>; 721 | } 722 | declare module 'react-test-renderer/lib/ResponderSyntheticEvent.js' { 723 | declare module.exports: $Exports<'react-test-renderer/lib/ResponderSyntheticEvent'>; 724 | } 725 | declare module 'react-test-renderer/lib/ResponderTouchHistoryStore.js' { 726 | declare module.exports: $Exports<'react-test-renderer/lib/ResponderTouchHistoryStore'>; 727 | } 728 | declare module 'react-test-renderer/lib/shouldUpdateReactComponent.js' { 729 | declare module.exports: $Exports<'react-test-renderer/lib/shouldUpdateReactComponent'>; 730 | } 731 | declare module 'react-test-renderer/lib/SyntheticEvent.js' { 732 | declare module.exports: $Exports<'react-test-renderer/lib/SyntheticEvent'>; 733 | } 734 | declare module 'react-test-renderer/lib/TouchHistoryMath.js' { 735 | declare module.exports: $Exports<'react-test-renderer/lib/TouchHistoryMath'>; 736 | } 737 | declare module 'react-test-renderer/lib/Transaction.js' { 738 | declare module.exports: $Exports<'react-test-renderer/lib/Transaction'>; 739 | } 740 | declare module 'react-test-renderer/lib/traverseAllChildren.js' { 741 | declare module.exports: $Exports<'react-test-renderer/lib/traverseAllChildren'>; 742 | } 743 | declare module 'react-test-renderer/lib/validateCallback.js' { 744 | declare module.exports: $Exports<'react-test-renderer/lib/validateCallback'>; 745 | } 746 | --------------------------------------------------------------------------------