Getting only the json output
Opened this issue · 0 comments
sdzaveri commented
Hello! I'm running the dependency report with the following command:
dependency-report '../applications/**/*.tsx' --packages=@opengov/component-library/capital --parser=typescript >> capital.json
But the file ends up with all of the additional output (like below) on top and I have to manually delete it. Is there a way to run without exporting this to the file as well?
these are the packages [ { name: '@opengov/compose-app/immutable',
exportNames: [ 'List' ] },
{ name: '../contextMenus/components/ContextMenu',
exportNames: [ 'IContextMenu' ] },
{ name: '../contextMenus/types',
exportNames: [ 'IContextMenuMetadata' ] },
{ name: '../layout/DefaultPageLayout',
exportNames: [ 'IDefaultPageLayoutProps' ] },
{ name: '../modals/types', exportNames: [ 'IModalMetadata' ] },
{ name: '../navigation', exportNames: [ 'INavigationProps' ] },
{ name: '../types', exportNames: [ 'ISession' ] } ]