source: trip-planner-front/node_modules/@schematics/angular/application/schema.json@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.2 KB
Line 
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularApp",
4 "title": "Angular Application Options Schema",
5 "type": "object",
6 "description": "Generates a new basic app definition in the \"projects\" subfolder of the workspace.",
7 "additionalProperties": false,
8 "properties": {
9 "projectRoot": {
10 "description": "The root directory of the new app.",
11 "type": "string",
12 "visible": false
13 },
14 "name": {
15 "description": "The name of the new app.",
16 "type": "string",
17 "$default": {
18 "$source": "argv",
19 "index": 0
20 },
21 "x-prompt": "What name would you like to use for the application?"
22 },
23 "inlineStyle": {
24 "description": "Include styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.",
25 "type": "boolean",
26 "alias": "s",
27 "x-user-analytics": 9
28 },
29 "inlineTemplate": {
30 "description": "Include template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ",
31 "type": "boolean",
32 "alias": "t",
33 "x-user-analytics": 10
34 },
35 "viewEncapsulation": {
36 "description": "The view encapsulation strategy to use in the new application.",
37 "enum": ["Emulated", "None", "ShadowDom"],
38 "type": "string",
39 "x-user-analytics": 11
40 },
41 "routing": {
42 "type": "boolean",
43 "description": "Create a routing NgModule.",
44 "default": false,
45 "x-prompt": "Would you like to add Angular routing?",
46 "x-user-analytics": 17
47 },
48 "prefix": {
49 "type": "string",
50 "format": "html-selector",
51 "description": "A prefix to apply to generated selectors.",
52 "default": "app",
53 "alias": "p"
54 },
55 "style": {
56 "description": "The file extension or preprocessor to use for style files.",
57 "type": "string",
58 "default": "css",
59 "enum": ["css", "scss", "sass", "less"],
60 "x-prompt": {
61 "message": "Which stylesheet format would you like to use?",
62 "type": "list",
63 "items": [
64 { "value": "css", "label": "CSS" },
65 {
66 "value": "scss",
67 "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]"
68 },
69 {
70 "value": "sass",
71 "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]"
72 },
73 {
74 "value": "less",
75 "label": "Less [ http://lesscss.org ]"
76 }
77 ]
78 },
79 "x-user-analytics": 5
80 },
81 "skipTests": {
82 "description": "Do not create \"spec.ts\" test files for the application.",
83 "type": "boolean",
84 "default": false,
85 "alias": "S",
86 "x-user-analytics": 12
87 },
88 "skipPackageJson": {
89 "type": "boolean",
90 "default": false,
91 "description": "Do not add dependencies to the \"package.json\" file."
92 },
93 "minimal": {
94 "description": "Create a bare-bones project without any testing frameworks. (Use for learning purposes only.)",
95 "type": "boolean",
96 "default": false,
97 "x-user-analytics": 14
98 },
99 "skipInstall": {
100 "description": "Skip installing dependency packages.",
101 "type": "boolean",
102 "default": false
103 },
104 "lintFix": {
105 "type": "boolean",
106 "description": "Apply lint fixes after generating the application.",
107 "x-user-analytics": 15,
108 "x-deprecated": "Use \"ng lint --fix\" directly instead."
109 },
110 "strict": {
111 "description": "Creates an application with stricter bundle budgets settings.",
112 "type": "boolean",
113 "default": true,
114 "x-user-analytics": 7
115 },
116 "legacyBrowsers": {
117 "type": "boolean",
118 "description": "Add support for legacy browsers like Internet Explorer using differential loading.",
119 "default": false,
120 "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
121 }
122 },
123 "required": ["name"]
124}
Note: See TracBrowser for help on using the repository browser.