1 | {
|
2 | "definitions": {
|
3 | "AfterEmitCleanOptions": {
|
4 | "additionalProperties": false,
|
5 | "properties": {
|
6 | "excludes": {
|
7 | "description": "Path array to exclude from deleting.",
|
8 | "items": {
|
9 | "type": "string"
|
10 | },
|
11 | "type": "array"
|
12 | },
|
13 | "paths": {
|
14 | "description": "Paths to be deleted.",
|
15 | "items": {
|
16 | "type": "string"
|
17 | },
|
18 | "type": "array"
|
19 | }
|
20 | },
|
21 | "type": "object"
|
22 | },
|
23 | "AssetEntry": {
|
24 | "additionalProperties": false,
|
25 | "properties": {
|
26 | "exclude": {
|
27 | "description": "The ignore list.",
|
28 | "items": {
|
29 | "type": "string"
|
30 | },
|
31 | "type": "array"
|
32 | },
|
33 | "from": {
|
34 | "description": "The source file, it can be absolute or relative path or glob pattern.",
|
35 | "type": "string"
|
36 | },
|
37 | "to": {
|
38 | "description": "The output file name.",
|
39 | "type": "string"
|
40 | }
|
41 | },
|
42 | "type": "object"
|
43 | },
|
44 | "AssetPatternObjectCompat": {
|
45 | "additionalProperties": false,
|
46 | "properties": {
|
47 | "glob": {
|
48 | "type": "string"
|
49 | },
|
50 | "ignore": {
|
51 | "items": {
|
52 | "type": "string"
|
53 | },
|
54 | "type": "array"
|
55 | },
|
56 | "input": {
|
57 | "type": "string"
|
58 | },
|
59 | "output": {
|
60 | "type": "string"
|
61 | }
|
62 | },
|
63 | "type": "object"
|
64 | },
|
65 | "BeforeBuildCleanOptions": {
|
66 | "additionalProperties": false,
|
67 | "properties": {
|
68 | "cleanCache": {
|
69 | "description": "If true, delete cache directories before build.",
|
70 | "type": "boolean"
|
71 | },
|
72 | "cleanOutDir": {
|
73 | "description": "If true, delete output directory before build.",
|
74 | "type": "boolean"
|
75 | },
|
76 | "excludes": {
|
77 | "description": "Path array to exclude from deleting.",
|
78 | "items": {
|
79 | "type": "string"
|
80 | },
|
81 | "type": "array"
|
82 | },
|
83 | "paths": {
|
84 | "description": "Paths to be deleted.",
|
85 | "items": {
|
86 | "type": "string"
|
87 | },
|
88 | "type": "array"
|
89 | }
|
90 | },
|
91 | "type": "object"
|
92 | },
|
93 | "CleanOptions": {
|
94 | "additionalProperties": false,
|
95 | "properties": {
|
96 | "afterEmit": {
|
97 | "$ref": "#/definitions/AfterEmitCleanOptions",
|
98 | "description": "After emit clean option."
|
99 | },
|
100 | "allowOutsideOutDir": {
|
101 | "description": "Allows cleaning outside of output directory.",
|
102 | "type": "boolean"
|
103 | },
|
104 | "allowOutsideWorkspaceRoot": {
|
105 | "description": "Allows cleaning outside of workspace root.",
|
106 | "type": "boolean"
|
107 | },
|
108 | "beforeBuild": {
|
109 | "$ref": "#/definitions/BeforeBuildCleanOptions",
|
110 | "description": "Before build clean option."
|
111 | }
|
112 | },
|
113 | "type": "object"
|
114 | },
|
115 | "ExternalsObjectElement": {
|
116 | "additionalProperties": {
|
117 | "anyOf": [
|
118 | {
|
119 | "additionalProperties": {
|
120 | "type": [
|
121 | "string",
|
122 | "boolean"
|
123 | ]
|
124 | },
|
125 | "properties": {
|
126 | "amd": {
|
127 | "type": "string"
|
128 | },
|
129 | "commonjs": {
|
130 | "type": "string"
|
131 | },
|
132 | "root": {
|
133 | "type": "string"
|
134 | }
|
135 | },
|
136 | "type": "object"
|
137 | },
|
138 | {
|
139 | "type": [
|
140 | "string",
|
141 | "boolean"
|
142 | ]
|
143 | }
|
144 | ]
|
145 | },
|
146 | "type": "object"
|
147 | },
|
148 | "GlobalEntry": {
|
149 | "additionalProperties": false,
|
150 | "properties": {
|
151 | "bundleName": {
|
152 | "description": "The bundle name for this extra entry point.",
|
153 | "type": "string"
|
154 | },
|
155 | "input": {
|
156 | "anyOf": [
|
157 | {
|
158 | "items": {
|
159 | "type": "string"
|
160 | },
|
161 | "type": "array"
|
162 | },
|
163 | {
|
164 | "type": "string"
|
165 | }
|
166 | ],
|
167 | "description": "The file to include."
|
168 | },
|
169 | "lazy": {
|
170 | "description": "If the bundle will be lazy loaded.",
|
171 | "type": "boolean"
|
172 | }
|
173 | },
|
174 | "type": "object"
|
175 | },
|
176 | "LibBundleOptions": {
|
177 | "additionalProperties": false,
|
178 | "properties": {
|
179 | "entry": {
|
180 | "description": "The entry file to be bundled.",
|
181 | "type": "string"
|
182 | },
|
183 | "entryRoot": {
|
184 | "description": "Entry root directory resolution.",
|
185 | "enum": [
|
186 | "outputPath",
|
187 | "prevBundleOutDir",
|
188 | "root",
|
189 | "tsTranspilationOutDir"
|
190 | ],
|
191 | "type": "string"
|
192 | },
|
193 | "externals": {
|
194 | "anyOf": [
|
195 | {
|
196 | "$ref": "#/definitions/ExternalsObjectElement"
|
197 | },
|
198 | {
|
199 | "items": {
|
200 | "anyOf": [
|
201 | {
|
202 | "$ref": "#/definitions/ExternalsObjectElement"
|
203 | },
|
204 | {
|
205 | "type": "string"
|
206 | }
|
207 | ]
|
208 | },
|
209 | "type": "array"
|
210 | },
|
211 | {
|
212 | "type": "string"
|
213 | }
|
214 | ],
|
215 | "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
|
216 | },
|
217 | "includeDefaultAngularAndRxJsGlobals": {
|
218 | "description": "If true, predefined Angular and rxjs globals are added.",
|
219 | "type": "boolean"
|
220 | },
|
221 | "libraryTarget": {
|
222 | "description": "Bundle module format.",
|
223 | "enum": [
|
224 | "cjs",
|
225 | "esm",
|
226 | "umd"
|
227 | ],
|
228 | "type": "string"
|
229 | },
|
230 | "minify": {
|
231 | "description": "If true, minify file will be generated.",
|
232 | "type": "boolean"
|
233 | },
|
234 | "nodeModulesAsExternals": {
|
235 | "description": "If true, node_modules packages are not included in bundle.",
|
236 | "type": "boolean"
|
237 | },
|
238 | "outputFilePath": {
|
239 | "description": "Custom bundle output file path.",
|
240 | "type": "string"
|
241 | },
|
242 | "tsConfig": {
|
243 | "description": "The typescript configuration file to be used.",
|
244 | "type": "string"
|
245 | },
|
246 | "tsTranspilationIndex": {
|
247 | "description": "Array index for entry root tsTranspilationResult.",
|
248 | "type": "number"
|
249 | }
|
250 | },
|
251 | "type": "object"
|
252 | },
|
253 | "LibEnvOverridesOptions": {
|
254 | "additionalProperties": {
|
255 | "$ref": "#/definitions/LibProjectConfigBase"
|
256 | },
|
257 | "type": "object"
|
258 | },
|
259 | "LibProjectConfigBase": {
|
260 | "additionalProperties": false,
|
261 | "properties": {
|
262 | "banner": {
|
263 | "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
|
264 | "type": "string"
|
265 | },
|
266 | "bundles": {
|
267 | "anyOf": [
|
268 | {
|
269 | "items": {
|
270 | "$ref": "#/definitions/LibBundleOptions"
|
271 | },
|
272 | "type": "array"
|
273 | },
|
274 | {
|
275 | "type": "boolean"
|
276 | }
|
277 | ],
|
278 | "description": "Bundle target options."
|
279 | },
|
280 | "clean": {
|
281 | "anyOf": [
|
282 | {
|
283 | "$ref": "#/definitions/CleanOptions"
|
284 | },
|
285 | {
|
286 | "type": "boolean"
|
287 | }
|
288 | ],
|
289 | "description": "Clean options."
|
290 | },
|
291 | "copy": {
|
292 | "description": "Copy options.",
|
293 | "items": {
|
294 | "anyOf": [
|
295 | {
|
296 | "$ref": "#/definitions/AssetEntry"
|
297 | },
|
298 | {
|
299 | "type": "string"
|
300 | }
|
301 | ]
|
302 | },
|
303 | "type": "array"
|
304 | },
|
305 | "externals": {
|
306 | "anyOf": [
|
307 | {
|
308 | "$ref": "#/definitions/ExternalsObjectElement"
|
309 | },
|
310 | {
|
311 | "items": {
|
312 | "anyOf": [
|
313 | {
|
314 | "$ref": "#/definitions/ExternalsObjectElement"
|
315 | },
|
316 | {
|
317 | "type": "string"
|
318 | }
|
319 | ]
|
320 | },
|
321 | "type": "array"
|
322 | },
|
323 | {
|
324 | "type": "string"
|
325 | }
|
326 | ],
|
327 | "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
|
328 | },
|
329 | "includeDefaultAngularAndRxJsGlobals": {
|
330 | "description": "If true, predefined Angular and rxjs globals are added.",
|
331 | "type": "boolean"
|
332 | },
|
333 | "libraryName": {
|
334 | "description": "Represents your umd bundle name, by which other scripts on the same page can access it.",
|
335 | "type": "string"
|
336 | },
|
337 | "nodeModulesAsExternals": {
|
338 | "description": "If true, node_modules packages are not included in bundle.",
|
339 | "type": "boolean"
|
340 | },
|
341 | "outputPath": {
|
342 | "description": "The output directory for build results.",
|
343 | "type": "string"
|
344 | },
|
345 | "packageEntryFileForTsTranspilation": {
|
346 | "description": "The main entry point file for package.json.",
|
347 | "type": "string"
|
348 | },
|
349 | "packageJsonCopy": {
|
350 | "description": "Copy package.json file to output path.",
|
351 | "type": "boolean"
|
352 | },
|
353 | "packageJsonOutDir": {
|
354 | "description": "The output root directory for package.json file.",
|
355 | "type": "string"
|
356 | },
|
357 | "platformTarget": {
|
358 | "description": "Tell the build system which platform environment the application is targeting.",
|
359 | "enum": [
|
360 | "node",
|
361 | "web"
|
362 | ],
|
363 | "type": "string"
|
364 | },
|
365 | "skip": {
|
366 | "description": "If true, this project config will be skipped by the build process.",
|
367 | "type": "boolean"
|
368 | },
|
369 | "sourceMap": {
|
370 | "description": "If true, sourcemaps will be generated.",
|
371 | "type": "boolean"
|
372 | },
|
373 | "stylePreprocessorOptions": {
|
374 | "$ref": "#/definitions/StylePreprocessorOptions",
|
375 | "description": "Options to pass to style preprocessors."
|
376 | },
|
377 | "styles": {
|
378 | "description": "List of global style entries.",
|
379 | "items": {
|
380 | "anyOf": [
|
381 | {
|
382 | "$ref": "#/definitions/GlobalEntry"
|
383 | },
|
384 | {
|
385 | "type": "string"
|
386 | }
|
387 | ]
|
388 | },
|
389 | "type": "array"
|
390 | },
|
391 | "tsConfig": {
|
392 | "description": "The typescript configuration file to be used.",
|
393 | "type": "string"
|
394 | },
|
395 | "tsTranspilations": {
|
396 | "anyOf": [
|
397 | {
|
398 | "items": {
|
399 | "$ref": "#/definitions/TsTranspilationOptions"
|
400 | },
|
401 | "type": "array"
|
402 | },
|
403 | {
|
404 | "type": "boolean"
|
405 | }
|
406 | ],
|
407 | "description": "Typescript transpilation options."
|
408 | }
|
409 | },
|
410 | "type": "object"
|
411 | },
|
412 | "StylePreprocessorOptions": {
|
413 | "additionalProperties": false,
|
414 | "properties": {
|
415 | "includePaths": {
|
416 | "description": "An array of paths that LibSass can look in to attempt to resolve your @import declarations.",
|
417 | "items": {
|
418 | "type": "string"
|
419 | },
|
420 | "type": "array"
|
421 | }
|
422 | },
|
423 | "type": "object"
|
424 | },
|
425 | "TsTranspilationOptions": {
|
426 | "additionalProperties": false,
|
427 | "properties": {
|
428 | "declaration": {
|
429 | "description": "Override declaration option for this transpilation.",
|
430 | "type": "boolean"
|
431 | },
|
432 | "inlineAssets": {
|
433 | "description": "If true, templateUrl and styleUrls resources are inlined.",
|
434 | "type": "boolean"
|
435 | },
|
436 | "moveTypingFilesToPackageRoot": {
|
437 | "description": "Move typing and metadata files to package.json output directory root.",
|
438 | "type": "boolean"
|
439 | },
|
440 | "outDir": {
|
441 | "description": "Custom output directory for this transpilation.",
|
442 | "type": "string"
|
443 | },
|
444 | "reExportTypingEntryToOutputRoot": {
|
445 | "description": "If true, re-export secondary entry point typing and metadata file at output root.",
|
446 | "type": "boolean"
|
447 | },
|
448 | "replaceVersionPlaceholder": {
|
449 | "description": "If true, replaces version placeholder with package version.",
|
450 | "type": "boolean"
|
451 | },
|
452 | "target": {
|
453 | "description": "Override script target for this transpilation.",
|
454 | "enum": [
|
455 | "es2015",
|
456 | "es2016",
|
457 | "es2017",
|
458 | "es2018",
|
459 | "es5",
|
460 | "esnext"
|
461 | ],
|
462 | "type": "string"
|
463 | },
|
464 | "tsConfig": {
|
465 | "description": "Typescript configuration file for this transpilation.",
|
466 | "type": "string"
|
467 | },
|
468 | "useTsc": {
|
469 | "description": "If true, use tsc instead of ngc.",
|
470 | "type": "boolean"
|
471 | }
|
472 | },
|
473 | "type": "object"
|
474 | },
|
475 | "WebpackWatchOptions": {
|
476 | "additionalProperties": true,
|
477 | "properties": {
|
478 | "aggregateTimeout": {
|
479 | "description": "Add a delay in milliseconds before rebuilding once the first file changed.",
|
480 | "type": "number"
|
481 | },
|
482 | "ignored": {
|
483 | "description": "Ignore pattern to exclude a huge folder like node_modules.",
|
484 | "type": "string"
|
485 | },
|
486 | "poll": {
|
487 | "description": "Turn on polling by passing true, or specifying a poll interval in milliseconds.",
|
488 | "type": [
|
489 | "number",
|
490 | "boolean"
|
491 | ]
|
492 | }
|
493 | },
|
494 | "type": "object"
|
495 | }
|
496 | },
|
497 | "properties": {
|
498 | "$schema": {
|
499 | "description": "Link to schema.",
|
500 | "type": "string"
|
501 | },
|
502 | "assets": {
|
503 | "anyOf": [
|
504 | {
|
505 | "items": {
|
506 | "anyOf": [
|
507 | {
|
508 | "$ref": "#/definitions/AssetPatternObjectCompat"
|
509 | },
|
510 | {
|
511 | "type": "string"
|
512 | }
|
513 | ]
|
514 | },
|
515 | "type": "array"
|
516 | },
|
517 | {
|
518 | "type": "boolean"
|
519 | }
|
520 | ]
|
521 | },
|
522 | "banner": {
|
523 | "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
|
524 | "type": "string"
|
525 | },
|
526 | "beep": {
|
527 | "description": "Beep when build completed.",
|
528 | "type": "boolean"
|
529 | },
|
530 | "bundleDependencies": {
|
531 | "enum": [
|
532 | "all",
|
533 | "none"
|
534 | ],
|
535 | "type": "string"
|
536 | },
|
537 | "bundles": {
|
538 | "anyOf": [
|
539 | {
|
540 | "items": {
|
541 | "$ref": "#/definitions/LibBundleOptions"
|
542 | },
|
543 | "type": "array"
|
544 | },
|
545 | {
|
546 | "type": "boolean"
|
547 | }
|
548 | ],
|
549 | "description": "Bundle target options."
|
550 | },
|
551 | "clean": {
|
552 | "anyOf": [
|
553 | {
|
554 | "$ref": "#/definitions/CleanOptions"
|
555 | },
|
556 | {
|
557 | "type": "boolean"
|
558 | }
|
559 | ],
|
560 | "description": "Clean options."
|
561 | },
|
562 | "cleanOutDir": {
|
563 | "description": "Clean output directory before build.",
|
564 | "type": "boolean"
|
565 | },
|
566 | "copy": {
|
567 | "description": "Copy options.",
|
568 | "items": {
|
569 | "anyOf": [
|
570 | {
|
571 | "$ref": "#/definitions/AssetEntry"
|
572 | },
|
573 | {
|
574 | "type": "string"
|
575 | }
|
576 | ]
|
577 | },
|
578 | "type": "array"
|
579 | },
|
580 | "deleteOutputPath": {
|
581 | "type": "boolean"
|
582 | },
|
583 | "envOverrides": {
|
584 | "$ref": "#/definitions/LibEnvOverridesOptions",
|
585 | "description": "To override properties based on build environment."
|
586 | },
|
587 | "environment": {
|
588 | "anyOf": [
|
589 | {
|
590 | "additionalProperties": {
|
591 | "type": [
|
592 | "string",
|
593 | "boolean"
|
594 | ]
|
595 | },
|
596 | "type": "object"
|
597 | },
|
598 | {
|
599 | "type": "string"
|
600 | }
|
601 | ],
|
602 | "description": "Define the build environment."
|
603 | },
|
604 | "extends": {
|
605 | "anyOf": [
|
606 | {
|
607 | "items": {
|
608 | "type": "string"
|
609 | },
|
610 | "type": "array"
|
611 | },
|
612 | {
|
613 | "type": "string"
|
614 | }
|
615 | ],
|
616 | "description": "The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration."
|
617 | },
|
618 | "externals": {
|
619 | "anyOf": [
|
620 | {
|
621 | "$ref": "#/definitions/ExternalsObjectElement"
|
622 | },
|
623 | {
|
624 | "items": {
|
625 | "anyOf": [
|
626 | {
|
627 | "$ref": "#/definitions/ExternalsObjectElement"
|
628 | },
|
629 | {
|
630 | "type": "string"
|
631 | }
|
632 | ]
|
633 | },
|
634 | "type": "array"
|
635 | },
|
636 | {
|
637 | "type": "string"
|
638 | }
|
639 | ],
|
640 | "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
|
641 | },
|
642 | "filter": {
|
643 | "anyOf": [
|
644 | {
|
645 | "items": {
|
646 | "type": "string"
|
647 | },
|
648 | "type": "array"
|
649 | },
|
650 | {
|
651 | "type": "string"
|
652 | }
|
653 | ],
|
654 | "description": "Filter config by name(s)."
|
655 | },
|
656 | "includeDefaultAngularAndRxJsGlobals": {
|
657 | "description": "If true, predefined Angular and rxjs globals are added.",
|
658 | "type": "boolean"
|
659 | },
|
660 | "libraryName": {
|
661 | "description": "Represents your umd bundle name, by which other scripts on the same page can access it.",
|
662 | "type": "string"
|
663 | },
|
664 | "logLevel": {
|
665 | "description": "Logging level for output logging.",
|
666 | "enum": [
|
667 | "debug",
|
668 | "info",
|
669 | "none",
|
670 | "warn"
|
671 | ],
|
672 | "type": "string"
|
673 | },
|
674 | "name": {
|
675 | "description": "The name of this configuration.",
|
676 | "type": "string"
|
677 | },
|
678 | "nodeModulesAsExternals": {
|
679 | "description": "If true, node_modules packages are not included in bundle.",
|
680 | "type": "boolean"
|
681 | },
|
682 | "outDir": {
|
683 | "description": "Compatibility only, use 'outputPath' instead.",
|
684 | "type": "string"
|
685 | },
|
686 | "outputPath": {
|
687 | "description": "The output directory for build results.",
|
688 | "type": "string"
|
689 | },
|
690 | "packageEntryFileForTsTranspilation": {
|
691 | "description": "The main entry point file for package.json.",
|
692 | "type": "string"
|
693 | },
|
694 | "packageJsonCopy": {
|
695 | "description": "Copy package.json file to output path.",
|
696 | "type": "boolean"
|
697 | },
|
698 | "packageJsonOutDir": {
|
699 | "description": "The output root directory for package.json file.",
|
700 | "type": "string"
|
701 | },
|
702 | "platform": {
|
703 | "enum": [
|
704 | "browser",
|
705 | "server"
|
706 | ],
|
707 | "type": "string"
|
708 | },
|
709 | "platformTarget": {
|
710 | "description": "Tell the build system which platform environment the application is targeting.",
|
711 | "enum": [
|
712 | "node",
|
713 | "web"
|
714 | ],
|
715 | "type": "string"
|
716 | },
|
717 | "poll": {
|
718 | "type": "number"
|
719 | },
|
720 | "preserveSymlinks": {
|
721 | "type": "boolean"
|
722 | },
|
723 | "progress": {
|
724 | "description": "Display compilation progress in percentage.",
|
725 | "type": "boolean"
|
726 | },
|
727 | "root": {
|
728 | "description": "The project root folder.",
|
729 | "type": "string"
|
730 | },
|
731 | "skip": {
|
732 | "description": "If true, this project config will be skipped by the build process.",
|
733 | "type": "boolean"
|
734 | },
|
735 | "sourceMap": {
|
736 | "description": "If true, sourcemaps will be generated.",
|
737 | "type": "boolean"
|
738 | },
|
739 | "stylePreprocessorOptions": {
|
740 | "$ref": "#/definitions/StylePreprocessorOptions",
|
741 | "description": "Options to pass to style preprocessors."
|
742 | },
|
743 | "styles": {
|
744 | "description": "List of global style entries.",
|
745 | "items": {
|
746 | "anyOf": [
|
747 | {
|
748 | "$ref": "#/definitions/GlobalEntry"
|
749 | },
|
750 | {
|
751 | "type": "string"
|
752 | }
|
753 | ]
|
754 | },
|
755 | "type": "array"
|
756 | },
|
757 | "target": {
|
758 | "description": "webpack-cli compatibility, use 'platformTarget' instead.",
|
759 | "enum": [
|
760 | "async-node",
|
761 | "atom",
|
762 | "electron",
|
763 | "electron-main",
|
764 | "electron-renderer",
|
765 | "node",
|
766 | "node-webkit",
|
767 | "web",
|
768 | "webworker"
|
769 | ],
|
770 | "type": "string"
|
771 | },
|
772 | "tsConfig": {
|
773 | "description": "The typescript configuration file to be used.",
|
774 | "type": "string"
|
775 | },
|
776 | "tsTranspilations": {
|
777 | "anyOf": [
|
778 | {
|
779 | "items": {
|
780 | "$ref": "#/definitions/TsTranspilationOptions"
|
781 | },
|
782 | "type": "array"
|
783 | },
|
784 | {
|
785 | "type": "boolean"
|
786 | }
|
787 | ],
|
788 | "description": "Typescript transpilation options."
|
789 | },
|
790 | "verbose": {
|
791 | "type": "boolean"
|
792 | },
|
793 | "watch": {
|
794 | "description": "Build with watch mode.",
|
795 | "type": "boolean"
|
796 | },
|
797 | "watchOptions": {
|
798 | "$ref": "#/definitions/WebpackWatchOptions",
|
799 | "description": "Watch options."
|
800 | }
|
801 | },
|
802 | "type": "object"
|
803 | } |
\ | No newline at end of file |