3
3
"version" : 1 ,
4
4
"newProjectRoot" : " projects" ,
5
5
"projects" : {
6
- "clarity-seed" : {
6
+ "annotation-app" : {
7
+ "projectType" : " application" ,
8
+ "schematics" : {
9
+ "@schematics/angular:component" : {
10
+ "style" : " scss"
11
+ }
12
+ },
7
13
"root" : " " ,
8
14
"sourceRoot" : " src" ,
9
- "projectType " : " application " ,
15
+ "prefix " : " app " ,
10
16
"architect" : {
11
17
"build" : {
12
18
"builder" : " @angular-devkit/build-angular:browser" ,
13
19
"options" : {
14
- "aot" : true ,
15
20
"outputPath" : " dist" ,
16
21
"index" : " src/index.html" ,
17
22
"main" : " src/main.ts" ,
18
- "tsConfig" : " src/tsconfig.json" ,
19
23
"polyfills" : " src/polyfills.ts" ,
20
- "preserveSymlinks" : true ,
21
- "allowedCommonJsDependencies" : [" lodash" , " jwt" ],
22
- "assets" : [" src/libs" , " src/assets" ],
24
+ "tsConfig" : " tsconfig.app.json" ,
25
+ "inlineStyleLanguage" : " scss" ,
26
+ "assets" : [
27
+ " src/favicon.ico" ,
28
+ " src/assets"
29
+ ],
23
30
"styles" : [
24
- " node_modules/@clr/icons/clr-icons.min.css" ,
25
- " node_modules/@clr/ui/clr-ui.min.css" ,
26
- " node_modules/label-studio/build/static/css/main.css" ,
27
- " src/styles.css"
31
+ " src/styles.scss" ,
32
+ " node_modules/@clr/ui/clr-ui.min.css"
28
33
],
29
34
"scripts" : [
30
- " node_modules/core-js/client/shim.min.js" ,
31
- " node_modules/mutationobserver-shim/dist/mutationobserver.min.js" ,
32
- " node_modules/@webcomponents/custom-elements/custom-elements.min.js" ,
33
- " node_modules/@clr/icons/clr-icons.min.js" ,
34
- " node_modules/web-animations-js/web-animations.min.js" ,
35
35
" src/libs/userChart.js" ,
36
36
" src/libs/categoryChart.js" ,
37
37
" src/libs/hierarchicalChart.js" ,
38
- " src/libs/modelChart.js" ,
39
- " src/libs/feedback.js" ,
40
- " node_modules/label-studio/build/static/js/main.js"
38
+ " src/libs/modelChart.js"
41
39
]
42
40
},
43
41
"configurations" : {
44
42
"production" : {
45
43
"budgets" : [
44
+ {
45
+ "type" : " initial" ,
46
+ "maximumWarning" : " 500kb" ,
47
+ "maximumError" : " 1mb"
48
+ },
46
49
{
47
50
"type" : " anyComponentStyle" ,
48
- "maximumWarning" : " 6kb"
51
+ "maximumWarning" : " 2kb" ,
52
+ "maximumError" : " 4kb"
49
53
}
50
54
],
51
- "optimization" : true ,
52
- "outputHashing" : " all" ,
53
- "sourceMap" : false ,
54
- "namedChunks" : false ,
55
- "aot" : true ,
56
- "extractLicenses" : true ,
57
- "vendorChunk" : false ,
58
- "buildOptimizer" : true ,
59
55
"fileReplacements" : [
60
56
{
61
57
"replace" : " src/environments/environment.ts" ,
62
58
"with" : " src/environments/environment.prod.ts"
63
59
}
64
- ]
60
+ ],
61
+ "outputHashing" : " all"
62
+ },
63
+ "development" : {
64
+ "buildOptimizer" : false ,
65
+ "optimization" : false ,
66
+ "vendorChunk" : true ,
67
+ "extractLicenses" : false ,
68
+ "sourceMap" : true ,
69
+ "namedChunks" : true
70
+ }
71
+ },
72
+ "defaultConfiguration" : " development"
73
+ },
74
+ "serve" : {
75
+ "builder" : " @angular-devkit/build-angular:dev-server" ,
76
+ "configurations" : {
77
+ "production" : {
78
+ "browserTarget" : " annotation-app:build:production"
65
79
},
66
- "staging" : {
80
+ "development" : {
81
+ "browserTarget" : " annotation-app:build:development"
82
+ }
83
+ },
84
+ "defaultConfiguration" : " development"
85
+ },
86
+ "mfe" : {
87
+ "builder" : " ngx-build-plus:build" ,
88
+ "options" : {
89
+ "singleBundle" : true ,
90
+ "outputPath" : " dist" ,
91
+ "index" : " src/index.html" ,
92
+ "main" : " src/main.ts" ,
93
+ "polyfills" : " src/polyfills.ts" ,
94
+ "tsConfig" : " tsconfig.app.json" ,
95
+ "inlineStyleLanguage" : " scss" ,
96
+ "assets" : [
97
+ " src/favicon.ico" ,
98
+ " src/assets"
99
+ ],
100
+ "styles" : [
101
+ " src/styles.scss" ,
102
+ " node_modules/@clr/ui/clr-ui.min.css"
103
+ ],
104
+ "scripts" : [
105
+ " src/libs/userChart.js" ,
106
+ " src/libs/categoryChart.js" ,
107
+ " src/libs/hierarchicalChart.js" ,
108
+ " src/libs/modelChart.js"
109
+ ]
110
+ },
111
+ "configurations" : {
112
+ "prod" : {
113
+ "buildOptimizer" : false ,
114
+ "optimization" : false ,
115
+ "vendorChunk" : true ,
116
+ "extractLicenses" : false ,
117
+ "sourceMap" : true ,
118
+ "namedChunks" : true ,
67
119
"fileReplacements" : [
68
120
{
69
121
"replace" : " src/environments/environment.ts" ,
70
- "with" : " src/environments/environment.stg.ts"
71
- }
72
- ],
73
- "optimization" : true ,
74
- "outputHashing" : " all" ,
75
- "sourceMap" : false ,
76
- "namedChunks" : false ,
77
- "aot" : true ,
78
- "extractLicenses" : true ,
79
- "vendorChunk" : false ,
80
- "buildOptimizer" : true ,
81
- "budgets" : [
82
- {
83
- "type" : " initial" ,
84
- "maximumWarning" : " 2mb" ,
85
- "maximumError" : " 5mb"
86
- },
87
- {
88
- "type" : " anyComponentStyle" ,
89
- "maximumWarning" : " 6kb"
122
+ "with" : " src/environments/environment.prod.ts"
90
123
}
91
124
]
92
125
},
93
- "test" : {
126
+ "dev" : {
127
+ "buildOptimizer" : false ,
128
+ "optimization" : false ,
129
+ "vendorChunk" : true ,
130
+ "extractLicenses" : false ,
131
+ "sourceMap" : true ,
132
+ "namedChunks" : true ,
94
133
"fileReplacements" : [
95
134
{
96
135
"replace" : " src/environments/environment.ts" ,
97
- "with" : " src/environments/environment.test .ts"
136
+ "with" : " src/environments/environment.dev .ts"
98
137
}
99
- ],
100
- "optimization" : true ,
101
- "outputHashing" : " all" ,
102
- "sourceMap" : false ,
103
- "namedChunks" : false ,
104
- "aot" : true ,
105
- "extractLicenses" : true ,
106
- "vendorChunk" : false ,
107
- "buildOptimizer" : true ,
108
- "budgets" : [
109
- {
110
- "type" : " initial" ,
111
- "maximumWarning" : " 2mb" ,
112
- "maximumError" : " 5mb"
113
- },
138
+ ]
139
+ },
140
+ "stg" : {
141
+ "buildOptimizer" : false ,
142
+ "optimization" : false ,
143
+ "vendorChunk" : true ,
144
+ "extractLicenses" : false ,
145
+ "sourceMap" : true ,
146
+ "namedChunks" : true ,
147
+ "fileReplacements" : [
114
148
{
115
- "type " : " anyComponentStyle " ,
116
- "maximumWarning " : " 6kb "
149
+ "replace " : " src/environments/environment.ts " ,
150
+ "with " : " src/environments/environment.stg.ts "
117
151
}
118
152
]
119
- }
120
- }
121
- },
122
- "serve" : {
123
- "builder" : " @angular-devkit/build-angular:dev-server" ,
124
- "options" : {
125
- "browserTarget" : " clarity-seed:build"
126
- },
127
- "configurations" : {
128
- "production" : {
129
- "browserTarget" : " clarity-seed:build:production"
130
153
},
131
- "staging" : {
132
- "browserTarget" : " clarity-seed:build:staging"
133
- },
134
- "test" : {
135
- "browserTarget" : " clarity-seed:build:test"
154
+ "development" : {
155
+ "buildOptimizer" : false ,
156
+ "optimization" : false ,
157
+ "vendorChunk" : true ,
158
+ "extractLicenses" : false ,
159
+ "sourceMap" : true ,
160
+ "namedChunks" : true
136
161
}
137
- }
138
- },
139
- "extract-i18n" : {
140
- "builder" : " @angular-devkit/build-angular:extract-i18n" ,
141
- "options" : {
142
- "browserTarget" : " clarity-seed:build"
143
- }
144
- },
145
- "test" : {
146
- "builder" : " @angular-devkit/build-angular:karma" ,
147
- "options" : {
148
- "main" : " src/test.ts" ,
149
- "karmaConfig" : " ./karma.conf.js" ,
150
- "scripts" : [
151
- " node_modules/core-js/client/shim.min.js" ,
152
- " node_modules/mutationobserver-shim/dist/mutationobserver.min.js" ,
153
- " node_modules/@webcomponents/custom-elements/custom-elements.min.js" ,
154
- " node_modules/@clr/icons/clr-icons.min.js" ,
155
- " node_modules/web-animations-js/web-animations.min.js"
156
- ],
157
- "styles" : [
158
- " node_modules/@clr/icons/clr-icons.min.css" ,
159
- " node_modules/@clr/ui/clr-ui.min.css" ,
160
- " src/styles.css"
161
- ],
162
- "assets" : [" src/libs" , " src/assets" ]
163
- }
164
- },
165
- "lint" : {
166
- "builder" : " @angular-devkit/build-angular:tslint" ,
167
- "options" : {
168
- "tsConfig" : [],
169
- "exclude" : []
170
- }
171
- }
172
- }
173
- },
174
- "clarity-seed-e2e" : {
175
- "root" : " e2e" ,
176
- "sourceRoot" : " e2e" ,
177
- "projectType" : " application" ,
178
- "architect" : {
179
- "e2e" : {
180
- "builder" : " @angular-devkit/build-angular:protractor" ,
181
- "options" : {
182
- "protractorConfig" : " ./protractor.config.js" ,
183
- "devServerTarget" : " clarity-seed:serve"
184
- }
185
- },
186
- "lint" : {
187
- "builder" : " @angular-devkit/build-angular:tslint" ,
188
- "options" : {
189
- "tsConfig" : [],
190
- "exclude" : []
191
- }
162
+ },
163
+ "defaultConfiguration" : " development"
192
164
}
193
165
}
194
166
}
195
- },
196
- "defaultProject" : " clarity-seed" ,
197
- "schematics" : {
198
- "@schematics/angular:component" : {
199
- "prefix" : " app" ,
200
- "style" : " scss"
201
- },
202
- "@schematics/angular:directive" : {
203
- "prefix" : " app"
204
- }
205
167
}
206
- }
168
+ }
0 commit comments