react-native-install-on-device
v1.1.1
Published
automate DEV and PROD installation process
Downloads
19
Readme
react-native-install-on-device
automate DEV and PROD installation process
Install
$ npm i --save-dev react-native-install-on-device
$ npm i --save-dev react-native-gradle-config # peer dependency
this will add the following script to package.json
:
"installOnDevice": "installOnDevice"
Use
$ npm run installOnDevice # installs dev version on device
$ npm run installOnDevice -- -p # installs prod version on device
some people prefer to add also the following script to package.json
:
"installOnDevice:prod": "npm run installOnDevice -- -p"
and then run the prod version like so:
$ npm run installOnDevice:prod
Related projects
Contact
issues, features (and PRs!) are always welcomed :)
License
the code is available under the GPL v3 license.