Updating DEV Setup with .npmrc

This commit is contained in:
sbenmoussati 2021-06-08 18:41:59 +02:00
parent d535e12ee1
commit 48781c6b34

View File

@ -72,6 +72,20 @@ npm run test:spectron -- --match=spell*
## Packaging: ## Packaging:
- Add Artifactory credentials to your home directory `.npmrc` file
1. Login to https://repo.symphony.com/ in your browser
2. Open https://repo.symphony.com/artifactory/webapp/#/profile
3. Click generate token
4. Execute `curl --location --request GET 'https://repo.symphony.com/artifactory/api/npm/auth' --header 'X-JFrog-Art-Api: <token from #3>'`
5. Update ~/.npmrc with:
```
registry = https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/
_auth = <auth value from #4>
always-auth = true
```
### Mac 🖥 ### Mac 🖥
- npm install - npm install
- npm run dev (to run locally) - npm run dev (to run locally)