Skip to content

Commit

Permalink
Merge pull request #48 from jbkuczma/v2.0_rewrite
Browse files Browse the repository at this point in the history
🎉 v2.0 rewrite
  • Loading branch information
jbkuczma authored Mar 14, 2018
2 parents 0cac03d + f86fa91 commit f83fc78
Show file tree
Hide file tree
Showing 217 changed files with 12,264 additions and 2,912 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["react-native"]
}
"presets": ["react-native"]
}
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
30 changes: 19 additions & 11 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,43 @@
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js

; Ignore polyfills
.*/Libraries/polyfills/.*

; Ignore metro
.*/node_modules/metro/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/
node_modules/react-native/flow/
node_modules/react-native/flow-github/

[options]
emoji=true

module.system=haste

experimental.strict_type_args=true

munge_underscores=true

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'

module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy

unsafe.enable_getters_and_setters=true
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.38.0
^0.63.0
23 changes: 19 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,36 @@ DerivedData
*.xcuserstate
project.xcworkspace

# Android/IJ
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

# React Webpack Bundle
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# VScode
#
.vscode/
30 changes: 30 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from 'react'
import {
AppRegistry
} from 'react-native'
import { Provider } from 'react-redux'
import { createStore } from 'redux'
import NBA from './App/reducers'

import { getFormattedDate } from './App/utils/date'

const store = createStore(
NBA
)

console.log(store.getState())
console.disableYellowBox = true // for development

import NBAreact from './App/NBAreact'

const App = () => {
return (
<Provider store={store}>
<NBAreact />
</Provider>
)
}

export default App

AppRegistry.registerComponent('Swish', () => App)
Binary file modified App/Assets/Images/atl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/bkn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/bos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/cha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/chi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/cle2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/dal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/den2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/det2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/east.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/gsw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/hou.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/ind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/lac2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/lal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/mem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/mia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/mil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/min.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/nba.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/Assets/Images/nop2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/nyk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/okc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/orl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/phi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified App/Assets/Images/phx.png
Binary file modified App/Assets/Images/por.png
Binary file modified App/Assets/Images/sac.png
Binary file modified App/Assets/Images/sas.png
Binary file added App/Assets/Images/sea.png
Binary file added App/Assets/Images/tor2.png
Binary file modified App/Assets/Images/uta.png
Binary file modified App/Assets/Images/was.png
Binary file added App/Assets/Images/west.png
Binary file added App/Assets/Images/whitebballstraight.png
Binary file added App/Assets/fonts/Rubik-Light.ttf
Binary file not shown.
Binary file added App/Assets/icons/basketball.png
Binary file added App/Assets/icons/scoreboard.png
Binary file added App/Assets/icons/trophy.png
Binary file added App/Assets/oldImages/atl.png
File renamed without changes
File renamed without changes
Binary file added App/Assets/oldImages/bkn.png
Binary file added App/Assets/oldImages/bos.png
File renamed without changes
Binary file added App/Assets/oldImages/cha.png
Binary file added App/Assets/oldImages/chi.png
Binary file added App/Assets/oldImages/cle.png
Binary file added App/Assets/oldImages/dal.png
Binary file added App/Assets/oldImages/den.png
Binary file added App/Assets/oldImages/det.png
Binary file added App/Assets/oldImages/gsw.png
Binary file added App/Assets/oldImages/hou.png
File renamed without changes
Binary file added App/Assets/oldImages/ind.png
Binary file added App/Assets/oldImages/lac.png
Binary file added App/Assets/oldImages/lal.png
File renamed without changes
Binary file added App/Assets/oldImages/mem.png
Binary file added App/Assets/oldImages/mia.png
Binary file added App/Assets/oldImages/mil.png
Binary file added App/Assets/oldImages/min.png
Binary file added App/Assets/oldImages/nba.png
Binary file added App/Assets/oldImages/nop.png
Binary file added App/Assets/oldImages/nyk.png
Binary file added App/Assets/oldImages/okc.png
Binary file added App/Assets/oldImages/orl.png
Binary file added App/Assets/oldImages/phi.png
Binary file added App/Assets/oldImages/phx.png
Binary file added App/Assets/oldImages/por.png
File renamed without changes
File renamed without changes
Binary file added App/Assets/oldImages/sac.png
Binary file added App/Assets/oldImages/sas.png
Binary file added App/Assets/oldImages/tor.png
Binary file added App/Assets/oldImages/trophy.png
Binary file added App/Assets/oldImages/uta.png
Binary file added App/Assets/oldImages/was.png
10 changes: 10 additions & 0 deletions App/Assets/svg/basketball.svg
27 changes: 27 additions & 0 deletions App/Assets/svg/scoreboard.svg
19 changes: 19 additions & 0 deletions App/Assets/svg/trophy.svg
Loading

0 comments on commit f83fc78

Please sign in to comment.