1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/config/json/default.json
Honza Hommer 95d134bdfd feat: parse YAML/JSON/JS config file (#1258)
* 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
2019-05-21 22:50:14 -07:00

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"
}
]
}