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