2017-03-03 18:39:26 -05:00
|
|
|
const config = {
|
2017-07-01 17:05:58 -05:00
|
|
|
storage: __dirname + '/store/test-storage',
|
2017-03-03 18:39:26 -05:00
|
|
|
uplinks: {
|
|
|
|
'npmjs': {
|
|
|
|
'url': 'https://registry.npmjs.org/'
|
|
|
|
}
|
|
|
|
},
|
2017-04-10 15:00:41 -05:00
|
|
|
packages: {
|
2018-01-28 05:38:22 -05:00
|
|
|
'@*/*': {
|
|
|
|
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'
|
|
|
|
},
|
2017-04-10 15:00:41 -05:00
|
|
|
'*': {
|
|
|
|
allow_access: '$all',
|
2018-01-28 05:38:22 -05:00
|
|
|
allow_publish: '$all'
|
2017-04-10 15:00:41 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
logs: [
|
2017-04-19 14:15:28 -05:00
|
|
|
{type: 'stdout', format: 'pretty', level: 'fatal'},
|
2017-04-10 15:00:41 -05:00
|
|
|
],
|
2017-04-19 14:15:28 -05:00
|
|
|
};
|
2017-04-10 15:00:41 -05:00
|
|
|
|
|
|
|
module.exports = config;
|