Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Getting only the json output #15

Open
sdzaveri opened this issue Apr 3, 2020 · 0 comments
Open

Getting only the json output #15

sdzaveri opened this issue Apr 3, 2020 · 0 comments

Comments

@sdzaveri
Copy link

sdzaveri commented Apr 3, 2020

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' ] } ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant