mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
5e9637da90
* fix: add missing token auth middleware * improve tests * format
26 lines
463 B
TypeScript
26 lines
463 B
TypeScript
import path from 'path';
|
|
|
|
const config = {
|
|
storage: path.join(__dirname, '../store/access-storage'),
|
|
uplinks: {
|
|
'npmjs': {
|
|
'url': 'http://never_use:0000/'
|
|
}
|
|
},
|
|
packages: {
|
|
'jquery': {
|
|
allow_access: '$all',
|
|
allow_publish: '$all'
|
|
},
|
|
'**': {
|
|
allow_access: '$all',
|
|
allow_publish: '$all',
|
|
proxy: 'npmjs'
|
|
}
|
|
},
|
|
log: {type: 'stdout', format: 'pretty', level: 'fatal'}
|
|
,
|
|
};
|
|
|
|
export default config;
|