mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
95d134bdfd
* Parse JSON/YAML config file. * fix missing export * fix: typos * test(config): remove JSON test * feat: better config error handling, tests * fix: detect YAML config file via extension * docs: https://github.com/verdaccio/website/pull/99
15 lines
780 B
JavaScript
15 lines
780 B
JavaScript
module.exports = { storage: './storage_default_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', proxy: 'npmjs' } },
|
|
logs: [ { type: 'stdout', format: 'pretty', level: 'warn' } ] };
|