Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react.cordova

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react.cordova

Reco unifies React.js and Cordova into one CLI which bundles both platforms together and provides the developer with the ability to generate Cordova hybrid cross-platform applications built in React .

  • 1.6.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
75
increased by257.14%
Maintainers
1
Weekly downloads
 
Created
Source

Reco (react.cordova)

Welcome to Reco (React+Cordova). Reco unifies React.js and Cordova into one CLI which bundles both platforms together and provides the developer with the ability to generate Cordova hybrid cross-platform applications built in React.js. This bundled platform facilitates and automates project initialization, compilation and build actions for React.js developers who wish to build web/mobile/desktop applications using the powerful and most vast Cordova environment. Reco is the bundle where both Cordova and React.js platforms merge and work together as one. Enjoy your coding and development experience using Reco!

React.js         Cordova
      React.js                            Cordova

Installing Reco CLI

npm install -g react.cordova

Initialize a new bundle project

reco init com.example.hello "Hello World"

Note: creates both react-app and cordova-app and then will merge one into the other

Explore Reco CLI

To get full CLI reference of all commands and features currently available, run the following command

reco -info

Serve debug mode

To run a React or Cordova simulation

reco start

*You can choose one of two methods to serve.

Project build

Perform a build action for your project using the following command

reco build
  1. Builds react-app to publish (in: ./react-js/build).
  2. Builds cordova-app for mobile and other platforms.

Note: will generate an apk installable package for Android devices
Note: will generate an xcworkspace XCode project that can be compiled and built for deployment on iOS devices

Integrated Cordova CLI

To run Cordova CLI simply prepend the reco prefix to any Cordova command line

For example:

reco cordova <any cordova command line to run>

reco platform

reco platform <add/rm> <cordova platform>

reco plugin <add/rm> <cordova plugin>

Learn more about Cordova: Cordova get started.

Integrated React.js CLI

You can run React.js CLI from within the project's directory

For example:

reco start (Choose the first option)

reco test

reco install <npm packages for react>

reco uninstall <npm packages for react>

reco react <any react command line to run>

react <any react command line to run>

Learn more about React.js apps: create React.js app documentation
Learn programming in React.js: React.js documentation



Prerequisites

npm

get-npm

Java

Recommended version 1.8.0 get-Java

Cordova
npm install -g cordova

If you have any problem, please let us know here, and we will make an effort to resolve it soon

Feel free to editing the code yourself: go to bin/cli.js

Created by Or Chuban (Choban)

Credits: Arik Wald

Keywords

FAQs

Package last updated on 10 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc