/typescript-maven-plugin

TypeScript Maven Plugin

Primary LanguageJavaScriptOtherNOASSERTION

TypeScript Maven Plugin

Maven plugin that integrates TypeScript compiler into maven builds

To use the plugin in maven you need to follow these steps:

  1. Add the following plugin repository to your pom.xml
    <pluginRepository>
      <id>typescript-maven-plugin</id>
      <url>https://raw.github.com/ppedregal/typescript-maven-plugin/master/repo</url>
    </pluginRepository>
  1. Add the following build plugin to your pom.xml
      <plugin>
        <groupId>com.ppedregal.typescript</groupId>
      	<artifactId>typescript-maven-plugin</artifactId>        
        <configuration>
        	<sourceDirectory>src/main/ts</sourceDirectory>
        	<targetDirectory>target/ts</targetDirectory>
        </configuration>        
      </plugin>

More documentation in the generated maven site here