0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/unit/partials/config/config_access.js
Juan Picado @jotadeveloper 946d195431
refactor: pkg.access unit test
migrate more constants
2018-07-04 00:15:01 +02:00

26 lines
474 B
JavaScript

import path from 'path';
const config = {
storage: path.join(__dirname, '../store/access-storage'),
uplinks: {
'npmjs': {
'url': 'http://never_use:0000/'
}
},
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;