Skip to content

Instantly share code, notes, and snippets.

@bacarybruno
Created March 11, 2019 10:41
Show Gist options
  • Save bacarybruno/c14f24903e281c3b14864af61e541a0a to your computer and use it in GitHub Desktop.
Save bacarybruno/c14f24903e281c3b14864af61e541a0a to your computer and use it in GitHub Desktop.
Create React Native project with base packages (redux and icons) and code recommanded structure.
cd ..
react-native init YourAwesomeProject
cd YourAwesomeProject
react-native run-android
yarn remove react-native
yarn add react-native@0.55.4
yarn remove babel-preset-react-native
yarn add babel-preset-react-native@4.0.0
yarn add prop-types react-native-vector-icons redux redux-logger redux-persist redux-saga
yarn add -D babel-core@latest babel-loader@latest eslint eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react flow-bin flow-typed jest react-test-renderer
curl https://gist.githubusercontent.com/bacarybruno/c438a9f79c28eb7b735ee0e47ca712c0/raw/03ca8955c781ad90c1ab2514dab128c6ae81dcae/eslintrc-react.json -o eslintrc.json
mkdir -p src/{actions,api,components,containers,reducers,sagas}
react-native run-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment