diff --git a/package.json b/package.json index f81f6f6f..a500f292 100644 --- a/package.json +++ b/package.json @@ -143,8 +143,19 @@ "when": "explorerResourceIsFolder", "command": "chocolatey.new", "group": "2_workspace" + }, + { + "when": "resourceFilename =~ /(?<=\\.)nupkg/", + "command": "chocolatey.push", + "group": "2_workspace" + }, + { + "when": "resourceFilename =~ /(?<=\\.)nuspec/", + "command": "chocolatey.pack", + "group": "2_workspace" } ] + }, "snippets": [ {