-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoltUI.esproj
26 lines (26 loc) · 1.48 KB
/
BoltUI.esproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/0.5.7-alpha">
<PropertyGroup Label="Globals">
<ProjectGuid>c28e1db3-62b7-4dde-a2a9-6beb4b222387</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<StartupCommand>set BROWSER=none&&yarn start</StartupCommand>
<BuildCommand>yarn build</BuildCommand>
<JavaScriptTestRoot>src\</JavaScriptTestRoot>
<JavaScriptTestFramework>Jest</JavaScriptTestFramework>
</PropertyGroup>
<ItemGroup>
<Script Include="src/**;" Exclude="*.esproj;**\node_modules\**" />
<None Include="public/**" />
<None Include="package.json;tsconfig.json;yarn.lock;.gitignore" />
</ItemGroup>
<!-- This target is copied from the ASP.NET SPA template in order to ensure node_modules are in place. -->
<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)node_modules') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
</Target>
</Project>