1
|
{
|
2
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"openaire-aggregator": {
|
7
|
"root": "",
|
8
|
"sourceRoot": "src",
|
9
|
"projectType": "application",
|
10
|
"architect": {
|
11
|
"build": {
|
12
|
"builder": "@angular-devkit/build-angular:browser",
|
13
|
"options": {
|
14
|
"outputPath": "dist/browser",
|
15
|
"index": "src/index.html",
|
16
|
"main": "src/main.ts",
|
17
|
"tsConfig": "src/tsconfig.app.json",
|
18
|
"polyfills": "src/polyfills.ts",
|
19
|
"assets": [
|
20
|
"src/assets",
|
21
|
"src/robots.txt",
|
22
|
"src/sitemap.xml",
|
23
|
{
|
24
|
"glob": "**/*",
|
25
|
"input": "src/sitemaps",
|
26
|
"output": "/"
|
27
|
}
|
28
|
],
|
29
|
"styles": [
|
30
|
"src/styles.css",
|
31
|
"src/material.scss",
|
32
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
33
|
],
|
34
|
"scripts": [
|
35
|
"src/assets/common-assets/common/jquery.js",
|
36
|
"src/assets/common-assets/common/uikit.min.js",
|
37
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
38
|
"node_modules/jquery/dist/jquery.js",
|
39
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
40
|
]
|
41
|
},
|
42
|
"configurations": {
|
43
|
"production": {
|
44
|
"optimization": true,
|
45
|
"outputHashing": "all",
|
46
|
"sourceMap": false,
|
47
|
"extractCss": true,
|
48
|
"namedChunks": false,
|
49
|
"aot": true,
|
50
|
"extractLicenses": true,
|
51
|
"vendorChunk": false,
|
52
|
"buildOptimizer": true,
|
53
|
"fileReplacements": [
|
54
|
{
|
55
|
"replace": "src/environments/environment.ts",
|
56
|
"with": "src/environments/environment.prod.ts"
|
57
|
},
|
58
|
{
|
59
|
"replace": "src/index.html",
|
60
|
"with": "src/index.prod.html"
|
61
|
},
|
62
|
{
|
63
|
"replace": "src/robots.txt",
|
64
|
"with": "src/robots.prod.txt"
|
65
|
}
|
66
|
]
|
67
|
},
|
68
|
"beta": {
|
69
|
"optimization": true,
|
70
|
"outputHashing": "all",
|
71
|
"sourceMap": false,
|
72
|
"extractCss": true,
|
73
|
"namedChunks": false,
|
74
|
"aot": true,
|
75
|
"extractLicenses": true,
|
76
|
"vendorChunk": false,
|
77
|
"buildOptimizer": true,
|
78
|
"fileReplacements": [
|
79
|
{
|
80
|
"replace": "src/environments/environment.ts",
|
81
|
"with": "src/environments/environment.beta.ts"
|
82
|
}
|
83
|
]
|
84
|
}
|
85
|
}
|
86
|
},
|
87
|
"serve": {
|
88
|
"builder": "@angular-devkit/build-angular:dev-server",
|
89
|
"options": {
|
90
|
"browserTarget": "openaire-aggregator:build"
|
91
|
},
|
92
|
"configurations": {
|
93
|
"production": {
|
94
|
"browserTarget": "openaire-aggregator:build:production"
|
95
|
}
|
96
|
}
|
97
|
},
|
98
|
"extract-i18n": {
|
99
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
100
|
"options": {
|
101
|
"browserTarget": "openaire-aggregator:build"
|
102
|
}
|
103
|
},
|
104
|
"test": {
|
105
|
"builder": "@angular-devkit/build-angular:karma",
|
106
|
"options": {
|
107
|
"main": "src/test.ts",
|
108
|
"karmaConfig": "./karma.conf.js",
|
109
|
"polyfills": "src/polyfills.ts",
|
110
|
"tsConfig": "src/tsconfig.spec.json",
|
111
|
"scripts": [
|
112
|
"src/assets/common-assets/common/jquery.js",
|
113
|
"src/assets/common-assets/common/uikit.min.js",
|
114
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
115
|
"node_modules/jquery/dist/jquery.js",
|
116
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
117
|
],
|
118
|
"styles": [
|
119
|
"src/styles.css",
|
120
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
121
|
],
|
122
|
"assets": [
|
123
|
"src/assets",
|
124
|
"src/robots.txt",
|
125
|
"src/sitemap.xml",
|
126
|
{
|
127
|
"glob": "**/*",
|
128
|
"input": "src/sitemaps",
|
129
|
"output": "/"
|
130
|
}
|
131
|
]
|
132
|
}
|
133
|
},
|
134
|
"lint": {
|
135
|
"builder": "@angular-devkit/build-angular:tslint",
|
136
|
"options": {
|
137
|
"tsConfig": [
|
138
|
"src/tsconfig.app.json",
|
139
|
"src/tsconfig.spec.json"
|
140
|
],
|
141
|
"exclude": [
|
142
|
"**/node_modules/**"
|
143
|
]
|
144
|
}
|
145
|
},
|
146
|
"server": {
|
147
|
"builder": "@angular-devkit/build-angular:server",
|
148
|
"options": {
|
149
|
"outputPath": "dist/server",
|
150
|
"main": "src/main.server.ts",
|
151
|
"tsConfig": "src/tsconfig.server.json"
|
152
|
},
|
153
|
"configurations": {
|
154
|
"production": {
|
155
|
"fileReplacements": [
|
156
|
{
|
157
|
"replace": "src/environments/environment.ts",
|
158
|
"with": "src/environments/environment.prod.ts"
|
159
|
},
|
160
|
{
|
161
|
"replace": "src/index.html",
|
162
|
"with": "src/index.prod.html"
|
163
|
},
|
164
|
{
|
165
|
"replace": "src/robots.txt",
|
166
|
"with": "src/robots.prod.txt"
|
167
|
}
|
168
|
]
|
169
|
},
|
170
|
"beta": {
|
171
|
"fileReplacements": [
|
172
|
{
|
173
|
"replace": "src/environments/environment.ts",
|
174
|
"with": "src/environments/environment.beta.ts"
|
175
|
}
|
176
|
]
|
177
|
}
|
178
|
}
|
179
|
}
|
180
|
}
|
181
|
},
|
182
|
"openaire-aggregator-e2e": {
|
183
|
"root": "e2e",
|
184
|
"sourceRoot": "e2e",
|
185
|
"projectType": "application",
|
186
|
"architect": {
|
187
|
"e2e": {
|
188
|
"builder": "@angular-devkit/build-angular:protractor",
|
189
|
"options": {
|
190
|
"protractorConfig": "./protractor.conf.js",
|
191
|
"devServerTarget": "openaire-aggregator:serve"
|
192
|
}
|
193
|
},
|
194
|
"lint": {
|
195
|
"builder": "@angular-devkit/build-angular:tslint",
|
196
|
"options": {
|
197
|
"tsConfig": [
|
198
|
"e2e/tsconfig.e2e.json"
|
199
|
],
|
200
|
"exclude": [
|
201
|
"**/node_modules/**"
|
202
|
]
|
203
|
}
|
204
|
}
|
205
|
}
|
206
|
}
|
207
|
},
|
208
|
"defaultProject": "openaire-aggregator",
|
209
|
"schematics": {
|
210
|
"@schematics/angular:class": {
|
211
|
"spec": false
|
212
|
},
|
213
|
"@schematics/angular:component": {
|
214
|
"spec": false,
|
215
|
"inlineStyle": true,
|
216
|
"inlineTemplate": true,
|
217
|
"prefix": "app",
|
218
|
"styleext": "css"
|
219
|
},
|
220
|
"@schematics/angular:directive": {
|
221
|
"spec": false,
|
222
|
"prefix": "app"
|
223
|
},
|
224
|
"@schematics/angular:guard": {
|
225
|
"spec": false
|
226
|
},
|
227
|
"@schematics/angular:module": {
|
228
|
"spec": false
|
229
|
},
|
230
|
"@schematics/angular:pipe": {
|
231
|
"spec": false
|
232
|
},
|
233
|
"@schematics/angular:service": {
|
234
|
"spec": false
|
235
|
}
|
236
|
}
|
237
|
}
|