npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react.cordova

v2.5.4

Published

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 .

Downloads

251

Readme

Reco (react.cordova)

Full documentation

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!

Installing Reco CLI

sudo 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 help
project folder
 |
 |--src
 |--public
 |--platforms
 |--plugins
 |--www
 |--build
 |--hooks
 |--package.json
 |--package-lock.json
 |-- ... 

Serve debug mode

To run a bundle serve React and Cordova simulation

npm start

Project build

Perform a build action for your project using the following command

npm run build
npm run build <cordova platform>

Builds cordova-app for browser, 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:

cordova <any cordova command line to run>

cordova platform

cordova platform <add/rm> <cordova platform>

cordova 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:

npm start

npm test

npm install <npm packages for react>

npm uninstall <npm packages for react>

npm <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

project folder
 |
 |--cordova
 |    |
 |    |--hooks
 |    |--platforms
 |    |--plugins
 |    |--www
 |    |--package.json
 |    |--package-lock.json
 |    |-- ...
 |
 |--react-js
 |    |--src
 |    |--public
 |    |--build
 |    |--package.json
 |    |--package-lock.json
 |    |-- ... 

Serve debug mode

To run a bundle serve React and Cordova simulation

reco start

or

npm start

Project build

Perform a build action for your project using the following command

reco build <cordova platform>

or

npm run build <cordova platform>

*Node: <cordova platform> is not requred.

Builds cordova-app for browser, 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 problems, please let us know here, and we will make our best effort to resolve it soon

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

If you have any private problems please ask to support [here] (https://www.fiverr.com/share/5bpN56)

Created by UIDB