await update({
        read: readPkg,
        write: writePkg,
        edit(pkgjson) {
            pkgjson.scripts[key] = expected;