0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/test/unit/partials/config/access.js

28 lines
530 B
JavaScript
Raw Normal View History

import path from 'path';
2018-06-28 11:33:37 -05:00
import {DEFAULT_REGISTRY} from '../../../../src/lib/constants';
const config = {
storage: path.join(__dirname, '../store/access-storage'),
uplinks: {
'npmjs': {
2018-06-28 11:33:37 -05:00
'url': DEFAULT_REGISTRY
}
},
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;