UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 2.53 kB
{"title":"JSON schema for ASP.NET project.json files","$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"compilationOptions":{"type":"object","properties":{"define":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"warningsAsErrors":{"type":"boolean","default":false},"allowUnsafe":{"type":"boolean","default":false},"optimize":{"type":"boolean","default":false},"languageVersion":{"type":"string","enum":["csharp1","csharp2","csharp3","csharp4","csharp5","csharp6","experimental"]}}},"configType":{"type":"object","properties":{"dependencies":{"$ref":"#/definitions/dependencies"},"compilationOptions":{"$ref":"#/definitions/compilationOptions"},"frameworkAssemblies":{"$ref":"#/definitions/dependencies"}}},"dependencies":{"type":"object","additionalProperties":{"type":["string","object"],"properties":{"version":{"type":"string"},"type":{"type":"string","default":"default","enum":["default","build"]}}}},"script":{"type":["string","array"],"items":{"type":"string"}}},"properties":{"authors":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"bundleExclude":{"type":["string","array"],"items":{"type":"string"},"default":""},"code":{"type":["string","array"],"items":{"type":"string"},"default":"**\\*.cs"},"commands":{"type":"object","additionalProperties":{"type":"string"}},"compilationOptions":{"$ref":"#/definitions/compilationOptions"},"configurations":{"type":"object","additionalProperties":{"type":"object","properties":{"compilationOptions":{"$ref":"#/definitions/compilationOptions"}}}},"dependencies":{"$ref":"#/definitions/dependencies"},"description":{"type":"string"},"exclude":{"type":["string","array"],"items":{"type":"string"},"default":["bin/**/*.*","obj/**/*.*"]},"frameworks":{"type":"object","additionalProperties":{"$ref":"#/definitions/configType"}},"preprocess":{"type":"string","default":"Compiler\\Preprocess\\**\\*.cs"},"resources":{"type":["string","array"],"items":{"type":"string"},"default":"Compiler\\Resources\\**\\*.cs"},"scripts":{"type":"object","properties":{"prepack":{"$ref":"#/definitions/script"},"postpack":{"$ref":"#/definitions/script"},"prebundle":{"$ref":"#/definitions/script"},"postbundle":{"$ref":"#/definitions/script"},"prerestore":{"$ref":"#/definitions/script"},"postrestore":{"$ref":"#/definitions/script"},"prepare":{"$ref":"#/definitions/script"}}},"shared":{"type":["string","array"],"items":{"type":"string"},"default":"Compiler\\Shared\\**\\*.cs"},"version":{"type":"string"},"webroot":{"type":"string"}}}