跳至主要内容
版本:10.x

pnpm licenses

命令​

list​

Aliases: ls

List licenses for installed packages.

Options​

--dev, -D​

Check only "devDependencies".

--json​

Show information in JSON format.

--long​

Show more details (such as a link to the repo) are not displayed. To display the details, pass this option.

--no-optional​

Don't check packages from optionalDependencies.

--prod, -P​

Check only dependencies and optionalDependencies.

--filter <package_selector>​

Read more about filtering.