Before publishing your repository, make sure to properly set your npm configure .
The operation will be attach to a npmrc
file we will talk about later.
> npm set init-author-name '<your_name>'
> npm set init-author-email '<[email protected]>'
> npm set init-author-url '<your_website>'
By default you can set a License information that will be automatically bound to your profile.
> npm set init-license 'MIT'
now check your information are properly saved and are correct. If not, feel free to update.
> cat ~/.npmrc
Once your npm is properly configured, you should now add your account to the NPM registry
- 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.