mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
36 lines
632 B
JavaScript
36 lines
632 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'
|
|
},
|
|
|
|
'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;
|