@doubledutch/cli
Build DoubleDutch extensions with React NativeCurrently, 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.
<a href="https://code.visualstudio.com/"><img alt="Visual Studio Code" src="https://code.visualstudio.com/favicon.ico" height="20" width="20" /></a>
<a href="https://atom.io/"><img alt="Atom" src="https://atom.io/favicon.ico" height="20" width="20" /></a>
<a href="https://www.sublimetext.com/"><img alt="Sublime Text" src="https://www.sublimetext.com/favicon.ico" height="20" width="20" /></a>
- 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