This is an even riskier task that I don't see any advantage putting in the Gruntfile. `npm publish` automatically tags "latest" (unless you configure it otherwise), and the occasion for tagging "stable" seems very rare. Also, in this formulation, you have to modify the package.json version property (which is likely something different already) to determine the arguments to this command.