Skip to content

Instantly share code, notes, and snippets.

@robertosousa1
Last active February 7, 2023 02:13
Show Gist options
  • Save robertosousa1/9e0f438c6f3b709727eb858c4fd1ab70 to your computer and use it in GitHub Desktop.
Save robertosousa1/9e0f438c6f3b709727eb858c4fd1ab70 to your computer and use it in GitHub Desktop.

DIOmarketplace

Comandos usados no módulo Redux do curso React Native da Digital Innovation One.


1. npx react-native init DIOmarketplace

2. yarn add eslint -D
   yarn eslint --init
   > To check syntax, find problems, and enforce code style
   > JavaScript modules (import/export)
   > React
   > Does your project use TypeScript? › No
   > Where does your code run? (Desmarcar todas as opções)
   > Use a popular style guide
   > Airbnb: https://github.com/airbnb/javascript
   > JavaScript
   > Would you like to install them now with npm? › Yes
   Remover o "package-lock.json" e rodar no terminal "yarn" para instalar as dependências pelo Yarn (caso esteja utilizado o NPM para instalação das dependências, ignorar esta etapa).
   
3. yarn add prettier eslint-config-prettier eslint-plugin-prettier babel-eslint -D
   
4. yarn add @react-navigation/native @react-navigation/stack
   yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
   
5. yarn add styled-components

6. yarn add react-native-vector-icons

7. yarn global add json-server

8. yarn add axios

9. yarn add redux react-redux

10. yarn add immer

11. yarn add redux-saga

12. yarn add lottie-react-native  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment