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
1a. For installation with AngularJS 1.8, substitute the Angular Material reference in package.json with the following:
"dependencies": {
"angular-material": "npm:@neverendingsupport/angularjs-essentials@1.2.3-angular-material-1.2.6"
},
"overrides": {
"angular-material": { ".": "npm:@neverendingsupport/angularjs-essentials@1.2.3-angular-material-1.2.6" }
}
1b. For installation with AngularJS 1.5, substitute the Angular Material reference in package.json with the following:
"dependencies": {
"angular-material": "npm:@neverendingsupport/angularjs-essentials@1.1.26-angular-material-1.1.31"
},
"overrides": {
"angular-material": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.26-angular-material-1.1.31" }
}
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:
npm install
And just like that, you can run your integration tests against Angular Material NES!