1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/config/index.js

60 lines
1004 B
JavaScript
Raw Normal View History

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