0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05: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

55 lines
1,014 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"
}
]
}