12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- {
- "definitions": {
- "ObjectPattern": {
- "type": "object",
- "properties": {
- "from": {
- "anyOf": [
- {
- "type": "string",
- "minLength": 1
- },
- {
- "type": "object"
- }
- ]
- },
- "to": {
- "type": "string"
- },
- "context": {
- "type": "string"
- },
- "toType": {
- "enum": ["dir", "file", "template"]
- },
- "test": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "RegExp"
- }
- ]
- },
- "force": {
- "type": "boolean"
- },
- "ignore": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "object"
- }
- ]
- }
- },
- "flatten": {
- "type": "boolean"
- },
- "cache": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "object"
- }
- ]
- },
- "transform": {
- "instanceof": "Function"
- },
- "transformPath": {
- "instanceof": "Function"
- }
- },
- "required": ["from"]
- },
- "StringPattern": {
- "type": "string",
- "minLength": 1
- }
- },
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/StringPattern"
- },
- {
- "$ref": "#/definitions/ObjectPattern"
- }
- ]
- }
- }
|