tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
238 stars 57 forks source link

Run `npm install && bower install` within `activator run` #71

Closed hanfeisun closed 9 years ago

hanfeisun commented 9 years ago

For easier deployment to Heroku, would it be possible to run npm install && bower install automatically when activator run activator compile or sbt dist is executed?

Current when I push my source code with play-yeoman to heroku, it will just throw an error:

Fatal error: Unable to find local grunt.

Shiti commented 9 years ago

Installing grunt is a pre-requisite to use the plugin

hanfeisun commented 9 years ago

I agree grunt-cli and bower are pre-requisites, and I've already installed them globally, but a local grunt, which is different from grunt-cli, still needs to be installed by npm install in the ui directory.

hanfeisun commented 9 years ago

I reopened this issue. Sometimes I added a new package in package.jsonor bower.json, but for easier deployment, I think it would be