Most of our team consists of java developers and therefore the whole build / deployment / dependency management system is built on top of maven. We use CI so every build pro
I think you can find the answer in Grunt
and the many available plugins.
I'm actually working on a web project where the client-side is made with AngularJS
. Nevertheless, I think the deployement process may partially answer to your question :
In your pom.xml
, you can do something like that:
org.apache.maven.plugins
maven-antrun-plugin
1.5
exec-gen-sources
generate-sources
run
First part is the npm install
task: downloading of dependencies from node package.
Second part is the bower install
task: downoading of other dependencies with bower (in my case, AngularJS
, but you might not need this part)
Third part is the Grunt Release
part: launching a Grunt
task that includes Karma
unit testing.
You can find documentation about Grunt
here. There are many available plugins like Karma
unit testing.
I hope this helped you.