A package for resetting your React project to its initial state with a simple command. The tool automatically cleans up specified files and directories, while preserving your configuration settings.
- Resets React app to the initial state
- Creates a configuration file (
reset.config.json
) - Supports the removal and creation of files in
src/
- Automatically formats JavaScript and CSS files using Prettier 🎨
- Customizable ignore files (e.g., to preserve certain directories or files)
Install the package globally or locally using npm
:
npm install react-restart
Or install it with local npm
:
git clone https://github.com/ITSHahrad/react-restart
cd react-restart.git
npm i
npm i -g .