diff --git a/src/npm.ts b/src/npm.ts index 4f42d18..5278dea 100644 --- a/src/npm.ts +++ b/src/npm.ts @@ -95,6 +95,10 @@ export const npm = { command.push("--dry-run"); } + if(options.registry){ + command.push("--registry", options.registry); + } + // Run "npm publish" in the package.json directory let cwd = resolve(dirname(options.package));