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'
    }
  },
  logs: [
    {type: 'stdout', format: 'pretty', level: 'fatal'},
  ],
};

export default config;
