/mobile-commander

A collection of useful React Native commands

Primary LanguageShellMIT LicenseMIT

Mobile Commander

A collection of useful React Native commands to help React Native developers. These commands work really well but do not limit themselves to 🔥 ignite projects.

Install

npm i -g mobile-commander

Mobile Commander provides these React Native terminal commands

⭐ runios

Compiles and runs React-Native project an iOS Simulator of your choice

  • alias - rios
  • params - iPhone version (default 7), e.g. runios 5s

⭐ runandroid

Compiles and runs React-Native project for Android emulator

  • alias - roid

⭐ lintstandard

Runs standard linter through snazzy - ALWAYS uses latest standard!

⭐ newclear

Performs extreme cleanup (slow) for mega-cache issues in React Native

⭐ reactotron

Runs local project's reactotron UI

  • alias - tron

⭐ awhole

Starts adb logcat to show a whole black hole of Android logs

  • stands for - android whole ;)

⭐ alog

Shows logs specifically from React Native Android

  • stands for - android log

⭐ ashake

Shakes Android device so dev menu shows

  • stands for - android shake

⭐ alist

List all Android emulators

  • stands for - android list

Wishlist

  • Command: devices - Show android devices
  • Command: reset-sim - Resets iOS simulator
  • Feature: List help for all commands installed
  • Feature: Adjust runios to also take ipad as a param
  • Support windows