Publish an npm package

Last Update: 4/25/2017

Availability
npm Package Management is available with Visual Studio Team Services and TFS 2017 Update 1 and newer.

Publish npm packages to a feed in Package Management to share them with your team and your organization.

  1. Set up the npm client with your feed.
  2. Open a shell and navigate to the directory that contains your package's package.json. If you don't have a package.json, run npm init (see the npm CLI docs).
  3. Push your package by running npm publish.

See the npm CLI docs for more publish options.