birdus
birdus

Reputation: 7504

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?

Upvotes: 7

Views: 6349

Answers (2)

Lord Darth Vader
Lord Darth Vader

Reputation: 2005

There is Package Installer Is nothing official but its something

Upvotes: 1

Walter Verhoeven
Walter Verhoeven

Reputation: 4411

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"

  }
}

Upvotes: 10

Related Questions