bun pm pkg
Manage
package.jsondata withget,set,delete, andfixoperations. More information: https://bun.com/docs/pm/cli/pm#pkg.
- Get all properties from
package.json:
bun pm pkg get
- Get a single property:
bun pm pkg get
- Get multiple properties:
bun pm pkg get
- Get nested property:
bun pm pkg get .
- Set a property:
bun pm pkg set =""
- Delete a property:
bun pm pkg delete
- Automatically fix common issues in
package.json:
bun pm pkg fix
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
