tsconfig-utils
Version:
A collection of utilities for working with `tsconfig.json` files
79 lines (78 loc) • 1.92 kB
JavaScript
export const alias = {
help: ['h'],
watch: ['w'],
version: ['v'],
project: ['p'],
build: ['b'],
target: ['t'],
module: ['m'],
declaration: ['d'],
outFile: ['out'],
};
export const boolean = [
'allowJs',
'allowSyntheticDefaultImports',
'allowUmdGlobalAccess',
'allowUnreachableCode',
'allowUnusedLabels',
'alwaysStrict',
'checkJs',
'declaration',
'declarationMap',
'emitDeclarationOnly',
'disableSizeLimit',
'disableSourceOfProjectReferenceRedirect',
'disableSolutionSearching',
'disableReferencedProjectLoad',
'downlevelIteration',
'emitBOM',
'emitDecoratorMetadata',
'exactOptionalPropertyTypes',
'experimentalDecorators',
'forceConsistentCasingInFileNames',
'importHelpers',
'inlineSourceMap',
'inlineSources',
'isolatedModules',
'keyofStringsOnly',
'noEmit',
'noEmitHelpers',
'noEmitOnError',
'noErrorTruncation',
'noFallthroughCasesInSwitch',
'noImplicitAny',
'noImplicitReturns',
'noImplicitThis',
'noStrictGenericChecks',
'noUnusedLocals',
'noUnusedParameters',
'noImplicitUseStrict',
'noPropertyAccessFromIndexSignature',
'assumeChangesOnlyAffectDirectDependencies',
'noLib',
'noResolve',
'noUncheckedIndexedAccess',
'preserveConstEnums',
'noImplicitOverride',
'preserveSymlinks',
'preserveValueImports',
'composite',
'incremental',
'removeComments',
'skipLibCheck',
'skipDefaultLibCheck',
'sourceMap',
'strict',
'strictFunctionTypes',
'strictBindCallApply',
'strictNullChecks',
'strictPropertyInitialization',
'stripInternal',
'suppressExcessPropertyErrors',
'suppressImplicitAnyIndexErrors',
'traceResolution',
'useUnknownInCatchVariables',
'resolveJsonModule',
'esModuleInterop',
'useDefineForClassFields',
];