1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-28 00:44:30 +07:00
verdaccio-ui/tools/_verdaccio.config.yaml
2020-01-14 07:16:39 +01:00

56 lines
880 B
YAML

web:
title: Verdaccio Local Dev
sort_packages: asc
primary_color: #CCC
plugins: ../
auth:
auth-memory:
users:
foo:
name: test
password: test #pragma: allowlist secret
bar:
name: bar
password: test #pragma: allowlist secret
security:
api:
jwt:
sign:
expiresIn: 120d
notBefore: 1
web:
sign:
expiresIn: 100d
notBefore: 0
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
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: trace }