mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
# add dist
This commit is contained in:
6
ng2-components/ng2-alfresco-documentslist/dist/node_modules/registry-url/index.js
generated
vendored
Normal file
6
ng2-components/ng2-alfresco-documentslist/dist/node_modules/registry-url/index.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
module.exports = function (scope) {
|
||||
var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'});
|
||||
var url = rc[scope + ':registry'] || rc.registry;
|
||||
return url.slice(-1) === '/' ? url : url + '/';
|
||||
};
|
Reference in New Issue
Block a user