Skip to content

Node tool which creates visualization of React components' dependencies as a tree

License

Notifications You must be signed in to change notification settings

occmundial/react-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactTree

Node tool which creates visualization of react component dependencies as a tree

Usage

Add on dependencies directly from github

  "react-tree": "git+https://github.com/occmundial/react-tree"

Add a script to run it on package.json

  "build-tree": "react-tree ./src 2 false"

React-tree accepts 3 parameters

  1. Source folder (mandatory)
  2. Logging level (0-2) from 0 being no logging to 2 being detailed logging. Used mostly for debugging.
  3. Include non-react components. It will include all other imports even if they are not part of your source components.

About

Node tool which creates visualization of React components' dependencies as a tree

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published