Close
logointerlace
Talk with us >

1. Setup NPM Repository

Overview

Nexus is a npm private repository that stores our Infinant components.

Getting Started

  1. Get a username and password from the Support team.
  2. Get a token by encrypting username:password in base64:
  1. Create a .npmrc in your home or project folder with the following content:
email=replaceyouremailhere@mycompany.com
always-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
  1. Replace REPLACE_YOUR_TOKEN_HERE with your token and replaceyouremailhere@mycompany.com with your email. Then, save the file.

Congratulations! You're able to pull npm dependencies from Infinant Nexus Repository.

🚀 API Documentation — Previous
Prefabs
Next — 🚀 API Documentation
2. Setup your Prefab