verdaccio-ui/tools/_verdaccio.config.yaml

56 lines
828 B
YAML
Raw Permalink Normal View History

2019-04-06 22:42:52 +07:00
web:
title: Verdaccio Local Dev
sort_packages: asc
primary_color: #CCC
2019-04-06 22:42:52 +07:00
plugins: ../
auth:
auth-memory:
users:
foo:
name: test
password: test
bar:
name: bar
password: test
security:
api:
jwt:
sign:
expiresIn: 120d
2019-04-06 22:42:52 +07:00
notBefore: 1
web:
sign:
expiresIn: 100d
2019-04-06 22:42:52 +07:00
notBefore: 1
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@*/*':
access: $all
publish: $authenticated
unpublish: $authenticated
'vue':
access: foo
publish: foo
unpublish: foo
'jquery':
access: $all
publish: bar
unpublish: bar
2019-04-06 22:42:52 +07:00
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: trace }