Commit project
This commit is contained in:
parent
28471965a0
commit
3ac017a5ad
1030 changed files with 94062 additions and 0 deletions
5
node_modules/registry-auth-token/registry-url.js
generated
vendored
Normal file
5
node_modules/registry-auth-token/registry-url.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
module.exports = function (scope, npmrc) {
|
||||
var rc = npmrc || require('rc')('npm', {registry: 'https://registry.npmjs.org/'})
|
||||
var url = rc[scope + ':registry'] || rc.registry
|
||||
return url.slice(-1) === '/' ? url : url + '/'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue