Problem: I'd prefer not to commit compiled resources to my repository, but I've still gotta deploy the thing.
Simple solution: Commit compiled resources...
Bonus credit solution: npm postinstall task runs grunt, grunt creates the compiled resources, heroku can then automagic on git push, rainbows and unicorns ensue.1,2
Your milage may vary, but on the happy path a
git push heroku can deploy and run your node app.
1: I had to tell Heroku which node engine and npm version to use, via the engines property of the package.json. Specifying dependencies, however far up the foodchain they may be, rather than committing them all is the point of the exercise, so all is well.
2: Grunt recommends installing globally, but this solution is only likely to work if you let npm install a local grunt before trying to run it. I can live with that. For now.