File: auth.sh

package info (click to toggle)
node-monaco-languageclient 20230504.93ecd19-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: javascript: 46; makefile: 14; sh: 3
file content (5 lines) | stat: -rwxr-xr-x 121 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/bash

if [[ ! -z "${NPM_TOKEN}" ]]; then
  printf "//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n" >> ~/.npmrc
fi