Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.28 KB

setting_up_npm_configuration.md

File metadata and controls

48 lines (30 loc) · 1.28 KB

Setting up your NPM Configuration

Before publishing your repository, make sure to properly set your npm configure .

PROCEDURE

Configuration Setup

The operation will be attach to a npmrc file we will talk about later.

Set up your Author Info

> npm set init-author-name '<your_name>'
> npm set init-author-email '<[email protected]>'
> npm set init-author-url '<your_website>'

Set up the default License

By default you can set a License information that will be automatically bound to your profile.

> npm set init-license 'MIT'

Configuration Check

now check your information are properly saved and are correct. If not, feel free to update.

> cat ~/.npmrc

Next

Once your npm is properly configured, you should now add your account to the NPM registry

ADDITIONNAL INFORMATION

  • If you have any questions, don't hesitate to contact me following my social links or through my email at [email protected]
  • If you find any typos or encounter any issues with this tutorial, please feel free to contact me or create an issue on GitHub so I could fix it.