updated tsconfig.json

This commit is contained in:
Mads Kristensen
2015-03-24 19:05:22 -07:00
parent ee5686ac36
commit e4e7aefc2d
2 changed files with 138 additions and 45 deletions

View File

@@ -8,8 +8,8 @@ insert_final_newline = true
[*.json]
indent_style = tab
indent_size = 4
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

@@ -1,47 +1,140 @@
{
"title": "JSON schema for the TypeScript compiler's configuration file",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON schema for the TypeScript compiler's configuration file",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"type": "object",
"properties": {
"compilerOptions": {
"type": "object",
"description": "Instructs the TypeScript compiler how to compile .ts files",
"properties": {
"module": {
"description": "Specify module code generation: 'commonjs' or 'amd'.",
"enum": [ "commonjs", "amd" ]
},
"noImplicitAny": {
"description": "Warn on expressions and declarations with an implied 'any' type.",
"type": "boolean"
},
"removeComments": {
"description": "Do not emit comments to output.",
"type": "boolean"
},
"preserveConstEnums": {
"type": "boolean"
},
"out": {
"description": "Concatenate and emit output to single file.",
"type": "string",
"format": "uri"
},
"sourceMap": {
"description": "Generates corresponding '.map' file.",
"type": "boolean"
}
}
},
"files": {
"type": "array",
"description": "If no 'files' property is present in a tsconfig.json, the compiler defaults to including all files the containing directory and subdirectories. When a 'files' property is specified, only those files are included.",
"items": {
"type": "string",
"format": "uri"
}
}
}
"properties": {
"compilerOptions": {
"type": "object",
"description": "Instructs the TypeScript compiler how to compile .ts files",
"properties": {
"charset": {
"type": "string"
},
"codepage": {
"type": "number"
},
"declaration": {
"description": "Generates corresponding d.ts files.",
"type": "boolean"
},
"diagnostics": {
"type": "boolean"
},
"emitBOM": {
"type": "boolean"
},
"help": {
"description": "Print this message",
"type": "boolean"
},
"listFiles": {
"type": "boolean"
},
"locale": {
"type": "string"
},
"mapRoot": {
"description": "Specifies the location where debugger should locate map files instead of generated locations",
"type": "string",
"format": "uri"
},
"module": {
"description": "Specify module code generation: 'commonjs' or 'amd'.",
"enum": [ "commonjs", "amd" ]
},
"noEmit": {
"description": "Do not emit output.",
"type": "boolean"
},
"noEmitOnError": {
"description": "Do not emit outputs if any type checking errors were reported.",
"type": "boolean"
},
"noImplicitAny": {
"description": "Warn on expressions and declarations with an implied 'any' type.",
"type": "boolean"
},
"noLib": {
"type": "boolean"
},
"noLibCheck": {
"type": "boolean"
},
"noResolve": {
"type": "boolean"
},
"out": {
"description": "Concatenate and emit output to single file.",
"type": "string",
"format": "uri"
},
"outDir": {
"description": "Redirect output structure to the directory.",
"type": "string",
"format": "uri"
},
"preserveConstEnums": {
"description": "Do not erase const enum declarations in generated code.",
"type": "boolean"
},
"project": {
"description": "Compile the project in the given directory.",
"type": "string",
"format": "uri"
},
"removeComments": {
"description": "Do not emit comments to output.",
"type": "boolean"
},
"sourceMap": {
"description": "Generates corresponding '.map' file.",
"type": "boolean"
},
"sourceRoot": {
"description": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
"type": "string",
"format": "uri"
},
"suppressImplicitAnyIndexErrors": {
"description": "Suppress noImplicitAny errors for indexing objects lacking index signatures.",
"type": "boolean"
},
"stripInternal": {
"description": "Experimental. Do not emit declarations for code that has internal annotations.",
"type": "boolean"
},
"preserveNewLines": {
"description": "Experimental. Preserve new lines when emitting code.",
"type": "boolean"
},
"cacheDownlevelForOfLength": {
"description": "Experimental. Cache length access when downlevel emitting for-of statements.",
"type": "boolean"
},
"target": {
"description": "Specify ECMAScript target version.",
"enum": [ "es3", "es5", "es6" ],
"default": "es3"
},
"version": {
"description": "Print the compiler's version.",
"type": "boolean"
},
"watch": {
"description": "Watch input files.",
"type": "boolean"
}
}
},
"files": {
"type": "array",
"description": "If no 'files' property is present in a tsconfig.json, the compiler defaults to including all files the containing directory and subdirectories. When a 'files' property is specified, only those files are included.",
"items": {
"type": "string",
"format": "uri"
}
}
}
}