[
  {
    "path": ".gitignore",
    "content": "RocketseatReactNative-*.vsix\nnode_modules"
  },
  {
    "path": ".travis.yml",
    "content": "language: node_js\n\nnode_js:\n  - '8'\n\nbranches:\n  only:\n    - master\n\ncache:\n  yarn: true\n  \nbefore_publish:\n  - yarn global add vsce\n\npublish:\n  - vsce package\n  - vsce publish -p $TOKEN_VSCODE\n  \n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2019 Claudio Junior\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "<!--\n*** Obrigado por estar vendo o nosso README. Se você tiver alguma sugestão\n*** que possa melhorá-lo ainda mais dê um fork no repositório e crie uma Pull\n*** Request ou abra uma Issue com a tag \"sugestão\".\n*** Obrigado novamente! Agora vamos rodar esse projeto incrível :D\n-->\n\n[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/rocketseat.RocketseatReactNative.svg?label=Visual%20Studio%20Marketplace)](https://marketplace.visualstudio.com/items?itemName=rocketseat.RocketseatReactNative)\n[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/rocketseat.RocketseatReactNative.svg)](https://marketplace.visualstudio.com/items?itemName=rocketseat.RocketseatReactNative)\n[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/rocketseat.RocketseatReactNative.svg)](https://marketplace.visualstudio.com/items?itemName=rocketseat.RocketseatReactNative)\n![GitHub](https://img.shields.io/github/license/rocketseat/rocketseat-vscode-react-native-snippets.svg)\n\n<!-- PROJECT LOGO -->\n<br />\n<p align=\"center\">\n  <a href=\"https://rocketseat.com.br\">\n    <img src=\"https://raw.githubusercontent.com/Rocketseat/rocketseat-vscode-react-native-snippets/master/images/rocketseat_logo.png\" alt=\"Logo\">\n  </a>\n\n  <h3 align=\"center\">React Native Snippets</h3>\n</p>\n\n<!-- TABLE OF CONTENTS -->\n\n## Tabela de Conteúdo\n\n- [Tabela de Conteúdo](#tabela-de-conte%C3%BAdo)\n- [Sobre o Projeto](#sobre-o-projeto)\n- [Começando](#come%C3%A7ando)\n  - [Instalação](#instala%C3%A7%C3%A3o)\n  - [Linguagens Suportadas](#linguagens-suportadas)\n  - [Como Usar?](#como-usar)\n  - [Snippets](#snippets)\n- [Contribuição](#contribui%C3%A7%C3%A3o)\n- [Licença](#licen%C3%A7a)\n- [Contato](#contato)\n\n<!-- ABOUT THE PROJECT -->\n\n## Sobre o Projeto\n\nEste projeto visa a disponibilização de um conjunto de Snippets ou atalhos para criação de componentes e arquivos de configuração em aplicações React Native.\n\n## Começando\n\n### Instalação\n\nPara instalar uma extensão você pode executar o **Command Pallete** através do comando `Ctrl + Shift + P` ou `Cmd + Shift + P` , digitar `Install Extensions` e por fim dar um `Enter`, feito isso pesquise por Rocketseat e você vai encontrar a extensão **Rocketseat React Native**.\n\n### Linguagens Suportadas\n\n- JavaScript (.js)\n- TypeScript (.ts)\n- JavaScript React (.jsx)\n- TypeScript React (.tsx)\n\n### Como Usar?\n\nQuando você instalar a Extensão o desenvolvimento em React Native será bem mais divertido.\n\n![Create React Native Component](https://raw.githubusercontent.com/Rocketseat/rocketseat-vscode-react-native-snippets/master/images/component.gif)\n\n### Snippets\n\nAbaixo segue a lista com todos os Snippets disponíveis e os gatilhos para cada um. O **⇥** significa a tecla `TAB`.\n\n|                 Gatilho | Conteúdo                                                                      |\n| ----------------------: | ----------------------------------------------------------------------------- |\n|                `rnfc →` | Cria um Componente **Functional**                                             |\n|           `styled-rn →` | Cria um arquivo de Estilização com **Styled Components**                      |\n\n<!-- CONTRIBUTING -->\n\n## Contribuição\n\nContribuições são o que fazem a comunidade open source um lugar incrível para aprender, inspirar e criar. Qualquer contribuição que você fizer será **muito apreciada**.\n\n1. Faça um Fork do projeto\n2. Crie uma Branch para sua Feature (`git checkout -b feature/FeatureIncrivel`)\n3. Adicione suas mudanças (`git add .`)\n4. Comite suas mudanças (`git commit -m 'Adicionando uma Feature incrível!`)\n5. Faça o Push da Branch (`git push origin feature/FeatureIncrivel`)\n6. Abra uma Pull Request\n\n<!-- LICENSE -->\n\n## Licença\n\nDistribuído sob a licença MIT. Veja `LICENSE` para mais informações.\n\n<!-- CONTACT -->\n\n## Contato\n\nRocketseat - [Github](https://github.com/rocketseat) - **oi@rocketseat.com.br**\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"rocketseatreactnative\",\n  \"description\": \"React Native snippets created by Rocketseat.\",\n  \"version\": \"3.0.1\",\n  \"displayName\": \"Rocketseat React Native\",\n  \"publisher\": \"rocketseat\",\n  \"icon\": \"images/rocketseat.png\",\n  \"galleryBanner\": {\n    \"color\": \"#7159c1\",\n    \"theme\": \"dark\"\n  },\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/Rocketseat/rocketseat-vscode-react-native-snippets\"\n  },\n  \"engines\": {\n    \"vscode\": \"0.10.x\"\n  },\n  \"categories\": [\n    \"Snippets\"\n  ],\n  \"contributes\": {\n    \"snippets\": [\n      {\n        \"language\": \"javascriptreact\",\n        \"path\": \"./snippets/snippets.json\"\n      },\n      {\n        \"language\": \"javascript\",\n        \"path\": \"./snippets/snippets.json\"\n      },\n      {\n        \"language\": \"typescript\",\n        \"path\": \"./snippets/snippets-ts.json\"\n      },\n      {\n        \"language\": \"typescriptreact\",\n        \"path\": \"./snippets/snippets-ts.json\"\n      }\n    ]\n  },\n  \"devDependencies\": {\n    \"vsce\": \"^1.75.0\"\n  }\n}\n"
  },
  {
    "path": "snippets/snippets-ts.json",
    "content": "{\n  \"styles\": {\n    \"prefix\": \"styled-react-native\",\n    \"body\": [\n      \"import styled from 'styled-components/native';\",\n      \"\",\n      \"export const ${1:Container} = styled.${2:View}`\",\n      \"  ${3}\",\n      \"`;\",\n      \"\"\n    ],\n    \"description\": \"Create React Native Styled Components file\"\n  },\n\n  \"componentFunctionalTypescript\": {\n    \"prefix\": \"rnfc\",\n    \"body\": [\n      \"import React from 'react';\",\n      \"import { View } from 'react-native';\",\n      \"\",\n      \"// import { Container } from './styles';\",\n      \"\",\n      \"const ${1:${TM_DIRECTORY/^.*(\\\\/|\\\\\\\\)([^(\\\\/|\\\\\\\\)]+)$/$2/}}: React.FC = () => {\",\n      \"  return <View />;\",\n      \"}\",\n      \"\",\n      \"export default ${1:${TM_DIRECTORY/^.*(\\\\/|\\\\\\\\)([^(\\\\/|\\\\\\\\)]+)$/$2/}};\"\n    ],\n    \"description\": \"Create React Native TypeScript Functional Component\"\n  }\t\n}\n"
  },
  {
    "path": "snippets/snippets.json",
    "content": "{\n  \"styles\": {\n    \"prefix\": \"styled-react-native\",\n    \"body\": [\n      \"import styled from 'styled-components/native';\",\n      \"\",\n      \"export const ${1:Container} = styled.${2:View}`\",\n      \"  ${3}\",\n      \"`;\",\n      \"\"\n    ],\n    \"description\": \"Create React Native Styled Components file\"\n  },\n\n  \"componentFunctionalTypescript\": {\n    \"prefix\": \"rnfc\",\n    \"body\": [\n      \"import React from 'react';\",\n      \"import { View } from 'react-native';\",\n      \"\",\n      \"// import { Container } from './styles';\",\n      \"\",\n      \"const ${1:${TM_DIRECTORY/^.*(\\\\/|\\\\\\\\)([^(\\\\/|\\\\\\\\)]+)$/$2/}} = () => {\",\n      \"  return <View />;\",\n      \"}\",\n      \"\",\n      \"export default ${1:${TM_DIRECTORY/^.*(\\\\/|\\\\\\\\)([^(\\\\/|\\\\\\\\)]+)$/$2/}};\"\n    ],\n    \"description\": \"Create React Native Functional Component\"\n  }\t\n}\n"
  }
]