0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/server/test/token/token.spec.yaml

28 lines
504 B
YAML
Raw Normal View History

2020-03-03 17:59:19 -05:00
storage: ./storage
plugins: ./plugins
security:
api:
jwt:
sign:
expiresIn: 5m
2019-09-26 11:22:14 -05:00
# to avoid invalid verification token, more info on JWT page
notBefore: 0
2020-03-03 17:59:19 -05:00
auth:
htpasswd:
file: ./htpasswd
packages:
'@token/*':
access: $authenticated
publish: $authenticated
'only-you-can-publish':
access: $authenticated
publish: $authenticated
logs:
2020-03-03 17:59:19 -05:00
- { type: stdout, format: pretty, level: error }
experiments:
2019-09-26 11:22:14 -05:00
## enable token for testing
token: true