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/index.js
2018-03-26 09:20:12 -04:00

44 lines
770 B
JavaScript

import path from 'path';
const config = {
storage: path.join(__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: '$all'
},
'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;