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/index.js

60 lines
1,004 B
JavaScript
Raw Normal View History

import path from 'path';
2017-03-03 18:39:26 -05:00
const config = {
storage: path.join(__dirname, '../store/test-storage'),
2017-03-03 18:39:26 -05:00
uplinks: {
'npmjs': {
2018-06-27 01:52:52 -05:00
'url': 'http://localhost:4873/'
2017-03-03 18:39:26 -05:00
}
},
2017-04-10 15:00:41 -05:00
packages: {
'@*/*': {
2018-06-27 01:52:52 -05:00
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'forbidden-place': {
2018-06-27 01:52:52 -05:00
access: 'nobody',
publish: '$all'
},
2018-02-19 13:29:14 -05:00
'react': {
2018-06-27 01:52:52 -05:00
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'corrupted-package': {
access: '$all',
publish: '$all',
2018-02-19 13:29:14 -05:00
proxy: 'npmjs'
},
'jquery': {
2018-06-27 01:52:52 -05:00
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'auth-package': {
2018-06-27 01:52:52 -05:00
access: '$authenticated',
publish: '$authenticated'
},
'vue': {
2018-06-27 01:52:52 -05:00
access: '$authenticated',
publish: '$authenticated',
proxy: 'npmjs'
},
2017-04-10 15:00:41 -05:00
'*': {
2018-06-27 01:52:52 -05:00
access: '$all',
publish: '$all'
2017-04-10 15:00:41 -05:00
},
},
logs: [
2018-06-28 01:26:07 -05:00
{type: 'stdout', format: 'pretty', level: 'warn'},
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;