Skip to content

Instantly share code, notes, and snippets.

@robertosousa1
Last active December 30, 2020 16:12
Show Gist options
  • Save robertosousa1/692bbaa69313644f21f8ef25a740a610 to your computer and use it in GitHub Desktop.
Save robertosousa1/692bbaa69313644f21f8ef25a740a610 to your computer and use it in GitHub Desktop.

Clone Instagram - Digital Innovation One

Comandos usados no projeto "Clonando o feed do Instagram com React Native" da Digital Innovation One.


1. npx react-native init cloneInstagram

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 global add json-server

5. yarn add @react-navigation/native @react-navigation/stack

6. yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view

7. yarn add styled-components  

8. yarn add axios  

9. yarn add prop-types
   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment