File tree Expand file tree Collapse file tree 8 files changed +36
-22
lines changed
Expand file tree Collapse file tree 8 files changed +36
-22
lines changed Original file line number Diff line number Diff line change 66; Ignore polyfills
77.*/Libraries/polyfills/.*
88
9+ ; Ignore relase
10+ .*/release/.*
11+
912
1013[include]
1114
2528./app/components/Layout/Router.js.flow
2629./app/components/ReactNative/Info.js.flow
2730./app/components/Terminal/Console.js.flow
28- ./app/lib/exec.js.flow
2931
3032[options]
3133emoji=true
Original file line number Diff line number Diff line change @@ -14,37 +14,37 @@ const AppBottomBar = () => (
1414 < BottomNavigation >
1515 < BottomNavigationItem
1616 label = "Info"
17- onClick = { ( ) => this . select ( 0 ) }
17+ onClick = { ( ) => { } }
1818 icon = { < InfoIcon /> }
1919 />
2020 < BottomNavigationItem
2121 label = "Start"
22- onClick = { ( ) => this . select ( 0 ) }
22+ onClick = { ( ) => { } }
2323 icon = { < PlayIcon /> }
2424 />
2525 < BottomNavigationItem
2626 label = "Android"
27- onClick = { ( ) => this . select ( 0 ) }
27+ onClick = { ( ) => { } }
2828 icon = { < AndroidIcon /> }
2929 />
3030 < BottomNavigationItem
3131 label = "iOS"
32- onClick = { ( ) => this . select ( 0 ) }
32+ onClick = { ( ) => { } }
3333 icon = { < i className = "icon-apple" style = { { fontSize : 24 , color : '#777' , marginTop : - 3 } } /> }
3434 />
3535 < BottomNavigationItem
3636 label = "Upgrade"
37- onClick = { ( ) => this . select ( 0 ) }
37+ onClick = { ( ) => { } }
3838 icon = { < UpgradeIcon /> }
3939 />
4040 < BottomNavigationItem
4141 label = "Native"
42- onClick = { ( ) => this . select ( 0 ) }
42+ onClick = { ( ) => { } }
4343 icon = { < SmartPhoneIcon /> }
4444 />
4545 < BottomNavigationItem
4646 label = "Eject"
47- onClick = { ( ) => this . select ( 0 ) }
47+ onClick = { ( ) => { } }
4848 icon = { < EjectIcon /> }
4949 />
5050 </ BottomNavigation >
Original file line number Diff line number Diff line change 11// @flow
22
3+ type $FlexDirection =
4+ & 'column'
5+ & 'row';
6+
37declare type $FlexReactProps = {
48 children: any,
9+ style?: Object,
510};
611
12+ declare type $FlexOwnProps = {|
13+ +between?: boolean,
14+ +column?: boolean,
15+ +direction?: $FlexDirection,
16+ +flexDirection?: $FlexDirection,
17+ +row?: boolean,
18+ |};
19+
720declare type $FlexProps =
8- & $FlexReactProps;
21+ & $FlexReactProps
22+ & $FlexOwnProps;
Original file line number Diff line number Diff line change 11// @flow
22
33declare type $PageOwnProps = {|
4+ +children?: any,
45 +style?: Object,
56|};
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ declare type $InfoConnectProps = {|
2020
2121declare type $InfoProps =
2222 & $InfoOwnProps
23- & InfoConnectProps;
23+ & $ InfoConnectProps;
Original file line number Diff line number Diff line change 22import { spawn } from 'child_process' ;
33import Emitter from 'events' ;
44
5- const $spawn = ( cmd : string , options : $ExecOptions = { } ) => {
5+ // eslint-disable-next-line camelcase
6+ const $spawn = ( cmd : string , options : child_process$spawnOpts = { } ) => {
67 const emitter = new Emitter ( ) ;
78 let ps ;
89 setTimeout ( ( ) => {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 "scripts" : {
55 "start" : " electron main.js" ,
66 "babel" : " babel --out-dir dist/ app/" ,
7- "build " : " bash scripts/build.sh $npm_package_name $npm_package_version" ,
8- "build :osx" : " yarn build darwin" ,
9- "build :linux" : " yarn build linux" ,
10- "build :windows" : " yarn build win32" ,
11- "build :all" : " npm-run-parallel build :osx build :linux build :windows" ,
7+ "make " : " bash scripts/build.sh $npm_package_name $npm_package_version" ,
8+ "make :osx" : " yarn make darwin" ,
9+ "make :linux" : " yarn make linux" ,
10+ "make :windows" : " yarn make win32" ,
11+ "make :all" : " npm-run-parallel make :osx make :linux make :windows" ,
1212 "eslint" : " eslint app --fix" ,
13- "test" : " yarn eslint"
13+ "test" : " yarn eslint && yarn flow" ,
14+ "flow" : " flow"
1415 },
1516 "dependencies" : {
1617 "babel-polyfill" : " ^6.26.0" ,
You can’t perform that action at this time.
0 commit comments