verdaccio.yaml 876 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # This is the default config file. It allows all users to do anything,
  3. # so don't use it on production systems.
  4. #
  5. # Look here for more config file examples:
  6. # https://github.com/verdaccio/verdaccio/tree/master/conf
  7. #
  8. # File paths are relative to this configuration file.
  9. # path to a directory with all packages
  10. storage: ./tmp/verdaccio
  11. auth:
  12. htpasswd:
  13. file: ./tmp/htpasswd
  14. max_users: 1
  15. # a list of other known repositories we can talk to
  16. uplinks:
  17. npmjs:
  18. url: https://registry.npmjs.org/
  19. packages:
  20. '**':
  21. # allow all users (including non-authenticated users) to read and
  22. # publish all packages
  23. access: $all
  24. publish: $all
  25. # Download from npm if a package is not available in the local registry
  26. proxy: npmjs
  27. # log settings
  28. logs:
  29. - {type: stdout, format: pretty, level: http}
  30. #- {type: file, path: verdaccio.log, level: info}