component-trace

    0.0.1 • Public • Published

    component-trace

    Search a directory and see if any of the components depend on something. It checks the dependencies keys and the local array.

    npm install -g component-trace
    

    Usage

    component trace <name>
    

    Example:

    component trace component/emitter
    

    Output:

    overlay @ /apps/project/components/segmentio-overlay/component.json
    toggle @ /apps/project/components/segmentio-toggle/component.json
    

    Notes

    Skips node_modules directories.

    Why

    I needed to do some refactoring. This is quicker than searching by hand.

    Keywords

    none

    Install

    npm i component-trace

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • anthonyshort