Pom.xml/typescript

We don’t have any examples of using a typescript compile in the build process do we? The sony addon has a few webpage that I’d love to start using typescript on (and have maven compile/package the resulting javascript). Not sure if someone’s done that before or even recommends how to do it (most seem to use grunt to do the heavy lifting but I want to keep it as simple as I can)…

Thanks,
Tim

The webuis use npm for building. You would just add a call to the typescript transpiler in the package.json file.

So if I create a package.json - it automatically get’s built and packaged in the resulting jar?

No of course not. You need an ant task in the pom.xml to call npm (or typescript directly).