react-native-surrender
v2.0.0
Published
CLI script that clears Watchman, removes node_modules and cleans cache and other goodies
Downloads
4
Readme
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!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Or open up a issue.
License
Licensed under the MIT License.