UNPKG

mili

Version:

Scaffolding with continuous control over the development of the project.

61 lines (60 loc) 985 B
{ "$id": "rule.json", "type": "object", "properties": { "path": { "type": "string" }, "encoding": { "oneOf": [ { "type": "string", "enum": [ "utf8", "binary" ] }, { "type": "object", "propertyNames": { "enum": [ "utf8", "binary" ] }, "patternProperties": { ".*": { "type": "string" } } } ] }, "upgrade": { "type": "string", "enum": [ "cover", "keep", "exist", "merge" ], "default": "cover" }, "glob": { "type": "boolean", "default": true }, "handler": { "$ref": "handler.json" }, "handlers": { "type": "array", "items": { "$ref": "handler.json" } } }, "required": [ "path" ] }