mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
547da379e9
the test will check whether avoiding proxy on uplink configuration avoid proxy access
26 lines
479 B
JavaScript
26 lines
479 B
JavaScript
import path from 'path';
|
|
|
|
const config = {
|
|
storage: path.join(__dirname, '../store/access-storage'),
|
|
uplinks: {
|
|
'npmjs': {
|
|
'url': 'https://registry.npmjs.org/'
|
|
}
|
|
},
|
|
packages: {
|
|
'jquery': {
|
|
allow_access: '$all',
|
|
allow_publish: '$all'
|
|
},
|
|
'**': {
|
|
allow_access: '$all',
|
|
allow_publish: '$all',
|
|
proxy: 'npmjs'
|
|
}
|
|
},
|
|
logs: [
|
|
{type: 'stdout', format: 'pretty', level: 'fatal'},
|
|
],
|
|
};
|
|
|
|
module.exports = config;
|