Search...
Toggle theme

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:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. 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 actual 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

Package TypeVersionDirect Download URL
@neverendingsupport/requirejs2.3.7-requirejs-2.3.8Download