mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
23 lines
509 B
YAML
23 lines
509 B
YAML
storage: ./storage_default_storage
|
|
uplinks:
|
|
npmjs:
|
|
url: http://localhost:4873/
|
|
security:
|
|
api:
|
|
jwt:
|
|
sign:
|
|
expiresIn: 5m
|
|
# to avoid invalid verification token, more info on JWT page
|
|
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
|