UNPKG

51.3 kBJSONView Raw
1{
2 "additionalProperties": true,
3 "definitions": {
4 "AfterEmitCleanOptions": {
5 "additionalProperties": false,
6 "properties": {
7 "excludes": {
8 "description": "Path array to exclude from deleting.",
9 "items": {
10 "type": "string"
11 },
12 "type": "array"
13 },
14 "paths": {
15 "description": "Paths to be deleted.",
16 "items": {
17 "type": "string"
18 },
19 "type": "array"
20 }
21 },
22 "type": "object"
23 },
24 "AppEnvOverridesOptions": {
25 "additionalProperties": {
26 "$ref": "#/definitions/AppProjectConfigBase"
27 },
28 "type": "object"
29 },
30 "AppProjectConfig": {
31 "additionalProperties": false,
32 "properties": {
33 "$schema": {
34 "description": "Link to schema.",
35 "type": "string"
36 },
37 "aot": {
38 "description": "Build using Ahead of Time compilation.",
39 "type": "boolean"
40 },
41 "banner": {
42 "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
43 "type": "string"
44 },
45 "baseHref": {
46 "description": "The base URL for all relative URLs on a page.",
47 "type": "string"
48 },
49 "buildOptimizer": {
50 "description": "Set true to enable build optimizer.",
51 "type": "boolean"
52 },
53 "bundleAnalyzer": {
54 "anyOf": [
55 {
56 "$ref": "#/definitions/BundleAnalyzerOptions"
57 },
58 {
59 "type": "boolean"
60 }
61 ],
62 "description": "Webpack Bundle analyzer options."
63 },
64 "clean": {
65 "anyOf": [
66 {
67 "$ref": "#/definitions/CleanOptions"
68 },
69 {
70 "type": "boolean"
71 }
72 ],
73 "description": "Clean options."
74 },
75 "commonChunk": {
76 "description": "If true, chunk a separate bundle containing common code used across multiple bundles.",
77 "type": "boolean"
78 },
79 "concatenateModules": {
80 "description": "Set true to enable scope hoisting.",
81 "type": "boolean"
82 },
83 "copy": {
84 "description": "Copy options.",
85 "items": {
86 "anyOf": [
87 {
88 "$ref": "#/definitions/AssetEntry"
89 },
90 {
91 "type": "string"
92 }
93 ]
94 },
95 "type": "array"
96 },
97 "entry": {
98 "description": "The main typescript entry file to be bundled.",
99 "type": "string"
100 },
101 "envOverrides": {
102 "$ref": "#/definitions/AppEnvOverridesOptions",
103 "description": "To override properties based on build environment."
104 },
105 "environmentVariables": {
106 "anyOf": [
107 {
108 "additionalProperties": {
109 "type": [
110 "string",
111 "boolean"
112 ]
113 },
114 "type": "object"
115 },
116 {
117 "type": "boolean"
118 }
119 ],
120 "description": "Custom environment variables to be included in bundle."
121 },
122 "extends": {
123 "anyOf": [
124 {
125 "items": {
126 "type": "string"
127 },
128 "type": "array"
129 },
130 {
131 "type": "string"
132 }
133 ],
134 "description": "The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration."
135 },
136 "externals": {
137 "anyOf": [
138 {
139 "$ref": "#/definitions/ExternalsObjectElement"
140 },
141 {
142 "items": {
143 "anyOf": [
144 {
145 "$ref": "#/definitions/ExternalsObjectElement"
146 },
147 {
148 "type": "string"
149 }
150 ]
151 },
152 "type": "array"
153 },
154 {
155 "type": "string"
156 }
157 ],
158 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
159 },
160 "extractCss": {
161 "description": "If true, build process will extracts css specified in styles entry as styles.css.",
162 "type": "boolean"
163 },
164 "extractLicenseOutputFilename": {
165 "description": "Output file name for extracted licenses.",
166 "type": "string"
167 },
168 "extractLicenses": {
169 "description": "Extract all licenses in a separate file.",
170 "type": "boolean"
171 },
172 "fileReplacements": {
173 "description": "Replaces resources with new resources.",
174 "items": {
175 "$ref": "#/definitions/FileReplacementEntry"
176 },
177 "type": "array"
178 },
179 "forkTypeChecker": {
180 "description": "Run the TypeScript type checker in a forked process.",
181 "type": "boolean"
182 },
183 "htmlInject": {
184 "$ref": "#/definitions/HtmlInjectOptions",
185 "description": "The html injection options."
186 },
187 "i18nFile": {
188 "description": "Path to the translation file.",
189 "type": "string"
190 },
191 "i18nFormat": {
192 "description": "Import format if different from `i18nFormat`.",
193 "type": "string"
194 },
195 "i18nLocale": {
196 "description": "Locale of the imported translations.",
197 "type": "string"
198 },
199 "i18nMissingTranslation": {
200 "description": "How to handle missing messages.",
201 "enum": [
202 "error",
203 "ignore",
204 "warning"
205 ],
206 "type": "string"
207 },
208 "i18nOutFile": {
209 "description": "Path to the extracted message file.",
210 "type": "string"
211 },
212 "i18nOutFormat": {
213 "description": "Export format (xlf, xlf2 or xmb).",
214 "type": "string"
215 },
216 "lazyModules": {
217 "description": "List of additional NgModule files that will be lazy loaded (lazy router modules will be discovered automatically).",
218 "items": {
219 "type": "string"
220 },
221 "type": "array"
222 },
223 "libraryTarget": {
224 "description": "Module format for bundling.",
225 "enum": [
226 "commonjs",
227 "commonjs2",
228 "umd",
229 "var"
230 ],
231 "type": "string"
232 },
233 "mainChunkName": {
234 "description": "The output chunk name for main entry.",
235 "type": "string"
236 },
237 "name": {
238 "description": "The name of this configuration.",
239 "type": "string"
240 },
241 "namedChunks": {
242 "description": "Use file name for lazy loaded chunks.",
243 "type": "boolean"
244 },
245 "ngswConfigPath": {
246 "description": "Path to ngsw-config.json.",
247 "type": "string"
248 },
249 "nodeModulesAsExternals": {
250 "description": "If true, node_modules packages are not included in bundle.",
251 "type": "boolean"
252 },
253 "nodeResolveFields": {
254 "description": "Custom Node.js resolution main fields.",
255 "items": {
256 "type": "string"
257 },
258 "type": "array"
259 },
260 "optimization": {
261 "description": "Defines the optimization level of the build.",
262 "type": "boolean"
263 },
264 "outputHashing": {
265 "anyOf": [
266 {
267 "$ref": "#/definitions/OutputHashingOptions"
268 },
269 {
270 "enum": [
271 "all",
272 "bundles",
273 "media",
274 "none"
275 ],
276 "type": "string"
277 }
278 ],
279 "description": "Define the output filename cache-busting hashing mode."
280 },
281 "outputPath": {
282 "description": "The output directory for build results.",
283 "type": "string"
284 },
285 "performance": {
286 "$ref": "#/definitions/PerformanceOptions",
287 "description": "Performance options."
288 },
289 "platformTarget": {
290 "description": "Tell the build system which platform environment the application is targeting.",
291 "enum": [
292 "node",
293 "web"
294 ],
295 "type": "string"
296 },
297 "polyfills": {
298 "anyOf": [
299 {
300 "items": {
301 "type": "string"
302 },
303 "type": "array"
304 },
305 {
306 "type": "string"
307 }
308 ],
309 "description": "Polyfill entries."
310 },
311 "polyfillsChunkName": {
312 "description": "The output chunk name for polyfills.",
313 "type": "string"
314 },
315 "publicPath": {
316 "description": "The url where files will be deployed.",
317 "type": "string"
318 },
319 "referenceDll": {
320 "description": "To consume dll bundle created by the dll build.",
321 "type": "boolean"
322 },
323 "root": {
324 "description": "The project root folder.",
325 "type": "string"
326 },
327 "scripts": {
328 "description": "Global script entries.",
329 "items": {
330 "anyOf": [
331 {
332 "$ref": "#/definitions/GlobalEntry"
333 },
334 {
335 "type": "string"
336 }
337 ]
338 },
339 "type": "array"
340 },
341 "serviceWorker": {
342 "description": "Generates a service worker config for production builds.",
343 "type": "boolean"
344 },
345 "skip": {
346 "description": "If true, this project config will be skipped by the build process.",
347 "type": "boolean"
348 },
349 "sourceMap": {
350 "description": "If true, sourcemaps will be generated.",
351 "type": "boolean"
352 },
353 "sourceMapDevTool": {
354 "description": "This option controls if and how source maps are generated.",
355 "enum": [
356 "#@cheap-eval-source-map",
357 "#@cheap-module-eval-source-map",
358 "#@cheap-module-source-map",
359 "#@cheap-source-map",
360 "#@eval",
361 "#@eval-source-map",
362 "#@hidden-source-map",
363 "#@inline-source-map",
364 "#@nosources-source-map",
365 "#@source-map",
366 "#cheap-eval-source-map",
367 "#cheap-module-eval-source-map",
368 "#cheap-module-source-map",
369 "#cheap-source-map",
370 "#eval",
371 "#eval-source-map",
372 "#hidden-source-map",
373 "#inline-source-map",
374 "#nosources-source-map",
375 "#source-map",
376 "@cheap-eval-source-map",
377 "@cheap-module-eval-source-map",
378 "@cheap-module-source-map",
379 "@cheap-source-map",
380 "@eval",
381 "@eval-source-map",
382 "@hidden-source-map",
383 "@inline-source-map",
384 "@nosources-source-map",
385 "@source-map",
386 "cheap-eval-source-map",
387 "cheap-module-eval-source-map",
388 "cheap-module-source-map",
389 "cheap-source-map",
390 "eval",
391 "eval-source-map",
392 false,
393 "hidden-source-map",
394 "inline-source-map",
395 "nosources-source-map",
396 "source-map",
397 true
398 ]
399 },
400 "sourceMapDevToolFallbackModuleFilenameTemplate": {
401 "description": "A fallback used when the template string of 'sourceMapFilenameTemplate' yields duplicates.",
402 "type": "string"
403 },
404 "sourceMapDevToolModuleFilenameTemplate": {
405 "description": "Customize the names used in each source map.",
406 "type": "string"
407 },
408 "stats": {
409 "anyOf": [
410 {
411 "$ref": "#/definitions/WebpackStatsToStringOptions"
412 },
413 {
414 "enum": [
415 "errors-only",
416 false,
417 "minimal",
418 "none",
419 "normal",
420 true,
421 "verbose"
422 ]
423 }
424 ],
425 "description": "The webpack stats option - lets you precisely control what bundle information gets displayed."
426 },
427 "stylePreprocessorOptions": {
428 "$ref": "#/definitions/StylePreprocessorOptions",
429 "description": "Options to pass to style preprocessors."
430 },
431 "styles": {
432 "description": "List of global style entries.",
433 "items": {
434 "anyOf": [
435 {
436 "$ref": "#/definitions/GlobalEntry"
437 },
438 {
439 "type": "string"
440 }
441 ]
442 },
443 "type": "array"
444 },
445 "tsConfig": {
446 "description": "The typescript configuration file to be used.",
447 "type": "string"
448 },
449 "vendorChunk": {
450 "description": "If true, requested modules started with node_modules path are chunk into [vendorChunkName].js.",
451 "type": "boolean"
452 },
453 "vendorChunkName": {
454 "description": "The output chunk name for vendor or dll chunk.",
455 "type": "string"
456 },
457 "vendors": {
458 "description": "The vendor module entries for dll bundle.",
459 "items": {
460 "type": "string"
461 },
462 "type": "array"
463 },
464 "webpackConfig": {
465 "description": "Custom webpack config file to be merged.",
466 "type": "string"
467 }
468 },
469 "type": "object"
470 },
471 "AppProjectConfigBase": {
472 "additionalProperties": false,
473 "properties": {
474 "aot": {
475 "description": "Build using Ahead of Time compilation.",
476 "type": "boolean"
477 },
478 "banner": {
479 "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
480 "type": "string"
481 },
482 "baseHref": {
483 "description": "The base URL for all relative URLs on a page.",
484 "type": "string"
485 },
486 "buildOptimizer": {
487 "description": "Set true to enable build optimizer.",
488 "type": "boolean"
489 },
490 "bundleAnalyzer": {
491 "anyOf": [
492 {
493 "$ref": "#/definitions/BundleAnalyzerOptions"
494 },
495 {
496 "type": "boolean"
497 }
498 ],
499 "description": "Webpack Bundle analyzer options."
500 },
501 "clean": {
502 "anyOf": [
503 {
504 "$ref": "#/definitions/CleanOptions"
505 },
506 {
507 "type": "boolean"
508 }
509 ],
510 "description": "Clean options."
511 },
512 "commonChunk": {
513 "description": "If true, chunk a separate bundle containing common code used across multiple bundles.",
514 "type": "boolean"
515 },
516 "concatenateModules": {
517 "description": "Set true to enable scope hoisting.",
518 "type": "boolean"
519 },
520 "copy": {
521 "description": "Copy options.",
522 "items": {
523 "anyOf": [
524 {
525 "$ref": "#/definitions/AssetEntry"
526 },
527 {
528 "type": "string"
529 }
530 ]
531 },
532 "type": "array"
533 },
534 "entry": {
535 "description": "The main typescript entry file to be bundled.",
536 "type": "string"
537 },
538 "environmentVariables": {
539 "anyOf": [
540 {
541 "additionalProperties": {
542 "type": [
543 "string",
544 "boolean"
545 ]
546 },
547 "type": "object"
548 },
549 {
550 "type": "boolean"
551 }
552 ],
553 "description": "Custom environment variables to be included in bundle."
554 },
555 "externals": {
556 "anyOf": [
557 {
558 "$ref": "#/definitions/ExternalsObjectElement"
559 },
560 {
561 "items": {
562 "anyOf": [
563 {
564 "$ref": "#/definitions/ExternalsObjectElement"
565 },
566 {
567 "type": "string"
568 }
569 ]
570 },
571 "type": "array"
572 },
573 {
574 "type": "string"
575 }
576 ],
577 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
578 },
579 "extractCss": {
580 "description": "If true, build process will extracts css specified in styles entry as styles.css.",
581 "type": "boolean"
582 },
583 "extractLicenseOutputFilename": {
584 "description": "Output file name for extracted licenses.",
585 "type": "string"
586 },
587 "extractLicenses": {
588 "description": "Extract all licenses in a separate file.",
589 "type": "boolean"
590 },
591 "fileReplacements": {
592 "description": "Replaces resources with new resources.",
593 "items": {
594 "$ref": "#/definitions/FileReplacementEntry"
595 },
596 "type": "array"
597 },
598 "forkTypeChecker": {
599 "description": "Run the TypeScript type checker in a forked process.",
600 "type": "boolean"
601 },
602 "htmlInject": {
603 "$ref": "#/definitions/HtmlInjectOptions",
604 "description": "The html injection options."
605 },
606 "i18nFile": {
607 "description": "Path to the translation file.",
608 "type": "string"
609 },
610 "i18nFormat": {
611 "description": "Import format if different from `i18nFormat`.",
612 "type": "string"
613 },
614 "i18nLocale": {
615 "description": "Locale of the imported translations.",
616 "type": "string"
617 },
618 "i18nMissingTranslation": {
619 "description": "How to handle missing messages.",
620 "enum": [
621 "error",
622 "ignore",
623 "warning"
624 ],
625 "type": "string"
626 },
627 "i18nOutFile": {
628 "description": "Path to the extracted message file.",
629 "type": "string"
630 },
631 "i18nOutFormat": {
632 "description": "Export format (xlf, xlf2 or xmb).",
633 "type": "string"
634 },
635 "lazyModules": {
636 "description": "List of additional NgModule files that will be lazy loaded (lazy router modules will be discovered automatically).",
637 "items": {
638 "type": "string"
639 },
640 "type": "array"
641 },
642 "libraryTarget": {
643 "description": "Module format for bundling.",
644 "enum": [
645 "commonjs",
646 "commonjs2",
647 "umd",
648 "var"
649 ],
650 "type": "string"
651 },
652 "mainChunkName": {
653 "description": "The output chunk name for main entry.",
654 "type": "string"
655 },
656 "namedChunks": {
657 "description": "Use file name for lazy loaded chunks.",
658 "type": "boolean"
659 },
660 "ngswConfigPath": {
661 "description": "Path to ngsw-config.json.",
662 "type": "string"
663 },
664 "nodeModulesAsExternals": {
665 "description": "If true, node_modules packages are not included in bundle.",
666 "type": "boolean"
667 },
668 "nodeResolveFields": {
669 "description": "Custom Node.js resolution main fields.",
670 "items": {
671 "type": "string"
672 },
673 "type": "array"
674 },
675 "optimization": {
676 "description": "Defines the optimization level of the build.",
677 "type": "boolean"
678 },
679 "outputHashing": {
680 "anyOf": [
681 {
682 "$ref": "#/definitions/OutputHashingOptions"
683 },
684 {
685 "enum": [
686 "all",
687 "bundles",
688 "media",
689 "none"
690 ],
691 "type": "string"
692 }
693 ],
694 "description": "Define the output filename cache-busting hashing mode."
695 },
696 "outputPath": {
697 "description": "The output directory for build results.",
698 "type": "string"
699 },
700 "performance": {
701 "$ref": "#/definitions/PerformanceOptions",
702 "description": "Performance options."
703 },
704 "platformTarget": {
705 "description": "Tell the build system which platform environment the application is targeting.",
706 "enum": [
707 "node",
708 "web"
709 ],
710 "type": "string"
711 },
712 "polyfills": {
713 "anyOf": [
714 {
715 "items": {
716 "type": "string"
717 },
718 "type": "array"
719 },
720 {
721 "type": "string"
722 }
723 ],
724 "description": "Polyfill entries."
725 },
726 "polyfillsChunkName": {
727 "description": "The output chunk name for polyfills.",
728 "type": "string"
729 },
730 "publicPath": {
731 "description": "The url where files will be deployed.",
732 "type": "string"
733 },
734 "referenceDll": {
735 "description": "To consume dll bundle created by the dll build.",
736 "type": "boolean"
737 },
738 "scripts": {
739 "description": "Global script entries.",
740 "items": {
741 "anyOf": [
742 {
743 "$ref": "#/definitions/GlobalEntry"
744 },
745 {
746 "type": "string"
747 }
748 ]
749 },
750 "type": "array"
751 },
752 "serviceWorker": {
753 "description": "Generates a service worker config for production builds.",
754 "type": "boolean"
755 },
756 "skip": {
757 "description": "If true, this project config will be skipped by the build process.",
758 "type": "boolean"
759 },
760 "sourceMap": {
761 "description": "If true, sourcemaps will be generated.",
762 "type": "boolean"
763 },
764 "sourceMapDevTool": {
765 "description": "This option controls if and how source maps are generated.",
766 "enum": [
767 "#@cheap-eval-source-map",
768 "#@cheap-module-eval-source-map",
769 "#@cheap-module-source-map",
770 "#@cheap-source-map",
771 "#@eval",
772 "#@eval-source-map",
773 "#@hidden-source-map",
774 "#@inline-source-map",
775 "#@nosources-source-map",
776 "#@source-map",
777 "#cheap-eval-source-map",
778 "#cheap-module-eval-source-map",
779 "#cheap-module-source-map",
780 "#cheap-source-map",
781 "#eval",
782 "#eval-source-map",
783 "#hidden-source-map",
784 "#inline-source-map",
785 "#nosources-source-map",
786 "#source-map",
787 "@cheap-eval-source-map",
788 "@cheap-module-eval-source-map",
789 "@cheap-module-source-map",
790 "@cheap-source-map",
791 "@eval",
792 "@eval-source-map",
793 "@hidden-source-map",
794 "@inline-source-map",
795 "@nosources-source-map",
796 "@source-map",
797 "cheap-eval-source-map",
798 "cheap-module-eval-source-map",
799 "cheap-module-source-map",
800 "cheap-source-map",
801 "eval",
802 "eval-source-map",
803 false,
804 "hidden-source-map",
805 "inline-source-map",
806 "nosources-source-map",
807 "source-map",
808 true
809 ]
810 },
811 "sourceMapDevToolFallbackModuleFilenameTemplate": {
812 "description": "A fallback used when the template string of 'sourceMapFilenameTemplate' yields duplicates.",
813 "type": "string"
814 },
815 "sourceMapDevToolModuleFilenameTemplate": {
816 "description": "Customize the names used in each source map.",
817 "type": "string"
818 },
819 "stats": {
820 "anyOf": [
821 {
822 "$ref": "#/definitions/WebpackStatsToStringOptions"
823 },
824 {
825 "enum": [
826 "errors-only",
827 false,
828 "minimal",
829 "none",
830 "normal",
831 true,
832 "verbose"
833 ]
834 }
835 ],
836 "description": "The webpack stats option - lets you precisely control what bundle information gets displayed."
837 },
838 "stylePreprocessorOptions": {
839 "$ref": "#/definitions/StylePreprocessorOptions",
840 "description": "Options to pass to style preprocessors."
841 },
842 "styles": {
843 "description": "List of global style entries.",
844 "items": {
845 "anyOf": [
846 {
847 "$ref": "#/definitions/GlobalEntry"
848 },
849 {
850 "type": "string"
851 }
852 ]
853 },
854 "type": "array"
855 },
856 "tsConfig": {
857 "description": "The typescript configuration file to be used.",
858 "type": "string"
859 },
860 "vendorChunk": {
861 "description": "If true, requested modules started with node_modules path are chunk into [vendorChunkName].js.",
862 "type": "boolean"
863 },
864 "vendorChunkName": {
865 "description": "The output chunk name for vendor or dll chunk.",
866 "type": "string"
867 },
868 "vendors": {
869 "description": "The vendor module entries for dll bundle.",
870 "items": {
871 "type": "string"
872 },
873 "type": "array"
874 },
875 "webpackConfig": {
876 "description": "Custom webpack config file to be merged.",
877 "type": "string"
878 }
879 },
880 "type": "object"
881 },
882 "AssetEntry": {
883 "additionalProperties": false,
884 "properties": {
885 "exclude": {
886 "description": "The ignore list.",
887 "items": {
888 "type": "string"
889 },
890 "type": "array"
891 },
892 "from": {
893 "description": "The source file, it can be absolute or relative path or glob pattern.",
894 "type": "string"
895 },
896 "to": {
897 "description": "The output file name.",
898 "type": "string"
899 }
900 },
901 "type": "object"
902 },
903 "BeforeBuildCleanOptions": {
904 "additionalProperties": false,
905 "properties": {
906 "cleanCache": {
907 "description": "If true, delete cache directories before build.",
908 "type": "boolean"
909 },
910 "cleanOutDir": {
911 "description": "If true, delete output directory before build.",
912 "type": "boolean"
913 },
914 "excludes": {
915 "description": "Path array to exclude from deleting.",
916 "items": {
917 "type": "string"
918 },
919 "type": "array"
920 },
921 "paths": {
922 "description": "Paths to be deleted.",
923 "items": {
924 "type": "string"
925 },
926 "type": "array"
927 }
928 },
929 "type": "object"
930 },
931 "BundleAnalyzerOptions": {
932 "additionalProperties": false,
933 "properties": {
934 "generateStatsFile": {
935 "description": "If `true`, Webpack Stats JSON file will be generated in bundles output directory.",
936 "type": "boolean"
937 },
938 "openAnalyzer": {
939 "description": "If true, automatically open report in default browser.",
940 "type": "boolean"
941 },
942 "reportFilename": {
943 "description": "Path to bundle report file that will be generated in `static` mode.",
944 "type": "string"
945 },
946 "statsFilename": {
947 "description": "Name of Webpack Stats JSON file that will be generated if `generateStatsFile` is `true`.",
948 "type": "string"
949 }
950 },
951 "type": "object"
952 },
953 "CleanOptions": {
954 "additionalProperties": false,
955 "properties": {
956 "afterEmit": {
957 "$ref": "#/definitions/AfterEmitCleanOptions",
958 "description": "After emit clean option."
959 },
960 "allowOutsideOutDir": {
961 "description": "Allows cleaning outside of output directory.",
962 "type": "boolean"
963 },
964 "allowOutsideWorkspaceRoot": {
965 "description": "Allows cleaning outside of workspace root.",
966 "type": "boolean"
967 },
968 "beforeBuild": {
969 "$ref": "#/definitions/BeforeBuildCleanOptions",
970 "description": "Before build clean option."
971 }
972 },
973 "type": "object"
974 },
975 "ExternalsObjectElement": {
976 "additionalProperties": {
977 "anyOf": [
978 {
979 "additionalProperties": {
980 "type": [
981 "string",
982 "boolean"
983 ]
984 },
985 "properties": {
986 "amd": {
987 "type": "string"
988 },
989 "commonjs": {
990 "type": "string"
991 },
992 "root": {
993 "type": "string"
994 }
995 },
996 "type": "object"
997 },
998 {
999 "type": [
1000 "string",
1001 "boolean"
1002 ]
1003 }
1004 ]
1005 },
1006 "type": "object"
1007 },
1008 "FileReplacementEntry": {
1009 "additionalProperties": false,
1010 "properties": {
1011 "replace": {
1012 "type": "string"
1013 },
1014 "with": {
1015 "type": "string"
1016 }
1017 },
1018 "type": "object"
1019 },
1020 "GlobalEntry": {
1021 "additionalProperties": false,
1022 "properties": {
1023 "bundleName": {
1024 "description": "The bundle name for this extra entry point.",
1025 "type": "string"
1026 },
1027 "input": {
1028 "anyOf": [
1029 {
1030 "items": {
1031 "type": "string"
1032 },
1033 "type": "array"
1034 },
1035 {
1036 "type": "string"
1037 }
1038 ],
1039 "description": "The file to include."
1040 },
1041 "lazy": {
1042 "description": "If the bundle will be lazy loaded.",
1043 "type": "boolean"
1044 }
1045 },
1046 "type": "object"
1047 },
1048 "HtmlInjectOptions": {
1049 "additionalProperties": false,
1050 "properties": {
1051 "baseHrefOut": {
1052 "type": "string"
1053 },
1054 "customAttributes": {
1055 "additionalProperties": {
1056 "type": "string"
1057 },
1058 "type": "object"
1059 },
1060 "customLinkAttributes": {
1061 "additionalProperties": {
1062 "type": "string"
1063 },
1064 "type": "object"
1065 },
1066 "customResourceHintAttributes": {
1067 "additionalProperties": {
1068 "type": "string"
1069 },
1070 "type": "object"
1071 },
1072 "customScriptAttributes": {
1073 "additionalProperties": {
1074 "type": "string"
1075 },
1076 "type": "object"
1077 },
1078 "dlls": {
1079 "type": "boolean"
1080 },
1081 "index": {
1082 "type": "string"
1083 },
1084 "indexOut": {
1085 "type": "string"
1086 },
1087 "minify": {
1088 "type": "boolean"
1089 },
1090 "prefetches": {
1091 "items": {
1092 "type": "string"
1093 },
1094 "type": "array"
1095 },
1096 "preloads": {
1097 "items": {
1098 "type": "string"
1099 },
1100 "type": "array"
1101 },
1102 "resourceHints": {
1103 "type": "boolean"
1104 },
1105 "resourceHintsOut": {
1106 "type": "string"
1107 },
1108 "runtimeChunkInline": {
1109 "type": "boolean"
1110 },
1111 "runtimeInlineOut": {
1112 "type": "string"
1113 },
1114 "scriptsOut": {
1115 "type": "string"
1116 },
1117 "stylesOut": {
1118 "type": "string"
1119 }
1120 },
1121 "type": "object"
1122 },
1123 "LibBundleOptions": {
1124 "additionalProperties": false,
1125 "properties": {
1126 "entry": {
1127 "description": "The entry file to be bundled.",
1128 "type": "string"
1129 },
1130 "entryRoot": {
1131 "description": "Entry root directory resolution.",
1132 "enum": [
1133 "outputPath",
1134 "prevBundleOutDir",
1135 "root",
1136 "tsTranspilationOutDir"
1137 ],
1138 "type": "string"
1139 },
1140 "externals": {
1141 "anyOf": [
1142 {
1143 "$ref": "#/definitions/ExternalsObjectElement"
1144 },
1145 {
1146 "items": {
1147 "anyOf": [
1148 {
1149 "$ref": "#/definitions/ExternalsObjectElement"
1150 },
1151 {
1152 "type": "string"
1153 }
1154 ]
1155 },
1156 "type": "array"
1157 },
1158 {
1159 "type": "string"
1160 }
1161 ],
1162 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
1163 },
1164 "includeDefaultAngularAndRxJsGlobals": {
1165 "description": "If true, predefined Angular and rxjs globals are added.",
1166 "type": "boolean"
1167 },
1168 "libraryTarget": {
1169 "description": "Bundle module format.",
1170 "enum": [
1171 "cjs",
1172 "esm",
1173 "umd"
1174 ],
1175 "type": "string"
1176 },
1177 "minify": {
1178 "description": "If true, minify file will be generated.",
1179 "type": "boolean"
1180 },
1181 "nodeModulesAsExternals": {
1182 "description": "If true, node_modules packages are not included in bundle.",
1183 "type": "boolean"
1184 },
1185 "outputFilePath": {
1186 "description": "Custom bundle output file path.",
1187 "type": "string"
1188 },
1189 "tsConfig": {
1190 "description": "The typescript configuration file to be used.",
1191 "type": "string"
1192 },
1193 "tsTranspilationIndex": {
1194 "description": "Array index for entry root tsTranspilationResult.",
1195 "type": "number"
1196 }
1197 },
1198 "type": "object"
1199 },
1200 "LibEnvOverridesOptions": {
1201 "additionalProperties": {
1202 "$ref": "#/definitions/LibProjectConfigBase"
1203 },
1204 "type": "object"
1205 },
1206 "LibProjectConfig": {
1207 "additionalProperties": false,
1208 "properties": {
1209 "$schema": {
1210 "description": "Link to schema.",
1211 "type": "string"
1212 },
1213 "banner": {
1214 "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
1215 "type": "string"
1216 },
1217 "bundles": {
1218 "anyOf": [
1219 {
1220 "items": {
1221 "$ref": "#/definitions/LibBundleOptions"
1222 },
1223 "type": "array"
1224 },
1225 {
1226 "type": "boolean"
1227 }
1228 ],
1229 "description": "Bundle target options."
1230 },
1231 "clean": {
1232 "anyOf": [
1233 {
1234 "$ref": "#/definitions/CleanOptions"
1235 },
1236 {
1237 "type": "boolean"
1238 }
1239 ],
1240 "description": "Clean options."
1241 },
1242 "copy": {
1243 "description": "Copy options.",
1244 "items": {
1245 "anyOf": [
1246 {
1247 "$ref": "#/definitions/AssetEntry"
1248 },
1249 {
1250 "type": "string"
1251 }
1252 ]
1253 },
1254 "type": "array"
1255 },
1256 "envOverrides": {
1257 "$ref": "#/definitions/LibEnvOverridesOptions",
1258 "description": "To override properties based on build environment."
1259 },
1260 "extends": {
1261 "anyOf": [
1262 {
1263 "items": {
1264 "type": "string"
1265 },
1266 "type": "array"
1267 },
1268 {
1269 "type": "string"
1270 }
1271 ],
1272 "description": "The name of build-in configuration preset, or path(s) to other configuration files which are extended by this configuration."
1273 },
1274 "externals": {
1275 "anyOf": [
1276 {
1277 "$ref": "#/definitions/ExternalsObjectElement"
1278 },
1279 {
1280 "items": {
1281 "anyOf": [
1282 {
1283 "$ref": "#/definitions/ExternalsObjectElement"
1284 },
1285 {
1286 "type": "string"
1287 }
1288 ]
1289 },
1290 "type": "array"
1291 },
1292 {
1293 "type": "string"
1294 }
1295 ],
1296 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
1297 },
1298 "includeDefaultAngularAndRxJsGlobals": {
1299 "description": "If true, predefined Angular and rxjs globals are added.",
1300 "type": "boolean"
1301 },
1302 "libraryName": {
1303 "description": "Represents your umd bundle name, by which other scripts on the same page can access it.",
1304 "type": "string"
1305 },
1306 "name": {
1307 "description": "The name of this configuration.",
1308 "type": "string"
1309 },
1310 "nodeModulesAsExternals": {
1311 "description": "If true, node_modules packages are not included in bundle.",
1312 "type": "boolean"
1313 },
1314 "outputPath": {
1315 "description": "The output directory for build results.",
1316 "type": "string"
1317 },
1318 "packageEntryFileForTsTranspilation": {
1319 "description": "The main entry point file for package.json.",
1320 "type": "string"
1321 },
1322 "packageJsonCopy": {
1323 "description": "Copy package.json file to output path.",
1324 "type": "boolean"
1325 },
1326 "packageJsonOutDir": {
1327 "description": "The output root directory for package.json file.",
1328 "type": "string"
1329 },
1330 "platformTarget": {
1331 "description": "Tell the build system which platform environment the application is targeting.",
1332 "enum": [
1333 "node",
1334 "web"
1335 ],
1336 "type": "string"
1337 },
1338 "root": {
1339 "description": "The project root folder.",
1340 "type": "string"
1341 },
1342 "skip": {
1343 "description": "If true, this project config will be skipped by the build process.",
1344 "type": "boolean"
1345 },
1346 "sourceMap": {
1347 "description": "If true, sourcemaps will be generated.",
1348 "type": "boolean"
1349 },
1350 "stylePreprocessorOptions": {
1351 "$ref": "#/definitions/StylePreprocessorOptions",
1352 "description": "Options to pass to style preprocessors."
1353 },
1354 "styles": {
1355 "description": "List of global style entries.",
1356 "items": {
1357 "anyOf": [
1358 {
1359 "$ref": "#/definitions/GlobalEntry"
1360 },
1361 {
1362 "type": "string"
1363 }
1364 ]
1365 },
1366 "type": "array"
1367 },
1368 "tsConfig": {
1369 "description": "The typescript configuration file to be used.",
1370 "type": "string"
1371 },
1372 "tsTranspilations": {
1373 "anyOf": [
1374 {
1375 "items": {
1376 "$ref": "#/definitions/TsTranspilationOptions"
1377 },
1378 "type": "array"
1379 },
1380 {
1381 "type": "boolean"
1382 }
1383 ],
1384 "description": "Typescript transpilation options."
1385 }
1386 },
1387 "type": "object"
1388 },
1389 "LibProjectConfigBase": {
1390 "additionalProperties": false,
1391 "properties": {
1392 "banner": {
1393 "description": "Banner text to add at the top of each generated files. It can be text file name or raw text.",
1394 "type": "string"
1395 },
1396 "bundles": {
1397 "anyOf": [
1398 {
1399 "items": {
1400 "$ref": "#/definitions/LibBundleOptions"
1401 },
1402 "type": "array"
1403 },
1404 {
1405 "type": "boolean"
1406 }
1407 ],
1408 "description": "Bundle target options."
1409 },
1410 "clean": {
1411 "anyOf": [
1412 {
1413 "$ref": "#/definitions/CleanOptions"
1414 },
1415 {
1416 "type": "boolean"
1417 }
1418 ],
1419 "description": "Clean options."
1420 },
1421 "copy": {
1422 "description": "Copy options.",
1423 "items": {
1424 "anyOf": [
1425 {
1426 "$ref": "#/definitions/AssetEntry"
1427 },
1428 {
1429 "type": "string"
1430 }
1431 ]
1432 },
1433 "type": "array"
1434 },
1435 "externals": {
1436 "anyOf": [
1437 {
1438 "$ref": "#/definitions/ExternalsObjectElement"
1439 },
1440 {
1441 "items": {
1442 "anyOf": [
1443 {
1444 "$ref": "#/definitions/ExternalsObjectElement"
1445 },
1446 {
1447 "type": "string"
1448 }
1449 ]
1450 },
1451 "type": "array"
1452 },
1453 {
1454 "type": "string"
1455 }
1456 ],
1457 "description": "The externals configuration option provides a way of excluding dependencies from the output bundle."
1458 },
1459 "includeDefaultAngularAndRxJsGlobals": {
1460 "description": "If true, predefined Angular and rxjs globals are added.",
1461 "type": "boolean"
1462 },
1463 "libraryName": {
1464 "description": "Represents your umd bundle name, by which other scripts on the same page can access it.",
1465 "type": "string"
1466 },
1467 "nodeModulesAsExternals": {
1468 "description": "If true, node_modules packages are not included in bundle.",
1469 "type": "boolean"
1470 },
1471 "outputPath": {
1472 "description": "The output directory for build results.",
1473 "type": "string"
1474 },
1475 "packageEntryFileForTsTranspilation": {
1476 "description": "The main entry point file for package.json.",
1477 "type": "string"
1478 },
1479 "packageJsonCopy": {
1480 "description": "Copy package.json file to output path.",
1481 "type": "boolean"
1482 },
1483 "packageJsonOutDir": {
1484 "description": "The output root directory for package.json file.",
1485 "type": "string"
1486 },
1487 "platformTarget": {
1488 "description": "Tell the build system which platform environment the application is targeting.",
1489 "enum": [
1490 "node",
1491 "web"
1492 ],
1493 "type": "string"
1494 },
1495 "skip": {
1496 "description": "If true, this project config will be skipped by the build process.",
1497 "type": "boolean"
1498 },
1499 "sourceMap": {
1500 "description": "If true, sourcemaps will be generated.",
1501 "type": "boolean"
1502 },
1503 "stylePreprocessorOptions": {
1504 "$ref": "#/definitions/StylePreprocessorOptions",
1505 "description": "Options to pass to style preprocessors."
1506 },
1507 "styles": {
1508 "description": "List of global style entries.",
1509 "items": {
1510 "anyOf": [
1511 {
1512 "$ref": "#/definitions/GlobalEntry"
1513 },
1514 {
1515 "type": "string"
1516 }
1517 ]
1518 },
1519 "type": "array"
1520 },
1521 "tsConfig": {
1522 "description": "The typescript configuration file to be used.",
1523 "type": "string"
1524 },
1525 "tsTranspilations": {
1526 "anyOf": [
1527 {
1528 "items": {
1529 "$ref": "#/definitions/TsTranspilationOptions"
1530 },
1531 "type": "array"
1532 },
1533 {
1534 "type": "boolean"
1535 }
1536 ],
1537 "description": "Typescript transpilation options."
1538 }
1539 },
1540 "type": "object"
1541 },
1542 "OutputHashingOptions": {
1543 "additionalProperties": false,
1544 "properties": {
1545 "bundles": {
1546 "type": "boolean"
1547 },
1548 "chunks": {
1549 "type": "boolean"
1550 },
1551 "extractedAssets": {
1552 "type": "boolean"
1553 }
1554 },
1555 "type": "object"
1556 },
1557 "PerformanceOptions": {
1558 "additionalProperties": false,
1559 "properties": {
1560 "hints": {
1561 "enum": [
1562 "error",
1563 false,
1564 true,
1565 "warning"
1566 ]
1567 },
1568 "maxAssetSize": {
1569 "type": "number"
1570 },
1571 "maxEntrypointSize": {
1572 "type": "number"
1573 }
1574 },
1575 "type": "object"
1576 },
1577 "StylePreprocessorOptions": {
1578 "additionalProperties": false,
1579 "properties": {
1580 "includePaths": {
1581 "description": "An array of paths that LibSass can look in to attempt to resolve your @import declarations.",
1582 "items": {
1583 "type": "string"
1584 },
1585 "type": "array"
1586 }
1587 },
1588 "type": "object"
1589 },
1590 "TsTranspilationOptions": {
1591 "additionalProperties": false,
1592 "properties": {
1593 "declaration": {
1594 "description": "Override declaration option for this transpilation.",
1595 "type": "boolean"
1596 },
1597 "inlineAssets": {
1598 "description": "If true, templateUrl and styleUrls resources are inlined.",
1599 "type": "boolean"
1600 },
1601 "moveTypingFilesToPackageRoot": {
1602 "description": "Move typing and metadata files to package.json output directory root.",
1603 "type": "boolean"
1604 },
1605 "outDir": {
1606 "description": "Custom output directory for this transpilation.",
1607 "type": "string"
1608 },
1609 "reExportTypingEntryToOutputRoot": {
1610 "description": "If true, re-export secondary entry point typing and metadata file at output root.",
1611 "type": "boolean"
1612 },
1613 "replaceVersionPlaceholder": {
1614 "description": "If true, replaces version placeholder with package version.",
1615 "type": "boolean"
1616 },
1617 "target": {
1618 "description": "Override script target for this transpilation.",
1619 "enum": [
1620 "es2015",
1621 "es2016",
1622 "es2017",
1623 "es2018",
1624 "es5",
1625 "esnext"
1626 ],
1627 "type": "string"
1628 },
1629 "tsConfig": {
1630 "description": "Typescript configuration file for this transpilation.",
1631 "type": "string"
1632 },
1633 "useTsc": {
1634 "description": "If true, use tsc instead of ngc.",
1635 "type": "boolean"
1636 }
1637 },
1638 "type": "object"
1639 },
1640 "WebpackStatsToStringOptions": {
1641 "properties": {
1642 "assets": {
1643 "type": "boolean"
1644 },
1645 "assetsSort": {
1646 "type": "string"
1647 },
1648 "cached": {
1649 "type": "boolean"
1650 },
1651 "cachedAssets": {
1652 "type": "boolean"
1653 },
1654 "children": {
1655 "type": "boolean"
1656 },
1657 "chunkModules": {
1658 "type": "boolean"
1659 },
1660 "chunkOrigins": {
1661 "type": "boolean"
1662 },
1663 "chunks": {
1664 "type": "boolean"
1665 },
1666 "chunksSort": {
1667 "type": "string"
1668 },
1669 "colors": {
1670 "type": "boolean"
1671 },
1672 "context": {
1673 "type": "string"
1674 },
1675 "depth": {
1676 "type": "boolean"
1677 },
1678 "entrypoints": {
1679 "type": "boolean"
1680 },
1681 "env": {
1682 "type": "boolean"
1683 },
1684 "errorDetails": {
1685 "type": "boolean"
1686 },
1687 "errors": {
1688 "type": "boolean"
1689 },
1690 "exclude": {
1691 "anyOf": [
1692 {
1693 "items": {
1694 "type": "string"
1695 },
1696 "type": "array"
1697 },
1698 {
1699 "type": "string"
1700 }
1701 ]
1702 },
1703 "excludeAssets": {
1704 "anyOf": [
1705 {
1706 "items": {
1707 "type": "string"
1708 },
1709 "type": "array"
1710 },
1711 {
1712 "type": "string"
1713 }
1714 ]
1715 },
1716 "excludeModules": {
1717 "anyOf": [
1718 {
1719 "items": {
1720 "type": "string"
1721 },
1722 "type": "array"
1723 },
1724 {
1725 "type": "string"
1726 }
1727 ]
1728 },
1729 "hash": {
1730 "type": "boolean"
1731 },
1732 "maxModules": {
1733 "type": "number"
1734 },
1735 "moduleTrace": {
1736 "type": "boolean"
1737 },
1738 "modules": {
1739 "type": "boolean"
1740 },
1741 "modulesSort": {
1742 "type": "string"
1743 },
1744 "performance": {
1745 "type": "boolean"
1746 },
1747 "providedExports": {
1748 "type": "boolean"
1749 },
1750 "publicPath": {
1751 "type": "boolean"
1752 },
1753 "reasons": {
1754 "type": "boolean"
1755 },
1756 "source": {
1757 "type": "boolean"
1758 },
1759 "timings": {
1760 "type": "boolean"
1761 },
1762 "usedExports": {
1763 "type": "boolean"
1764 },
1765 "version": {
1766 "type": "boolean"
1767 },
1768 "warnings": {
1769 "type": "boolean"
1770 },
1771 "warningsFilter": {
1772 "anyOf": [
1773 {
1774 "items": {
1775 "type": "string"
1776 },
1777 "type": "array"
1778 },
1779 {
1780 "type": "string"
1781 }
1782 ]
1783 }
1784 },
1785 "type": "object"
1786 }
1787 },
1788 "properties": {
1789 "$schema": {
1790 "description": "Link to schema.",
1791 "type": "string"
1792 },
1793 "apps": {
1794 "description": "The application project configurations.",
1795 "items": {
1796 "$ref": "#/definitions/AppProjectConfig"
1797 },
1798 "type": "array"
1799 },
1800 "libs": {
1801 "description": "The library project configurations.",
1802 "items": {
1803 "$ref": "#/definitions/LibProjectConfig"
1804 },
1805 "type": "array"
1806 }
1807 },
1808 "type": "object"
1809}
\No newline at end of file