-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOBS React Scenes.csproj
120 lines (107 loc) · 5.47 KB
/
OBS React Scenes.csproj
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<IsPackable>false</IsPackable>
<SpaRoot>ClientApp\</SpaRoot>
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
<RootNamespace>OBSReactScenes</RootNamespace>
<UserSecretsId>b2d4709b-385e-427c-b417-185cc56d1807</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<AssemblyName></AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNet.SignalR.Core" Version="2.4.2" />
<PackageReference Include="Microsoft.AspNet.WebApi.Core" Version="5.2.7" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.15" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="4.3.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.11.1" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />
<PackageReference Include="TwitchLib.Api" Version="3.2.4" />
<PackageReference Include="TwitchLib.Client" Version="3.2.3" />
<PackageReference Include="TwitchLib.PubSub" Version="3.2.3" />
</ItemGroup>
<ItemGroup>
<!-- Don't publish the SPA source files, but do show them in the project files list -->
<Content Remove="$(SpaRoot)**" />
<Content Remove="%2a%2a\**" />
<None Remove="$(SpaRoot)**" />
<None Remove="%2a%2a\**" />
<None Include="$(SpaRoot)**" Exclude="$(SpaRoot)node_modules\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="%2a%2a\**" />
<EmbeddedResource Remove="%2a%2a\**" />
<TypeScriptCompile Remove="%2a%2a\**" />
<TypeScriptCompile Remove="ClientApp\node_modules\**" />
</ItemGroup>
<ItemGroup>
<None Remove="ClientApp\src\components\Background.tsx" />
<None Remove="ClientApp\src\components\Clips.tsx" />
<None Remove="ClientApp\src\components\index.tsx" />
<None Remove="ClientApp\src\components\Overlay\Fader.tsx" />
<None Remove="ClientApp\src\components\Overlay\Notification.tsx" />
<None Remove="ClientApp\src\components\StreamBRB.tsx" />
<None Remove="ClientApp\src\components\StreamEnding.tsx" />
<None Remove="ClientApp\src\components\StreamStarting.tsx" />
<None Remove="ClientApp\src\components\WebCamOverlay.tsx" />
<None Remove="ClientApp\src\store\Clips.ts" />
<None Remove="ClientApp\src\store\Notification.ts" />
<None Remove="ClientApp\src\StreamStarting.tsx" />
</ItemGroup>
<ItemGroup>
<Folder Include="ClientApp\src\assets\" />
</ItemGroup>
<ItemGroup>
<TypeScriptCompile Include="ClientApp\src\theme.module.scss" />
</ItemGroup>
<ItemGroup>
<TypeScriptCompile Update="ClientApp\src\store\Clips.ts">
<SubType>Code</SubType>
</TypeScriptCompile>
</ItemGroup>
<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="npm install" />
</Target>
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install --no-optional --force" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build" />
<!-- Include the newly-built files in the publish output -->
<ItemGroup>
<DistFiles Include="$(SpaRoot)build\**; $(SpaRoot)build-ssr\**" />
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptJSXEmit>React</TypeScriptJSXEmit>
<TypeScriptModuleKind />
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
<TypeScriptRemoveComments>False</TypeScriptRemoveComments>
<TypeScriptOutFile />
<TypeScriptOutDir />
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations>
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
<TypeScriptSourceMap>True</TypeScriptSourceMap>
<TypeScriptMapRoot />
<TypeScriptSourceRoot />
</PropertyGroup>
</Project>