0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-10 23:39:31 -05:00
verdaccio/test/unit/partials/config.js
Juan Picado @jotadeveloper f0d2e8592f
test: add test for web ui endpoints
packages, sidebar and search
2018-03-18 08:46:02 +01:00

41 lines
731 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: '$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;