npm.io
0.1.0 • Published 4 years agoCLI

react-native-positron-cli

Licence
ISC
Version
0.1.0
Deps
1
Size
40 kB
Vulns
0
Weekly
0

��

React-Native-Positron CLI

Build native mobile applications, desktop applications, and web applications with React

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.

Keywords