preview-file-gallery
v0.0.8
Published
> make a assumption that you have a react project, and you want to preview the file dependency structure of your project, this tool will help you to do that. > > Visualize the file dependency structure of your project >
Downloads
9
Readme
what does it do
make a assumption that you have a react project, and you want to preview the file dependency structure of your project, this tool will help you to do that.
Visualize the file dependency structure of your project
/path/to/your/react/project/src/index.js
├── index.less
├── index.js
├── util.js
└── pages
└── home
├── index.jsx
└── index.less
then the tool will use src as the root directory, the given file as the entry file, and then generate a file dependency graph, and then open the graph in the browser.
## install and use
```bash
# install
yarn global add preview-file-gallery
# use
preview-file-gallery [/path/to/your/react/project/src/index.js]