<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.fujion.webjars</groupId>
		<artifactId>fujion-webjars</artifactId>
		<version>2.1.1</version>
	</parent>

	<name>RxJS</name>
	<artifactId>webjar-rxjs</artifactId>
	<version>6.2.2</version>
	<description>RxJS Library.</description>
	
	<properties>
		<systemjs>
			{
				paths: {
					"rxjs": "."
				},
				
				packages: {
					"rxjs": {
						"main": "index.js"
					},
					"rxjs/ajax": {
						"main": "index.js"
					},
					"rxjs/operators": {
						"main": "index.js"
					},
					"rxjs/testing": {
						"main": "index.js"
					},
					"rxjs/webSocket": {
						"main": "index.js"
					}
				}
				
			}			
		</systemjs>
	</properties>
	
	<build>
		<plugins>
			<plugin>
				<groupId>com.github.eirslett</groupId>
				<artifactId>frontend-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<id>precompile</id>
						<configuration>
							<target>
								<copy tofile="${src.rootdir}/package.json" file="${basedir}/package-template.json">
							        <filterchain>
							            <expandproperties />
							        </filterchain>
								</copy>
							</target>
						</configuration>
					</execution>
					<execution>
						<id>postcompile</id>
						<configuration>
							<target>
								<move todir="${webjar.target}">
									<fileset dir="${src.rootdir}/node_modules/rxjs" includes="**" />
								</move>
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

  <scm>
    <tag>6.2.2</tag>
  </scm>
</project>
