Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altipla-consulting/setup-private-npm
Setup private NPM configuration in CI environments.
https://github.com/altipla-consulting/setup-private-npm
Last synced: about 1 month ago
JSON representation
Setup private NPM configuration in CI environments.
- Host: GitHub
- URL: https://github.com/altipla-consulting/setup-private-npm
- Owner: altipla-consulting
- License: mit
- Created: 2022-06-22T11:36:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T14:04:30.000Z (over 2 years ago)
- Last Synced: 2024-10-31T17:52:24.043Z (2 months ago)
- Language: TypeScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# setup-private-npm
Setup private NPM configuration in CI environments.
## Usage
Add a new script to the install process:
```json
{
"scripts": {
"preinstall": "npx -y @altipla/setup-private-npm"
}
}
```Any of these environment variables will be configured in the `.npmrc` file if present:
| Variable |
|----------|
| `FONTAWESOME_TOKEN` |
| `GITHUB_TOKEN` |
| `NPM_TOKEN` |