1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/config/yaml/token.spec.yaml

23 lines
440 B
YAML
Raw Normal View History

storage: ./storage_default_storage
uplinks:
npmjs:
url: http://localhost:4873/
security:
api:
jwt:
sign:
expiresIn: 5m
notBefore: 0
packages:
'@token/*':
access: $authenticated
publish: $authenticated
'only-you-can-publish':
access: $authenticated
publish: $authenticated
logs:
- { type: stdout, format: pretty, level: trace }
experiments:
## Enable token for testing
token: true