@schemastore/compilerconfig 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -6
- package/index.d.ts +251 -304
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for compilerconfig
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/compilerconfig
|
|
7
|
+
yarn add @schemastore/compilerconfig
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for compilerconfig.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as compilerconfig from '@schemastore/compilerconfig';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/compilerconfig)
|
|
27
|
+
* Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type Config =
|
|
8
|
+
export type Config = {
|
|
9
|
+
/**
|
|
10
|
+
* Set to true to include the output file in the project. Doesn't work in some Visual Studio project types like ASP.NET 5 applications.
|
|
11
|
+
*/
|
|
12
|
+
includeInProject?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* One or more relative file names to bundle.
|
|
15
|
+
*/
|
|
16
|
+
inputFile: string;
|
|
17
|
+
/**
|
|
18
|
+
* Specify options for minification of the output file.
|
|
19
|
+
*/
|
|
20
|
+
minify?: BaseMinify;
|
|
21
|
+
/**
|
|
22
|
+
* The relative path to the desired output file name.
|
|
23
|
+
*/
|
|
24
|
+
outputFile: string;
|
|
25
|
+
/**
|
|
26
|
+
* DEPRECATED! Use 'options/sourceMap' instead.
|
|
27
|
+
*/
|
|
28
|
+
sourceMap?: boolean;
|
|
29
|
+
[k: string]: unknown | undefined;
|
|
30
|
+
} & Config1;
|
|
31
|
+
export type Config1 =
|
|
9
32
|
| LessOptions
|
|
10
33
|
| SassOptions
|
|
11
34
|
| StylusOptions
|
|
@@ -18,339 +41,263 @@ export type Config =
|
|
|
18
41
|
*/
|
|
19
42
|
export type Compilerconfig = Config[];
|
|
20
43
|
|
|
44
|
+
export interface BaseMinify {
|
|
45
|
+
enabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Produce a .gz file after minification.
|
|
48
|
+
*/
|
|
49
|
+
gzip?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* For the multi-line output feature, how many spaces to use when indenting a block (see outputMode).
|
|
52
|
+
*/
|
|
53
|
+
indentSize?: number;
|
|
54
|
+
/**
|
|
55
|
+
* SingleLine minifies everything to a single line. MultipleLines breaks the minified code into multiple lines for easier reading.
|
|
56
|
+
*/
|
|
57
|
+
outputMode?: "multipleLines" | "singleLine" | "none";
|
|
58
|
+
[k: string]: unknown | undefined;
|
|
59
|
+
}
|
|
21
60
|
export interface LessOptions {
|
|
22
61
|
inputFile?: {
|
|
23
|
-
[k: string]: unknown;
|
|
62
|
+
[k: string]: unknown | undefined;
|
|
24
63
|
};
|
|
64
|
+
options?: Less;
|
|
65
|
+
minify?: CssMinify;
|
|
66
|
+
[k: string]: unknown | undefined;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Specify options for the compiler.
|
|
70
|
+
*/
|
|
71
|
+
export interface Less {
|
|
25
72
|
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
86
|
-
*/
|
|
87
|
-
termSemicolons?: boolean;
|
|
88
|
-
[k: string]: unknown;
|
|
89
|
-
};
|
|
90
|
-
[k: string]: unknown;
|
|
73
|
+
* LESS only. Support for AutoPrefixer by adding a browser string. An empty string means this feature is disabled. Example: 'last 2 versions, > 5%'. See more at https://github.com/ai/browserslist.
|
|
74
|
+
*/
|
|
75
|
+
autoPrefix?: string;
|
|
76
|
+
/**
|
|
77
|
+
* LESS only. CSScomb helps you sort and categorize CSS properties in your code to improve maintenance of your stylesheets. You can specify a relative path to a local .json file as well.
|
|
78
|
+
*/
|
|
79
|
+
cssComb?: ("csscomb" | "zen" | "yandex" | "none") | string;
|
|
80
|
+
/**
|
|
81
|
+
* LESS only. Currently only used for the data-uri function to ensure that images aren't created that are too large for the browser to handle.
|
|
82
|
+
*/
|
|
83
|
+
ieCompat?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* LESS only. Specifies which mode Less will use to process the math in your CSS.
|
|
86
|
+
*/
|
|
87
|
+
math?: "always" | "parens-division" | "parens" | "strict" | "strict-legacy";
|
|
88
|
+
/**
|
|
89
|
+
* Generates a base64 encoded source map at the bottom of the output.
|
|
90
|
+
*/
|
|
91
|
+
sourceMap?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* (DEPRECATED: Use 'math' instead) LESS only. Without this option on Less will try and process all maths in your CSS.
|
|
94
|
+
*/
|
|
95
|
+
strictMath?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* LESS only. Without this option, less attempts to guess at the output unit when it does maths.
|
|
98
|
+
*/
|
|
99
|
+
strictUnits?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* LESS only. This option allows you to re-write URL's in imported files so that the URL is always relative to the base imported file.
|
|
102
|
+
*/
|
|
103
|
+
relativeUrls?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* LESS only. Allows you to add a path to every generated import and URL in your CSS. This does not affect less import statements that are processed, just ones that are left in the output css.
|
|
106
|
+
*/
|
|
107
|
+
rootPath?: string;
|
|
108
|
+
/**
|
|
109
|
+
* LESS only. Base path, will be emitted in source-map as is.
|
|
110
|
+
*/
|
|
111
|
+
sourceMapRoot?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Scss only. This is the opposite of the rootpath option, it specifies a path which should be removed from the output paths.
|
|
114
|
+
*/
|
|
115
|
+
sourceMapBasePath?: string;
|
|
116
|
+
[k: string]: unknown | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface CssMinify {
|
|
119
|
+
/**
|
|
120
|
+
* CSS only. If no color names are to be used, set this value to 'hex'. If a set of colors recognized by all major browser is okay to use (W3C-strict validation is not required), set this value to 'major'.
|
|
121
|
+
*/
|
|
122
|
+
colorNames?: "hex" | "major" | "noSwap" | "strict";
|
|
123
|
+
/**
|
|
124
|
+
* CSS only. How to treat comments in the code. The default is 'none', which will strip all comments except 'important' comments. 'all' will leave all comments, and 'hacks' will only leave certain known comment-based hacks.
|
|
125
|
+
*/
|
|
126
|
+
commentMode?: "none" | "all" | "hacks" | "important";
|
|
127
|
+
/**
|
|
128
|
+
* Forces all rules to be terminated with semicolons if set to true.
|
|
129
|
+
*/
|
|
130
|
+
termSemicolons?: boolean;
|
|
131
|
+
[k: string]: unknown | undefined;
|
|
91
132
|
}
|
|
92
133
|
export interface SassOptions {
|
|
93
134
|
inputFile?: {
|
|
94
|
-
[k: string]: unknown;
|
|
135
|
+
[k: string]: unknown | undefined;
|
|
95
136
|
};
|
|
137
|
+
options?: Sass;
|
|
138
|
+
minify?: CssMinify;
|
|
139
|
+
[k: string]: unknown | undefined;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Specify options for the compiler.
|
|
143
|
+
*/
|
|
144
|
+
export interface Sass {
|
|
96
145
|
/**
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
* Scss only. Base path, will be emitted in source-map as is.
|
|
134
|
-
*/
|
|
135
|
-
sourceMapRoot?: string;
|
|
136
|
-
[k: string]: unknown;
|
|
137
|
-
};
|
|
138
|
-
minify?: {
|
|
139
|
-
/**
|
|
140
|
-
* CSS only. If no color names are to be used, set this value to 'hex'. If a set of colors recognized by all major browser is okay to use (W3C-strict validation is not required), set this value to 'major'.
|
|
141
|
-
*/
|
|
142
|
-
colorNames?: "hex" | "major" | "noSwap" | "strict";
|
|
143
|
-
/**
|
|
144
|
-
* CSS only. How to treat comments in the code. The default is 'none', which will strip all comments except 'important' comments. 'all' will leave all comments, and 'hacks' will only leave certain known comment-based hacks.
|
|
145
|
-
*/
|
|
146
|
-
commentMode?: "none" | "all" | "hacks" | "important";
|
|
147
|
-
/**
|
|
148
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
149
|
-
*/
|
|
150
|
-
termSemicolons?: boolean;
|
|
151
|
-
[k: string]: unknown;
|
|
152
|
-
};
|
|
153
|
-
[k: string]: unknown;
|
|
146
|
+
* Scss only. Path to look for imported files
|
|
147
|
+
*/
|
|
148
|
+
includePath?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Scss only. Indent type for output CSS.
|
|
151
|
+
*/
|
|
152
|
+
indentType?: "space" | "tab";
|
|
153
|
+
/**
|
|
154
|
+
* Scss only. Number of spaces or tabs.
|
|
155
|
+
*/
|
|
156
|
+
indentWidth?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Scss only. Linefeed style (cr | crlf | lf | lfcr).
|
|
159
|
+
*/
|
|
160
|
+
lineFeed?: "cr" | "crlf" | "lf" | "lfcr";
|
|
161
|
+
/**
|
|
162
|
+
* Scss only. Determines the output format of the final CSS style.
|
|
163
|
+
*/
|
|
164
|
+
outputStyle?: "nested" | "expanded" | "compact" | "compressed";
|
|
165
|
+
/**
|
|
166
|
+
* Scss only. Used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of 1.23456789 and a precision of 5, the result will be 1.23457 in the final CSS.
|
|
167
|
+
*/
|
|
168
|
+
precision?: number;
|
|
169
|
+
/**
|
|
170
|
+
* Scss only. This option allows you to re-write URL's to make them relative to the output file. This doesn't work for imported .scss files.
|
|
171
|
+
*/
|
|
172
|
+
relativeUrls?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Generates a base64 encoded source map at the bottom of the output.
|
|
175
|
+
*/
|
|
176
|
+
sourceMap?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Scss only. Base path, will be emitted in source-map as is.
|
|
179
|
+
*/
|
|
180
|
+
sourceMapRoot?: string;
|
|
181
|
+
[k: string]: unknown | undefined;
|
|
154
182
|
}
|
|
155
183
|
export interface StylusOptions {
|
|
156
184
|
inputFile?: {
|
|
157
|
-
[k: string]: unknown;
|
|
185
|
+
[k: string]: unknown | undefined;
|
|
158
186
|
};
|
|
187
|
+
options?: Stylus;
|
|
188
|
+
minify?: CssMinify;
|
|
189
|
+
[k: string]: unknown | undefined;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Specify options for the compiler.
|
|
193
|
+
*/
|
|
194
|
+
export interface Stylus {
|
|
159
195
|
/**
|
|
160
|
-
*
|
|
196
|
+
* Generates a base64 encoded source map at the bottom of the output.
|
|
161
197
|
*/
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
* Generates a base64 encoded source map at the bottom of the output.
|
|
165
|
-
*/
|
|
166
|
-
sourceMap?: boolean;
|
|
167
|
-
[k: string]: unknown;
|
|
168
|
-
};
|
|
169
|
-
minify?: {
|
|
170
|
-
/**
|
|
171
|
-
* CSS only. If no color names are to be used, set this value to 'hex'. If a set of colors recognized by all major browser is okay to use (W3C-strict validation is not required), set this value to 'major'.
|
|
172
|
-
*/
|
|
173
|
-
colorNames?: "hex" | "major" | "noSwap" | "strict";
|
|
174
|
-
/**
|
|
175
|
-
* CSS only. How to treat comments in the code. The default is 'none', which will strip all comments except 'important' comments. 'all' will leave all comments, and 'hacks' will only leave certain known comment-based hacks.
|
|
176
|
-
*/
|
|
177
|
-
commentMode?: "none" | "all" | "hacks" | "important";
|
|
178
|
-
/**
|
|
179
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
180
|
-
*/
|
|
181
|
-
termSemicolons?: boolean;
|
|
182
|
-
[k: string]: unknown;
|
|
183
|
-
};
|
|
184
|
-
[k: string]: unknown;
|
|
198
|
+
sourceMap?: boolean;
|
|
199
|
+
[k: string]: unknown | undefined;
|
|
185
200
|
}
|
|
186
201
|
export interface CoffeeScriptOptions {
|
|
187
202
|
inputFile?: {
|
|
188
|
-
[k: string]: unknown;
|
|
203
|
+
[k: string]: unknown | undefined;
|
|
189
204
|
};
|
|
205
|
+
options?: CoffeeScript;
|
|
206
|
+
minify?: JavascriptMinify;
|
|
207
|
+
[k: string]: unknown | undefined;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Specify options for the compiler.
|
|
211
|
+
*/
|
|
212
|
+
export interface CoffeeScript {
|
|
190
213
|
/**
|
|
191
|
-
*
|
|
192
|
-
*/
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
223
|
-
*/
|
|
224
|
-
termSemicolons?: boolean;
|
|
225
|
-
[k: string]: unknown;
|
|
226
|
-
};
|
|
227
|
-
[k: string]: unknown;
|
|
214
|
+
* CoffeeScript only. Compile the JavaScript without the top-level function safety wrapper.
|
|
215
|
+
*/
|
|
216
|
+
bare?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* CoffeeScript only. Specify how the Iced runtime is included in the output JavaScript file.
|
|
219
|
+
*/
|
|
220
|
+
runtimeMode?: "node" | "inline" | "none" | "window";
|
|
221
|
+
/**
|
|
222
|
+
* Generates a source map file.
|
|
223
|
+
*/
|
|
224
|
+
sourceMap?: boolean;
|
|
225
|
+
[k: string]: unknown | undefined;
|
|
226
|
+
}
|
|
227
|
+
export interface JavascriptMinify {
|
|
228
|
+
/**
|
|
229
|
+
* JavaScript only.
|
|
230
|
+
*/
|
|
231
|
+
evalTreatment?: "ignore" | "makeAllSafe" | "makeImmediateSafe";
|
|
232
|
+
/**
|
|
233
|
+
* JavaScript only.
|
|
234
|
+
*/
|
|
235
|
+
preserveImportantComments?: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* JavaScript only. Controls if local variables should be shortened.
|
|
238
|
+
*/
|
|
239
|
+
renameLocals?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Forces all rules to be terminated with semicolons if set to true.
|
|
242
|
+
*/
|
|
243
|
+
termSemicolons?: boolean;
|
|
244
|
+
[k: string]: unknown | undefined;
|
|
228
245
|
}
|
|
229
246
|
export interface IcedCoffeeScriptOptions {
|
|
230
247
|
inputFile?: {
|
|
231
|
-
[k: string]: unknown;
|
|
248
|
+
[k: string]: unknown | undefined;
|
|
232
249
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
options?: {
|
|
237
|
-
/**
|
|
238
|
-
* CoffeeScript only. Compile the JavaScript without the top-level function safety wrapper.
|
|
239
|
-
*/
|
|
240
|
-
bare?: boolean;
|
|
241
|
-
/**
|
|
242
|
-
* CoffeeScript only. Specify how the Iced runtime is included in the output JavaScript file.
|
|
243
|
-
*/
|
|
244
|
-
runtimeMode?: "node" | "inline" | "none" | "window";
|
|
245
|
-
/**
|
|
246
|
-
* Generates a source map file.
|
|
247
|
-
*/
|
|
248
|
-
sourceMap?: boolean;
|
|
249
|
-
[k: string]: unknown;
|
|
250
|
-
};
|
|
251
|
-
minify?: {
|
|
252
|
-
/**
|
|
253
|
-
* JavaScript only.
|
|
254
|
-
*/
|
|
255
|
-
evalTreatment?: "ignore" | "makeAllSafe" | "makeImmediateSafe";
|
|
256
|
-
/**
|
|
257
|
-
* JavaScript only.
|
|
258
|
-
*/
|
|
259
|
-
preserveImportantComments?: boolean;
|
|
260
|
-
/**
|
|
261
|
-
* JavaScript only. Controls if local variables should be shortened.
|
|
262
|
-
*/
|
|
263
|
-
renameLocals?: boolean;
|
|
264
|
-
/**
|
|
265
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
266
|
-
*/
|
|
267
|
-
termSemicolons?: boolean;
|
|
268
|
-
[k: string]: unknown;
|
|
269
|
-
};
|
|
270
|
-
[k: string]: unknown;
|
|
250
|
+
options?: CoffeeScript;
|
|
251
|
+
minify?: JavascriptMinify;
|
|
252
|
+
[k: string]: unknown | undefined;
|
|
271
253
|
}
|
|
272
254
|
export interface BabelOptions {
|
|
273
255
|
inputFile?: {
|
|
274
|
-
[k: string]: unknown;
|
|
256
|
+
[k: string]: unknown | undefined;
|
|
275
257
|
};
|
|
276
|
-
minify?:
|
|
277
|
-
|
|
278
|
-
* JavaScript only.
|
|
279
|
-
*/
|
|
280
|
-
evalTreatment?: "ignore" | "makeAllSafe" | "makeImmediateSafe";
|
|
281
|
-
/**
|
|
282
|
-
* JavaScript only.
|
|
283
|
-
*/
|
|
284
|
-
preserveImportantComments?: boolean;
|
|
285
|
-
/**
|
|
286
|
-
* JavaScript only. Controls if local variables should be shortened.
|
|
287
|
-
*/
|
|
288
|
-
renameLocals?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
291
|
-
*/
|
|
292
|
-
termSemicolons?: boolean;
|
|
293
|
-
[k: string]: unknown;
|
|
294
|
-
};
|
|
295
|
-
[k: string]: unknown;
|
|
258
|
+
minify?: JavascriptMinify;
|
|
259
|
+
[k: string]: unknown | undefined;
|
|
296
260
|
}
|
|
297
261
|
export interface HandlebarsOptions {
|
|
298
262
|
inputFile?: {
|
|
299
|
-
[k: string]: unknown;
|
|
263
|
+
[k: string]: unknown | undefined;
|
|
300
264
|
};
|
|
265
|
+
options?: Handlebars;
|
|
266
|
+
minify?: JavascriptMinify;
|
|
267
|
+
[k: string]: unknown | undefined;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Specify options for the compiler.
|
|
271
|
+
*/
|
|
272
|
+
export interface Handlebars {
|
|
273
|
+
enabled?: boolean;
|
|
301
274
|
/**
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Exports amd style (require.js), this option has priority to commonjs.
|
|
332
|
-
*/
|
|
333
|
-
amd?: boolean;
|
|
334
|
-
[k: string]: unknown;
|
|
335
|
-
};
|
|
336
|
-
minify?: {
|
|
337
|
-
/**
|
|
338
|
-
* JavaScript only.
|
|
339
|
-
*/
|
|
340
|
-
evalTreatment?: "ignore" | "makeAllSafe" | "makeImmediateSafe";
|
|
341
|
-
/**
|
|
342
|
-
* JavaScript only.
|
|
343
|
-
*/
|
|
344
|
-
preserveImportantComments?: boolean;
|
|
345
|
-
/**
|
|
346
|
-
* JavaScript only. Controls if local variables should be shortened.
|
|
347
|
-
*/
|
|
348
|
-
renameLocals?: boolean;
|
|
349
|
-
/**
|
|
350
|
-
* Forces all rules to be terminated with semicolons if set to true.
|
|
351
|
-
*/
|
|
352
|
-
termSemicolons?: boolean;
|
|
353
|
-
[k: string]: unknown;
|
|
354
|
-
};
|
|
355
|
-
[k: string]: unknown;
|
|
275
|
+
* Removes the BOM (Byte Order Mark) from the beginning of the templates.
|
|
276
|
+
*/
|
|
277
|
+
noBOM?: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Template namespace
|
|
280
|
+
*/
|
|
281
|
+
namespace?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Template root. Base value that will be stripped from template names.
|
|
284
|
+
*/
|
|
285
|
+
root?: string;
|
|
286
|
+
/**
|
|
287
|
+
* List of known helpers for a more optimized output (comma separated)
|
|
288
|
+
*/
|
|
289
|
+
knownHelpers?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Compile with known helpers only
|
|
292
|
+
*/
|
|
293
|
+
knownHelpersOnly?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* Path to the Handlebars module to export CommonJS style
|
|
296
|
+
*/
|
|
297
|
+
commonjs?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Exports amd style (require.js), this option has priority to commonjs.
|
|
300
|
+
*/
|
|
301
|
+
amd?: boolean;
|
|
302
|
+
[k: string]: unknown | undefined;
|
|
356
303
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/compilerconfig",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/compilerconfig",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "e524dee5ac6fd41a134599fb64ed0bfde8cc5de07b4201730d86a5fe2a9c3425",
|
|
13
|
+
"version": "0.0.4"
|
|
14
|
+
}
|