Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonyshort/component-trace
Track down dependencies
https://github.com/anthonyshort/component-trace
Last synced: 24 days ago
JSON representation
Track down dependencies
- Host: GitHub
- URL: https://github.com/anthonyshort/component-trace
- Owner: anthonyshort
- Created: 2014-01-14T00:14:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-14T00:14:26.000Z (almost 11 years ago)
- Last Synced: 2024-04-15T03:16:19.969Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```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.