1.1.1 • Published 7 years ago

react-native-install-on-device v1.1.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
7 years ago

react-native-install-on-device

automate DEV and PROD installation process

npm-version npm-downloads peer-dependencies devDependencies dependencies GPLv3

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.