verdaccio/lib/config_def.yaml

29 lines
712 B
YAML
Raw Normal View History

2013-06-13 16:21:14 +02:00
# path to a directory with all packages
storage: ./storage
2013-09-24 06:27:47 +02:00
# a list of users
2013-06-13 16:21:14 +02:00
users:
admin:
# crypto.createHash('sha1').update(pass).digest('hex')
password: __PASSWORD__
2013-09-24 06:27:47 +02:00
# a list of other known repositories we can talk to
2013-06-13 16:21:14 +02:00
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
2013-06-14 11:27:08 +02:00
'*':
2013-09-24 06:27:47 +02:00
# allow all users to read packages ('all' is a keyword)
# this includes non-authenticated (anonymous) users
allow_access: all
2013-06-13 16:21:14 +02:00
2013-09-24 06:27:47 +02:00
# allow 'admin' to publish packages
allow_publish: admin
# if package is not available locally, proxy requests to 'npmjs' registry
proxy_access: npmjs
# when package is published locally, also push it to remote registry
#proxy_publish: none