@doubledutch/cli
v2.5.7
Published
DoubleDutch developer command-line interface.
Downloads
115
Readme
@doubledutch/cli
Build DoubleDutch extensions with React Native
Currently, DoubleDutch developer tools for React Native extensions are only supported on Mac OS X.
Prerequisites
Getting Started
- Install the
doubledutch
command line tools
npm i -g @doubledutch/cli
- Create an empty folder for your project and initialize it.
cd ~/code/project
doubledutch init
- Run the sample code in the simulator
cd ~/code/project/mobile
npm run ios
Make edits to the code in your favorite editor.
Hit
⌘ R
in the simulator to refresh.⌘ D
for debugging.
Commands
init initializes a new DoubleDutch extension in the current empty folder
install <eventID> installs the DoubleDutch extension to an event
login sets your DoubleDutch developer account credentials
publish publishes the DoubleDutch extension in the current folder