@doubledutch/cli

DoubleDutch developer command-line interface.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@doubledutch/cli
0102.5.73 years ago5 years agoMinified + gzip package size for @doubledutch/cli in KB

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

  1. Install the doubledutch command line tools

npm i -g @doubledutch/cli

  1. Create an empty folder for your project and initialize it.

cd ~/code/project
doubledutch init

  1. Run the sample code in the simulator

cd ~/code/project/mobile
npm run ios

  1. 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>

  1. 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