mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
* Replace makefile.shade with repo.targets * Remove web site projects as these are not yet supported by MSBuild for .NET Core cref https://github.com/Microsoft/msbuild/issues/1767
13 lines
486 B
XML
13 lines
486 B
XML
<Project>
|
|
<Target Name="NpmRestore" AfterTargets="Restore" Condition="'$(PreflightRestore)' != 'true'">
|
|
<ItemGroup>
|
|
<NpmModules Include="$(RepositoryRoot)**\package.json"
|
|
Exclude="$(RepositoryRoot)**\node_modules\**\*" />
|
|
</ItemGroup>
|
|
|
|
<Message Text="Restoring NPM modules for: %0A - @(NpmModules -> '%(FullPath)','%0A - ')" Importance="high" />
|
|
|
|
<Exec Command="npm install" WorkingDirectory="%(NpmModules.RootDir)%(Directory)" />
|
|
</Target>
|
|
</Project>
|