#!/usr/bin/env bash npm_i() { (which $1 &> /dev/null) || { yellow "Installing $2" npm i -g $2 } } npm_i eq edn-eq npm_i react-native react-native-cli npm_i detox detox-cli npm_i xml2json xml2json-command npm_i tern tern npm_i git-ssb git-ssb npm_i git-ssb-web git-ssb-web