Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

114 lines
4.5KB

  1. {
  2. "$ref": "#/definitions/TsConfigSchema",
  3. "$schema": "http://json-schema.org/draft-07/schema#",
  4. "definitions": {
  5. "TsConfigOptions": {
  6. "description": "Must be an interface to support `typescript-json-schema`.",
  7. "properties": {
  8. "compiler": {
  9. "default": "typescript",
  10. "description": "Specify a custom TypeScript compiler.",
  11. "type": "string"
  12. },
  13. "compilerHost": {
  14. "default": false,
  15. "description": "Use TypeScript's compiler host API.",
  16. "type": "boolean"
  17. },
  18. "compilerOptions": {
  19. "additionalProperties": true,
  20. "allOf": [
  21. {
  22. "$ref": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json#definitions/compilerOptionsDefinition/properties/compilerOptions"
  23. }
  24. ],
  25. "description": "JSON object to merge with compiler options.",
  26. "properties": {
  27. },
  28. "type": "object"
  29. },
  30. "emit": {
  31. "default": false,
  32. "description": "Emit output files into `.ts-node` directory.",
  33. "type": "boolean"
  34. },
  35. "files": {
  36. "default": false,
  37. "description": "Load files from `tsconfig.json` on startup.",
  38. "type": "boolean"
  39. },
  40. "ignore": {
  41. "default": "/node_modules/",
  42. "description": "Override the path patterns to skip compilation.",
  43. "items": {
  44. "type": "string"
  45. },
  46. "type": "array"
  47. },
  48. "ignoreDiagnostics": {
  49. "description": "Ignore TypeScript warnings by diagnostic code.",
  50. "items": {
  51. "type": [
  52. "string",
  53. "number"
  54. ]
  55. },
  56. "type": "array"
  57. },
  58. "logError": {
  59. "default": false,
  60. "description": "Logs TypeScript errors to stderr instead of throwing exceptions.",
  61. "type": "boolean"
  62. },
  63. "preferTsExts": {
  64. "default": false,
  65. "description": "Re-order file extensions so that TypeScript imports are preferred.",
  66. "type": "boolean"
  67. },
  68. "pretty": {
  69. "default": false,
  70. "description": "Use pretty diagnostic formatter.",
  71. "type": "boolean"
  72. },
  73. "scope": {
  74. "default": false,
  75. "description": "Scope compiler to files within `cwd`.",
  76. "type": "boolean"
  77. },
  78. "skipIgnore": {
  79. "default": false,
  80. "description": "Skip ignore check.",
  81. "type": "boolean"
  82. },
  83. "transpileOnly": {
  84. "default": false,
  85. "description": "Use TypeScript's faster `transpileModule`.",
  86. "type": "boolean"
  87. },
  88. "typeCheck": {
  89. "default": true,
  90. "description": "**DEPRECATED** Specify type-check is enabled (e.g. `transpileOnly == false`).",
  91. "type": "boolean"
  92. }
  93. },
  94. "type": "object"
  95. },
  96. "TsConfigSchema": {
  97. "allOf": [
  98. {
  99. "$ref": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json"
  100. }
  101. ],
  102. "description": "tsconfig schema which includes \"ts-node\" options.",
  103. "properties": {
  104. "ts-node": {
  105. "$ref": "#/definitions/TsConfigOptions",
  106. "description": "ts-node options. See also: https://github.com/TypeStrong/ts-node#configuration-options\n\nts-node offers TypeScript execution and REPL for node.js, with source map support."
  107. }
  108. },
  109. "type": "object"
  110. }
  111. }
  112. }