0.1.0 • Published 2 years ago

react-native-positron-cli v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

�� React-Native-Positron CLI

Snapshot of React Native Positron running in React Native, Electron, and the web

React-Native-Positron (RNP) is a project that bundles React Native, React-Native-Web, and Electron. It allows you to build cross-platform applications for Android, iOS, Windows, MacOS, Linux, and the web all from one codebase.

Usage

# Generate a react-native-positron project in the current working directory and run npm install
npx react-native-positron-cli init <PROJECTNAME> --install
# See usage examples
npx react-native-positron-cli --help

Alternatively, if you'd like to generate a project without electron for targetting Android, iOS, and the web, you can pass an electron=false argument:

# Generate a react-native-positron project in the current working directory without electron support and run npm install
npx react-native-positron-cli init <PROJECTNAME> electron=false --install

React Native Positron Quickstart

You can check out a boilerplate React Native Positron Quickstart Project for a project template and showcase of react-native-positron's capabilities.

Medium Project Writeup

You can read more about how RNP works and build your own application by checking out my Project Writeup on Medium.