1.1.1 • Published 9 years ago
react-native-install-on-device v1.1.1
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 dependencythis 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 devicesome 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:prodRelated projects
Contact
issues, features (and PRs!) are always welcomed :)
License
the code is available under the GPL v3 license.