【文件属性】:
文件名称:findead:死React组件查找器
文件大小:123KB
文件格式:ZIP
更新时间:2021-02-05 18:54:22
react shell components finder dead
:magnifying_glass_tilted_left: Findead
死React组件查找器
:bullseye: 动机:死亡的组成部分
在大型甚至小型项目中,很多时候我们忘记了代码中从未使用过的某些组件,也从来没有花时间来逐个搜索并删除。
:camera: 示范
查找完成后,您将看到:
组件名称
每个组件的路径
每个文件的大小
有多少个失效组件
浏览了多少文件
执行花费了多少时间
:laptop: 科技类
只是猛击:)
:inbox_tray: 安装
Npm
npm i -g findead
纱
yarn add findead
:hammer: 用法
findead < folder>
通过文件夹以在js,jsx,ts和tsx文件中获取所有组件。
obs:默
【文件预览】:
findead-master
----.github()
--------release-drafter.yml(298B)
--------workflows()
----findead.sh(5KB)
----scripts()
--------deploy_site.sh(185B)
--------deploy_package.sh(81B)
--------install_bats.sh(415B)
----.npmignore(39B)
----LICENSE(1KB)
----docs()
--------.vuepress()
--------README.md(1KB)
----tests()
--------ignored_types()
--------components()
--------index.bats(2KB)
--------imports()
--------ignored_paths()
--------imports_commented()
----.gitignore(77B)
----package-lock.json(407KB)
----package.json(940B)