1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/test/unit/partials/config.js
2018-02-24 20:31:00 +01:00

42 lines
733 B
JavaScript

const config = {
storage: `${__dirname}/store/test-storage`,
uplinks: {
'npmjs': {
'url': 'https://registry.npmjs.org/'
}
},
packages: {
'@*/*': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'forbidden-place': {
allow_access: 'nobody',
allow_publish: 'nobody'
},
'react': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'jquery': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'*': {
allow_access: '$all',
allow_publish: '$all'
},
},
logs: [
{type: 'stdout', format: 'pretty', level: 'fatal'},
],
};
module.exports = config;