Skip to content

taboulot/rn-game-over

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rn-game-over

React Native kill me. Give me an other life.

Have you ever been in this situation when changes that you made in your code, are not considered by RN in your simulator 🧐

You tried everything : delete RN cache, ios build, android build...

It generally works but you don't really know why and which command was the winner.

This package is just a script that run a set of commands for you 🤩 and save your time 🕔

Usage

help

Install

With npm, run

$ npm install -g rn-game-over

Dependency manager

This script has command support for both npm and yarn.

Options descriptions

  • -o:

    • rm -rf ~/Library/Developer/Xcode/DerivedData/*
    • rm -rf ~/Library/Developer/Xcode/Archives/*
    • rm -rf ./ios/build
  • -a:

    • ./android/gradlew clean
    • rm -rf ./android/build
    • rm -rf ./android/app/build
    • rm -rf android/.gradle
    • rm ./android/.idea/modules.xml
    • rm ./android/**/*.iml
  • -j:

    • watchman watch-del-all
    • rm -rf $TMPDIR/haste-map-react-native-packager-*
    • rm -rf $TMPDIR/metro-bundler-cache-*
    • <DEPENDENCY_MANAGER> cache clean
    • rm -rf ~/.rncache
  • -p:

    • rm -rf ./ios/Pods
    • bundle exec pod install
  • -m:

    • rm -rf ./node_modules
    • <DEPENDENCY_MANAGER> install
  • -c:

    • <DEPENDENCY_MANAGER> jest --clearCache

Contributors

Made with contrib.rocks.

License

MIT

About

React Native kill me. Give me an other life.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •