mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Changes: - Remove floating versions - Disable myget feeds during a Universe build - Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions.
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="..\..\build\common.props" />
|
|
|
|
<PropertyGroup>
|
|
<Description>Invoke Node.js modules at runtime in ASP.NET Core applications.</Description>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<PackageTags>aspnetcore;aspnetcoremvc;nodeservices</PackageTags>
|
|
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="node_modules\**\*" />
|
|
<EmbeddedResource Include="Content\**\*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="$(MicrosoftAspNetCoreHostingAbstractionsPackageVersion)" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonRuntimePackageVersion)" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish" Condition=" '$(IsCrossTargetingBuild)' != 'true' ">
|
|
<Exec Command="npm install" />
|
|
<Exec Command="node node_modules/webpack/bin/webpack.js" />
|
|
</Target>
|
|
|
|
</Project>
|