An abstract class with a method to read a package.json.
This class accepts the same options as ExecCommand
const { Commands } = require("@abstracter/atomic-release");
class ExampleNpmCommand extends Commands.NpmCommand {
async do() {
console.log(await this.getPackageJson());
}
async undo() {
// ...
}
}