cfg-test
Version:
In-source testing using Node.js Test Runner
34 lines (33 loc) • 767 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"env": {
"type": ["object", "null"],
"additionalProperties": {
"type": ["string", "null"]
}
},
"globals": {
"type": ["object", "null"],
"additionalProperties": {
"type": ["array", "boolean", "null", "number", "object", "string"]
}
},
"import": {
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } },
{ "type": "null" }
]
},
"require": {
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } },
{ "type": "null" }
]
}
},
"additionalProperties": false
}