Publish an npm package

VSTS | TFS 2018 | TFS 2017

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 file. If you don't have a package.json file, 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.