2.0.1 • Published 5 years ago

delete-react-zombies v2.0.1

Weekly downloads
260
License
MIT
Repository
github
Last release
5 years ago

npm version npm

CLI to search and delete unimported 🧟 components in your react files

Install

$ npm install delete-react-zombies

Usage

$ delete-react-zombies

Options:

  • --path define the path where search zombies (default=process.cwd)
  • --verbose show in the console the file content to be deleted
  • --force don't ask confirm before delete files.

How it works

The package create a list of components in your application. Based on that, the library search in your files content the keyword import ${componentName}, where the componentName variable is the name of the component that is exported.

Contributing

Check the issue list to contribute on some activities or to advice new features! The library is open to everybody, contribute improve your skills.

delete-react-zombies is maintained under the Semantic Versioning guidelines.

Use npm run build:ts while coding.

License

MIT © Christian Varisco

2.0.1

5 years ago

2.0.0

5 years ago

0.0.4

5 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago