/rnw-bp

react-native-web boiler plate

Primary LanguageTypeScript

React-Native-Web boilerplate

Intro

Featuring

  • [ iOS, Android, Web ]
  • Typescript
  • Redux, Redux-saga, Redux-toolkit
  • Axios
  • Styled-Components
  • Storybook
  • husky, lint-staged
  • Jest
  • Eslint, Prettier

Install dependencies

brew install node
brew install watchman
sudo gem install cocoapods
npm i -g yarn

Install code

yarn install
cd ios
pod install

Set Husky

yarn remove husky
yarn add -D husky@4.0.0
yarn add -D husky

Run

yarn start
yarn ios
yarn android
yarn web

Storybook

yarn storybook

Env change

yarn env:dev
yarn env:staging
yarn env:pro

SourceTree with Husky

install sourcetree cli and...

stree

Test

yarn test
yarn test:watch
yarn test:update