DEV Community

MD Taseen Khan
MD Taseen Khan

Posted on • Originally published at reactjsexample.com on

React Native Web with TypeScript

React Native Web with TypeScript

React Native Web with TypeScript

React Native Web with TypeScript

Featuring

  • iOS
  • Android
  • Web
  • Typescript
  • React-Navigation
  • Jest
  • Eslint

Install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Install dependencies

brew install node
brew install watchman
sudo gem install cocoapods
npm i -g yarn
Enter fullscreen mode Exit fullscreen mode

Install code

git clone git@github.com:ethanneff/react-native-web-typescript.git
cd react-native-web-typescript
yarn install
cd ios
pod install
Enter fullscreen mode Exit fullscreen mode

Run

yarn ios

yarn android

yarn web
Enter fullscreen mode Exit fullscreen mode

Lint

yarn lint
Enter fullscreen mode Exit fullscreen mode

Test

yarn test
Enter fullscreen mode Exit fullscreen mode

Deploy

yarn build
Enter fullscreen mode Exit fullscreen mode

GitHub

View Github

Top comments (0)