NodeJSAndNpm 10.0.3

Nuget package which inludes Node.js and Npm.

Install-Package NodeJSAndNpm -Version 10.0.3
dotnet add package NodeJSAndNpm --version 10.0.3
<PackageReference Include="NodeJSAndNpm" Version="10.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NodeJSAndNpm --version 10.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Nuget package includes:

  • Node.js v8.12.0
  • Npm v6.4.1

Usage inside of csproj

<PropertyGroup>
  <BuildDependsOn>
    NpmInstall;
    GrunAll;
    $(BuildDependsOn)
  </BuildDependsOn>
</PropertyGroup>

<Target Name="NpmInstall" BeforeTargets="BeforeBuild; BeforeClean">
  <Message Text="Installing packages"/>
  <Exec Command="$(PkgNodeJSAndNpm)\npm install --scripts-prepend-node-path" WorkingDirectory="./" />
  <Message Text="Packages are installed."/>
 </Target>
  
<Target Name="GrunAll" BeforeTargets="BeforeBuild;BeforeClean">
  <Message Text="Running grunt all"/>
  <Exec Command="$(PkgNodeJSAndNpm)\node.exe node_modules\grunt\bin\grunt all" WorkingDirectory="./" />
  <Message Text="Grunt finished."/>
</Target>

❤️ https://nodejs.org/ | Licence

❤️ https://www.npmjs.com/ | Licence

Nuget package includes:

  • Node.js v8.12.0
  • Npm v6.4.1

Usage inside of csproj

<PropertyGroup>
  <BuildDependsOn>
    NpmInstall;
    GrunAll;
    $(BuildDependsOn)
  </BuildDependsOn>
</PropertyGroup>

<Target Name="NpmInstall" BeforeTargets="BeforeBuild; BeforeClean">
  <Message Text="Installing packages"/>
  <Exec Command="$(PkgNodeJSAndNpm)\npm install --scripts-prepend-node-path" WorkingDirectory="./" />
  <Message Text="Packages are installed."/>
 </Target>
  
<Target Name="GrunAll" BeforeTargets="BeforeBuild;BeforeClean">
  <Message Text="Running grunt all"/>
  <Exec Command="$(PkgNodeJSAndNpm)\node.exe node_modules\grunt\bin\grunt all" WorkingDirectory="./" />
  <Message Text="Grunt finished."/>
</Target>

❤️ https://nodejs.org/ | Licence

❤️ https://www.npmjs.com/ | Licence

Release Notes


           - Updated Node.js to v8.12.0
           - Updated Npm to v6.4.1
       

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
10.0.3 2,562 10/19/2018
10.0.2 220 10/17/2018
10.0.1 145 10/17/2018
5.3.0 183 10/16/2018