Publishing the package

  1. First, let's create an account on the npm website:
  1. Now we can connect to the repository with our credentials by using the command line. The repository will be Git. Let's type the following:
npm adduser 
  1. We answer three questions about the username, password, and email:
  1. After that, we create the Git repository locally by typing the following:
git init  
  1. Let's now go to the GitHub website to create a remote repository. First, we need to create an account, if we don't have one yet.
  2. To create an account we need to ...

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.