UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 4.47 kB
{"title":"JSON schema for DNX 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},"emitEntryPoint":{"type":"boolean","default":false},"optimize":{"type":"boolean","default":false},"languageVersion":{"type":"string","enum":["csharp1","csharp2","csharp3","csharp4","csharp5","csharp6","experimental"]},"keyFile":{"type":"string"},"delaySign":{"type":"boolean","default":false},"strongName":{"type":"boolean","default":false}}},"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"]},"target":{"type":"string","enum":["project","package"]}}}},"script":{"type":["string","array"],"items":{"type":"string"}}},"properties":{"authors":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"packInclude":{"type":"object"},"publishExclude":{"type":["string","array"],"items":{"type":"string"},"default":["obj/**/*.*","bin/**/*.*","**/.*/**"]},"compile":{"type":["string","array"],"items":{"type":"string"},"default":"**/*.cs"},"compileExclude":{"type":["string","array"],"items":{"type":"string"}},"compileFiles":{"type":["string","array"],"items":{"type":"string"}},"content":{"type":["string","array"],"items":{"type":"string"},"default":"**/*"},"contentExclude":{"type":["string","array"],"items":{"type":"string"}},"contentFiles":{"type":["string","array"],"items":{"type":"string"}},"preprocess":{"type":["string","array"],"items":{"type":"string"},"default":"compiler/preprocess/**/*.cs"},"preprocessExclude":{"type":["string","array"],"items":{"type":"string"}},"preprocessFiles":{"type":["string","array"],"items":{"type":"string"}},"resource":{"type":["string","array"],"items":{"type":"string"},"default":["compiler/resources/**/*","**/*.resx"]},"resourceExclude":{"type":["string","array"],"items":{"type":"string"}},"resourceFiles":{"type":["string","array"],"items":{"type":"string"}},"shared":{"type":["string","array"],"items":{"type":"string"},"default":"compiler/shared/**/*.cs"},"sharedExclude":{"type":["string","array"],"items":{"type":"string"}},"sharedFiles":{"type":["string","array"],"items":{"type":"string"}},"exclude":{"type":["string","array"],"items":{"type":"string"}},"excludeBuiltIn":{"type":["string","array"],"items":{"type":"string"},"default":["bin/**","obj/**","**/*.xproj"]},"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"},"copyright":{"type":"string"},"iconUrl":{"type":"string"},"licenseUrl":{"type":"string"},"requireLicenseAcceptance":{"type":"boolean","default":false},"owners":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"projectUrl":{"type":"string"},"summary":{"type":"string"},"tags":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"title":{"type":"string"},"releaseNotes":{"type":"string"},"language":{"type":"string"},"description":{"type":"string"},"frameworks":{"type":"object","additionalProperties":{"$ref":"#/definitions/configType"}},"namedResource":{"type":"object","additionalProperties":{"type":"string"}},"repository":{"type":"object","properties":{"type":{"type":"string","enum":["git"],"default":"git"}},"additionalProperties":{"type":"string"}},"scripts":{"type":"object","properties":{"prebuild":{"$ref":"#/definitions/script"},"postbuild":{"$ref":"#/definitions/script"},"prepack":{"$ref":"#/definitions/script"},"postpack":{"$ref":"#/definitions/script"},"prepublish":{"$ref":"#/definitions/script"},"postpublish":{"$ref":"#/definitions/script"},"prerestore":{"$ref":"#/definitions/script"},"postrestore":{"$ref":"#/definitions/script"},"prepare":{"$ref":"#/definitions/script"}}},"version":{"type":"string"},"webroot":{"type":"string"}}}