0.2.4 • Published 9 years ago
rctapp v0.2.4
rctapp
React Native CLI Helper Tools
Install
Stable
$ npm install -g rctapp
Exciting
$ npm install -g git://github.com/bh5-js/rctapp.git
Usage
Required: Add bundleId
prop to your package.json
and set it to your apps bundleId
Example
...
"bundleId": "com.bodhi5.demo",
...
Start Packager and Babel Watcher
$ rctapp dev
Build to sim
$ rctapp build-sim
Launch sim
$ rctapp launch-sim
Clean Xcode project
$ rctapp clean
Notes
Currently React and React Native do not whitelist all babeljs transforms.
So as a temporary fix you can precompile your js with non whitelisted babel transforms
by adding the -b
or --babel
flag to any command (precompiles with babel on --stage 0
)
License
MIT