react-scripts
This package is a fork of Create React App customized to create a React-Cordova application
cordova must be installed :
npm i cordova -g
As prerequisite you must have nodejs version 10 or above installed and have already create a emulator into Android Studio
to use it :
npx create-react-app test-app \
--scripts-version @telecomsante/cordova-react-scripts
cd test-app
cordova platform add android
yarn build
cordova emulate android
Pristine doc from facebook
This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.