Spins a web of components and analyzes prop usage, adoption and more!
npm i -g spinne
To scan for components in your current directory:
spinne scan
This command will output the results in a file 'scan-data.json'.
If you want to output it directly to the console you can use -o console
:
spinne scan -o console
-d, --directory <path>
: scan from a different directory-o, --output <format>
: define the output format-i, --ignore <path>
: define ignored folders. this is set to a reasonable default, but if you need more control over the scanned.tsx
files, you might need to use this. paths will gets matched against all subpaths. You can define multiple via-i fixtures dist
, or-i fixtures -i dist