custom npm scripts
You can define your own scripts in package.json, like:
and you can run them like this:
install bower components on heroku build
Make sure you have bower added as a dependency in package.json, and then add the following script as postinstall:
asset digest in node.js
node-static-asset can help with this.
Like the docs say, add this to your app:
And then in the view, use it like this: