Package name. Asserts if not available. Must call init() first.
Is this package private?
Current version of the package.
Workspaces as defined in the package file, if you are using npm-style workspaces.
Execute a command in the directory for this pacakge.
Options for spawn. {stdion: 'inherit'}
is recommended.
Shell command.
Results of execution when complete.
Read file in preparation for further processing. Must be called and awaited, before anything else.
This, for chaining.
Save the file if it is dirty.
If true, also perform a "git add" on this file after saving.
This, for chaining.
Representation of a single package.json file.
Example