1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/config/access.js

27 lines
479 B
JavaScript
Raw Normal View History

import path from 'path';
const config = {
storage: path.join(__dirname, '../store/access-storage'),
uplinks: {
'npmjs': {
'url': 'https://registry.npmjs.org/'
}
},
packages: {
'jquery': {
allow_access: '$all',
allow_publish: '$all'
},
'**': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
}
},
logs: [
{type: 'stdout', format: 'pretty', level: 'fatal'},
],
};
module.exports = config;