react-native-clean

0.0.3 • Public • Published

react-native-clean

Download

A simple tool to clean up your React Native project by removing unnecessary folders and files, reducing the size of the project before sharing.

Installation

To use react-native-clean, you don't need to install it globally. You can run it directly using npx.

npx react-native-clean

How to use

Navigate to the root directory of your React Native project:

cd path/to/your/react-native-project

Run the clean command:

npx react-native-clean

This will remove the specified folders and files from your project

What It Does

The script will delete the following folders and files from your React Native project:

Folders:

  • node_modules
  • ios/build
  • ios/Pods
  • *.xcworkspace
  • android/build
  • android/app/build
  • android/.gradle
  • android/.idea
  • .git
  • .buildkite
  • .vscode
  • .yarn/cache

Files:

  • yarn.lock
  • package.lock
  • ios/Podfile.lock

Example

After running npx react-native-clean, your project structure will be cleaned by removing the specified folders and files, which helps in reducing the project size for sharing or archiving purposes.

Repository

You can find the source code and report any issues on the GitHub repository

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the ISC License - see the LICENSE file for details.

Author

Nikhil Sharma

Bugs and Issues

If you encounter any bugs or issues, please report them at GitHub repository Issues

Keywords

  • react-native-clean
  • react-native-folder-clean
  • react-native-project-resize

Package Sidebar

Install

npm i react-native-clean

Weekly Downloads

42

Version

0.0.3

License

ISC

Unpacked Size

4.75 kB

Total Files

4

Last publish

Collaborators

  • nikhil.rsharma