react-native-surrender

2.0.0 • Public • Published

Table of Contents

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.

    Readme

    Keywords

    none

    Package Sidebar

    Install

    npm i react-native-surrender

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    6.16 kB

    Total Files

    5

    Last publish

    Collaborators

    • tiaanduplessis