mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-17 07:45:52 +01:00
95d134bdfd
* Parse JSON/YAML config file. * fix missing export * fix: typos * test(config): remove JSON test * feat: better config error handling, tests * fix: detect YAML config file via extension * docs: https://github.com/verdaccio/website/pull/99
56 lines
1014 B
JSON
56 lines
1014 B
JSON
{
|
|
"storage": "./storage_default_storage",
|
|
"uplinks": {
|
|
"npmjs": {
|
|
"url": "http://localhost:4873/"
|
|
}
|
|
},
|
|
"packages": {
|
|
"@*/*": {
|
|
"access": "$all",
|
|
"publish": "$all",
|
|
"proxy": "npmjs"
|
|
},
|
|
"forbidden-place": {
|
|
"access": "nobody",
|
|
"publish": "$all"
|
|
},
|
|
"react": {
|
|
"access": "$all",
|
|
"publish": "$all",
|
|
"proxy": "npmjs"
|
|
},
|
|
"corrupted-package": {
|
|
"access": "$all",
|
|
"publish": "$all",
|
|
"proxy": "npmjs"
|
|
},
|
|
"jquery": {
|
|
"access": "$all",
|
|
"publish": "$all",
|
|
"proxy": "npmjs"
|
|
},
|
|
"auth-package": {
|
|
"access": "$authenticated",
|
|
"publish": "$authenticated"
|
|
},
|
|
"vue": {
|
|
"access": "$authenticated",
|
|
"publish": "$authenticated",
|
|
"proxy": "npmjs"
|
|
},
|
|
"*": {
|
|
"access": "$all",
|
|
"publish": "$all",
|
|
"proxy": "npmjs"
|
|
}
|
|
},
|
|
"logs": [
|
|
{
|
|
"type": "stdout",
|
|
"format": "pretty",
|
|
"level": "warn"
|
|
}
|
|
]
|
|
}
|