Babazon / tsboilerplate

React Native with Typescript Transformer Boilerplate for hobby projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status

Install node modules and pods

$ yarn $ cd ios && pod install

Rename the app

$ yarn run react-native-rename <your app name here>

Start Metro

$ yarn start

Build the app

$ yarn ios $ yarn android

Alternatively, install VSCode extension "React Native Tools" and add the followling launch configuration items to your VSCode launch.json. This way you can select "Debug IOS/Android" in your VSCode debug menu

"configurations": [
  {
      "name": "Debug Android",
      "program": "${workspaceRoot}/.vscode/launchReactNative.js",
      "type": "reactnative",
      "request": "launch",
      "platform": "android",
      "sourceMaps": true,
      "outDir": "${workspaceRoot}/.vscode/.react"
    },
    {
      "name": "Debug iOS",
      "cwd": "${workspaceFolder}",
      "type": "reactnative",
      "request": "launch",
      "platform": "ios",
      "sourceMaps": true,
      "outDir": "${workspaceRoot}/.vscode/.react"
    }
]

About

React Native with Typescript Transformer Boilerplate for hobby projects


Languages

Language:Objective-C 30.2%Language:Java 19.0%Language:JavaScript 18.4%Language:Starlark 13.9%Language:TypeScript 10.0%Language:Ruby 4.5%Language:Shell 4.0%