React Native Surrender Save Abandoned

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

Project README

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.

    Open Source Agenda is not affiliated with "React Native Surrender" Project. README Source: tiaanduplessis/react-native-surrender
    Stars
    53
    Open Issues
    3
    Last Commit
    3 years ago
    License
    MIT

    Open Source Agenda Badge

    Open Source Agenda Rating