delete-react-zombies

2.0.1 • Public • Published

delete-react-zombies

npm version npm

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

delete-react-zombies

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

Readme

Keywords

none

Package Sidebar

Install

npm i delete-react-zombies

Weekly Downloads

1,997

Version

2.0.1

License

MIT

Unpacked Size

16.6 kB

Total Files

8

Last publish

Collaborators

  • cvarisco