🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

component-analysis

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-analysis

a component analysis tool

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

component-analysis

Analysis of component dependency of Vue / JS file,Show component relationship diagram, support component relationship query. 分析项目内的js/vue文件的引用关系,支持查询与关系图展示。

Install

npm i component-analysis -g

cd folder
// 默认会使用npm vue-cli-service inspect获取alias
component-analysis vue ./
// 或指定含alias的vue.config/webpack.config文件
component-analysis vue ./ ./vue.config.js


API

component-analysis vue <dir> <configDir> [exclusion...]

Question

  • 工具使用npx vue-cli-service inspect获取alias,如获取失败,alias将不会被转换成真实路径

FAQs

Package last updated on 29 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts