mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 01:43:18 +08:00
* Update devfsadm.md * Update devfsadm.md * Update piper.md * Update bun-pm-pkg.md * Update aa-unconfined.md * Update wmic.md * Update trdsql.md * Update elm.md * Update electron-packager.md * Update cheatshh.md
613 B
613 B
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 {{property}}
- Get multiple properties:
bun pm pkg get {{property1 property2 property3 ...}}
- Get nested property:
bun pm pkg get {{property}}.{{attribute}}
- Set a property:
bun pm pkg set {{property}}="{{value}}"
- Delete a property:
bun pm pkg delete {{property}}
- Automatically fix common issues in
package.json:
bun pm pkg fix