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

54 lines
993 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': {
'url': 'https://registry.npmjs.org/'
}
},
2017-04-10 22:00:41 +02:00
packages: {
'@*/*': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'forbidden-place': {
allow_access: 'nobody',
allow_publish: '$all'
},
2018-02-19 19:29:14 +01:00
'react': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'jquery': {
allow_access: '$all',
allow_publish: '$all',
proxy: 'npmjs'
},
'auth-package': {
allow_access: '$authenticated',
allow_publish: '$authenticated'
},
'vue': {
allow_access: '$authenticated',
allow_publish: '$authenticated',
proxy: 'npmjs'
},
2017-04-10 22:00:41 +02:00
'*': {
allow_access: '$all',
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;