Installing RequireJS 2.3.x NES
A step-by-step guide for installing and configuring RequireJS NES (Never‑Ending Support) in your application, including package configuration and authentication setup.
Prerequisites
Before beginning the installation, please review our Minimum Requirements to ensure a smooth installation process.
Installation Steps
Follow these three simple steps to install RequireJS NES:
- Update your
package.json
- Create or update your
.npmrc
file - Install & Run
Detailed Instructions
1. Package.json Configuration
Update your package.json
with the following RequireJS references:
{
"dependencies": {
"requirejs": "npm:@neverendingsupport/requirejs@2.3.7-requirejs-2.3.8"
},
"overrides": {
"requirejs": { ".": "npm:@neverendingsupport/requirejs@2.3.7-requirejs-2.3.8" }
}
}
2. Authentication Setup
Create or update your .npmrc
file with the following content:
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
Replace <NES_ACCESS_TOKEN>
with your access token.
3. Installation
Install your dependencies by running:
npm install
After completing these steps, you can run your integration tests against RequireJS NES!
Additional Information
Direct Download URLs
Direct download URLs for RequireJS NES are available below:
Package | URL |
---|---|
requirejs 2.3.7-requirejs-2.3.8 | Download |