Scala-Play: Which Javascript client dependency management: WebJars, npm or?

I am working on a Scala -Play + 2.5.x web application and need several client side dependencies including: AngularJS, D3, etc. Also, I would like to develop with Typescript and I am wondering what options for managing Javascript dependencies are out there that integrate well with such a technology stack and SBT.

The two main solutions I have found are:

  • Depends on WebJars artifacts which would be the best integration choice for SBT, except I'm not sure how to deal with the Typescript support.
  • npm

    straightforward, although I have no experience of using npm

    and cannot judge ...
  • Other alternatives?
+3


source to share





All Articles