Created
March 11, 2019 10:41
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd .. | |
react-native init YourAwesomeProject | |
cd YourAwesomeProject | |
react-native run-android | |
yarn remove react-native | |
yarn add [email protected] | |
yarn remove babel-preset-react-native | |
yarn add [email protected] | |
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