-
Notifications
You must be signed in to change notification settings - Fork 0
/
verdaccio-config.yaml
60 lines (45 loc) · 1.01 KB
/
verdaccio-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# https://verdaccio.org/docs/configuration/
# Path to a directory with all packages.
storage: .verdaccio/storage
# Path to a directory with plugins to include.
plugins: .verdaccio/plugins
web:
title: Verdaccio - Weaver - Localhost
# Disable login requirement for localhost.
login: false
# List of other known repositories to use.
uplinks:
npmjs:
url: https://registry.npmjs.org/
cache: true
# Set max cache age to 40 days.
maxage: 40d
listen: 0.0.0.0:4873
packages:
'@wvr/*':
# Choices: "$all", "$anonymous", "$authenticated".
access: $all
publish: $all
unpublish: $all
'**':
access: $all
# Proxy non-local packages to 'npmjs' registry.
proxy: npmjs
# Allow for publishing while offline.
publish:
allow_offline: true
server:
keepAliveTimeout: 60
security:
api:
jwt:
sign:
expiresIn: 15d
notBefore: 0
web:
sign:
expiresIn: 1h
middlewares:
audit:
enabled: true
logs: { type: stdout, format: pretty, level: http }