Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm not showing in VS2017

In Visual Studio 2017, when I right click on Dependencies in the solution, I see Manage NuGet Packages but where is npm? Shouldn't there be a visual manager for npm like I use with NuGet all the time?

like image 657
birdus Avatar asked May 04 '17 15:05

birdus


2 Answers

here you go.

  1. On your project do a right click
  2. Select Add New Item
  3. Select the NPM Configuration File, this will add a Package.json to your project, it will look like this:

{
  "version": "1.0.0",
  "name": "asp.net",
  "private": true,
  "devDependencies": {

  }
}
  1. then you can type your dependencies like so:

{
  "version": "1.0.0",
  "name": "asp.net",
  "private": true,
  "devDependencies": {
    "gulp": "3.9.1",
    "gulp-bootlint": "0.8.1"

  }
}
like image 155
Walter Verhoeven Avatar answered Oct 20 '22 20:10

Walter Verhoeven


There is Package Installer Is nothing official but its something

like image 42
Lord Darth Vader Avatar answered Oct 20 '22 21:10

Lord Darth Vader