mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
28 lines
504 B
YAML
28 lines
504 B
YAML
storage: ./storage
|
|
plugins: ./plugins
|
|
|
|
security:
|
|
api:
|
|
jwt:
|
|
sign:
|
|
expiresIn: 5m
|
|
# to avoid invalid verification token, more info on JWT page
|
|
notBefore: 0
|
|
|
|
auth:
|
|
htpasswd:
|
|
file: ./htpasswd
|
|
|
|
packages:
|
|
'@token/*':
|
|
access: $authenticated
|
|
publish: $authenticated
|
|
'only-you-can-publish':
|
|
access: $authenticated
|
|
publish: $authenticated
|
|
logs:
|
|
- { type: stdout, format: pretty, level: error }
|
|
experiments:
|
|
## enable token for testing
|
|
token: true
|