<?xml version="1.0" encoding="utf-8"?>
<!--Copyright, Microsoft Corporation, All rights reserved.-->
<Rule Name="BuildProperties"
      PageTemplate="generic"
      DisplayName="Build"
      Description="Build options"
      xmlns="http://schemas.microsoft.com/build/2009/properties">

    <Rule.DataSource>
        <DataSource Persistence="ProjectFile" HasConfigurationCondition="False" />
    </Rule.DataSource>

    <StringProperty Name="BuildCommand"
                    DisplayName="Build Command"
                    Description="Command to run on project build" />

    <StringProperty Name="BuildOutputFolder"
                    DisplayName="Build Output Folder"
                    Description="Folder where production build objects will be placed." />

    <StringProperty Name="CleanCommand"
                    DisplayName="Clean Command"
                    Description="Command to run on project clean" />

    <StringProperty Name="PackageJsonDirectory"
                    DisplayName="Working Directory"
                    Description="The package.json location. By default, the project root."
                    Default="$(MSBuildProjectDirectory)"
                    Subtype="folder" />

</Rule>
