This boilerplate aims on writing react code once that runs on all platforms 📱💻🌐🔥
utilizing
- React
- React-Native
- Electron
and
- TypeScript
- Jest
- Babel
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
npm i
cd ios
pod install
npm run ios
start your emulator or connect a device with usb debugging enabled
npm run android
npm run electron
npm run web
- When the Shell (.sh) scripts can't be executed: Set the bash path (under Windows)
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
skipped enabling windows because react-native windows works on react-native 0.59 and react-native 0.61 is used
Props to react-everywhere. that template delivered the base for this boilerplate.
React-new is MIT licensed. By contributing to React-new, you agree that your contributions will be licensed under its MIT license.
- audit fix to get rit of a lot of vunerabilities
- changed entry Point to FunctionComponent because in all projects i used this boilerplate there was no reason not to do so (and even reason to do so)
- removed windows specific stuff since react-native-windows doesn't seem to receive a update any time soon
- Removed Redux because its functionality is now provided through react hooks