1. Setup NPM Repository
Overview
Nexus is a npm private repository that stores our Infinant components.
Getting Started
- Get a username and password from the Support team.
- Get a token by encrypting
username:password
in base64:
- Create a
.npmrc
in your home or project folder with the following content:
email=replaceyouremailhere@mycompany.comalways-auth=true@infinant:registry=https://nexus.tools.infinant.com/repository/infinant-npm-dev-local///nexus.tools.infinant.com/repository/infinant-npm-dev-local/:_auth=REPLACE_YOUR_TOKEN_HERE
- Replace
REPLACE_YOUR_TOKEN_HERE
with your token andreplaceyouremailhere@mycompany.com
with your email. Then, save the file.
Congratulations! You're able to pull npm dependencies from Infinant Nexus Repository.