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
Juan Picado @jotadeveloper 6239606ce1
chore: storage test path fix
2018-06-28 08:26:07 +02:00

59 lines
1,004 B
JavaScript

import path from 'path';
const config = {
storage: path.join(__dirname, '../store/test-storage'),
uplinks: {
'npmjs': {
'url': 'http://localhost:4873/'
}
},
packages: {
'@*/*': {
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'forbidden-place': {
access: 'nobody',
publish: '$all'
},
'react': {
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'corrupted-package': {
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'jquery': {
access: '$all',
publish: '$all',
proxy: 'npmjs'
},
'auth-package': {
access: '$authenticated',
publish: '$authenticated'
},
'vue': {
access: '$authenticated',
publish: '$authenticated',
proxy: 'npmjs'
},
'*': {
access: '$all',
publish: '$all'
},
},
logs: [
{type: 'stdout', format: 'pretty', level: 'warn'},
],
};
module.exports = config;