title: How do I run a specific NPM command before build in ASP.NET Core?
body: <p>I am trying to run a specific NPM command for Angular within my ASP.NET Core application. The NPM is nothing special, it just prepares some files. </p>
  
  <p><strong>How can I automate to run the NPM script before each build in ASP.NET Core?</strong></p>
  
  <p>The Angular app is within the ClientApp folder, with the package.json in it. </p>