1 | export interface TSConfigs {
|
2 | compilerOptions?: {
|
3 | allowJs?: boolean;
|
4 | allowSyntheticDefaultImports?: boolean;
|
5 | allowUnreachableCode?: boolean;
|
6 | allowUnusedLabels?: boolean;
|
7 | alwaysStrict?: boolean;
|
8 | baseUrl?: string;
|
9 | charset?: string;
|
10 | checkJs?: boolean;
|
11 | declaration?: boolean;
|
12 | declarationDir?: string;
|
13 | disableSizeLimit?: boolean;
|
14 | downlevelIteration?: boolean;
|
15 | emitBOM?: boolean;
|
16 | emitDecoratorMetadata?: boolean;
|
17 | experimentalDecorators?: boolean;
|
18 | forceConsistentCasingInFileNames?: boolean;
|
19 | importHelpers?: boolean;
|
20 | inlineSourceMap?: boolean;
|
21 | inlineSources?: boolean;
|
22 | isolatedModules?: boolean;
|
23 | lib?: string[];
|
24 | locale?: string;
|
25 | mapRoot?: string;
|
26 | maxNodeModuleJsDepth?: number;
|
27 | module?: string;
|
28 | moduleResolution?: string;
|
29 | newLine?: string;
|
30 | noEmit?: boolean;
|
31 | noEmitHelpers?: boolean;
|
32 | noEmitOnError?: boolean;
|
33 | noErrorTruncation?: boolean;
|
34 | noFallthroughCasesInSwitch?: boolean;
|
35 | noImplicitAny?: boolean;
|
36 | noImplicitReturns?: boolean;
|
37 | noImplicitThis?: boolean;
|
38 | noStrictGenericChecks?: boolean;
|
39 | noUnusedLocals?: boolean;
|
40 | noUnusedParameters?: boolean;
|
41 | noImplicitUseStrict?: boolean;
|
42 | noLib?: boolean;
|
43 | noResolve?: boolean;
|
44 | out?: string;
|
45 | outDir?: string;
|
46 | outFile?: string;
|
47 | paths?: {
|
48 | [key: string]: string[];
|
49 | };
|
50 | preserveConstEnums?: boolean;
|
51 | project?: string;
|
52 | reactNamespace?: string;
|
53 | jsxFactory?: string;
|
54 | removeComments?: boolean;
|
55 | rootDir?: string;
|
56 | rootDirs?: string[];
|
57 | skipLibCheck?: boolean;
|
58 | skipDefaultLibCheck?: boolean;
|
59 | sourceMap?: boolean;
|
60 | sourceRoot?: string;
|
61 | strict?: boolean;
|
62 | strictNullChecks?: boolean;
|
63 | suppressExcessPropertyErrors?: boolean;
|
64 | suppressImplicitAnyIndexErrors?: boolean;
|
65 | target?: string;
|
66 | traceResolution?: boolean;
|
67 | types?: string[];
|
68 |
|
69 | typeRoots?: string[];
|
70 | [option: string]: any | undefined;
|
71 | };
|
72 | files?: string[];
|
73 | exclude?: string[];
|
74 | include?: string[];
|
75 | angularCompilerOptions?: {
|
76 | genDir?: string;
|
77 | basePath?: string;
|
78 | skipMetadataEmit?: boolean;
|
79 | strictMetadataEmit?: boolean;
|
80 | skipTemplateCodegen?: boolean;
|
81 | flatModuleOutFile?: string;
|
82 | flatModuleId?: string;
|
83 | generateCodeForLibraries?: boolean;
|
84 | annotateForClosureCompiler?: boolean;
|
85 | annotationsAs?: 'decorators' | 'static fields';
|
86 | trace?: boolean;
|
87 | debug?: boolean;
|
88 | enableLegacyTemplate?: boolean;
|
89 | };
|
90 | bundlerOptions?: {
|
91 | entry?: string;
|
92 | outDir?: string;
|
93 | externals?: ExternalModules;
|
94 | externalModules?: ExternalModules<string | false> | false;
|
95 | commonJsSettings?: any;
|
96 | };
|
97 | }
|
98 | export interface NodePackage {
|
99 | name: string;
|
100 | version?: string;
|
101 | description?: string;
|
102 | author?: string;
|
103 | private?: boolean;
|
104 | main?: string;
|
105 | module?: string;
|
106 | es2015?: string;
|
107 | typings?: string;
|
108 | license?: string;
|
109 | scripts?: {
|
110 | [command: string]: string;
|
111 | };
|
112 | dependencies?: {
|
113 | [pkg: string]: string;
|
114 | };
|
115 | devDependencies?: {
|
116 | [pkg: string]: string;
|
117 | };
|
118 | peerDependencies?: {
|
119 | [pkg: string]: string;
|
120 | };
|
121 | keywords?: string[];
|
122 | [misc: string]: any;
|
123 | }
|
124 | export interface ExternalModules<T = string> {
|
125 | [moduleName: string]: T;
|
126 | }
|