Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

tiaanduplessis/react-native-surrender

Repository files navigation

react-native-surrender

CLI script that clears Watchman, removes node_modules and cleans cache and other goodies


Table of Contents

Table of Contents
  • Install
  • Usage
  • Contribute
  • License
  • Install

    $ npm install -g react-native-surrender
    # OR
    $ yarn global add react-native-surrender

    Usage

    $ surrender

    Is equivalent to running

    watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules && npm install && npm cache clean --force
    

    in the current directory.

    Optionally you can use yarn or pnpm as the packager:

    $ surrender --yarn
    $ surrender --pnpm 

    Run gradlew clean and remove build files in the android directory:

    $ surrender --android

    Or start the packager

    $ surrender --start

    Or clear and install pods

    $ surrender --pods

    Contributing

    Contributions are welcome!

    1. Fork it.
    2. Create your feature branch: git checkout -b my-new-feature
    3. Commit your changes: git commit -am 'Add some feature'
    4. Push to the branch: git push origin my-new-feature
    5. Submit a pull request :D

    Or open up a issue.

    License

    Licensed under the MIT License.

    About

    CLI script that clears Watchman, removes node_modules and cleans cache using npm or yarn

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published