0.0.1 • Published 4 years ago
@torigetz/rncli v0.0.1
rncli
Convenient CLI for React Native apps
Install
$ npm install -g @torigetz/rncliHow to use
First install preset (rncli-expo-ts for example)
$ npm install -g rncli-expo-tsCreate file rncli.config.js in yourt RN app root
module.exports = {
preset: 'rncli-expo-ts' // insert the installed preset here
}Also you can use custom config
$ rncli --config ./custom-config.jsYou can create component
$ rncli generate component button
# or
$ rncli g c button
# or create container
$ rncli g container appAll templates:
$ rncli g helpOr get help
$ rncli --helpDebug mode
$ export RNCLI_DEBUG=true
$ rncli g c textfield # output with debug logs...0.0.1
4 years ago