How to configure Lodash NES
First, please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
1. Update your package.json
2. Create or update your .npmrc file
3. Install & Run!
Detailed Instructions
1. Substitute the lodash in your package.json with the following:
{
"dependencies": {
"lodash": "npm:@neverendingsupport/lodash@4.17.21-lodash-4.17.22"
},
"overrides": {
"lodash": { ".": "npm:@neverendingsupport/lodash@4.17.21-lodash-4.17.22" }
}
}
NOTE: the version represented above is a placeholder for the version you are installing
2. Create an .npmrc file with the following:
- Replace <NES_ACCESS_TOKEN>
with your access token
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
3. Install your dependencies and run the service:
npm install
And just like that, you can run your integration tests against Lodash NES!
Additional Information
NOTE: the version represented below is a placeholder for the version you are installing