1
|
{
|
2
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"openaire-search": {
|
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
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
32
|
],
|
33
|
"scripts": [
|
34
|
"node_modules/jquery/dist/jquery.js",
|
35
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
36
|
]
|
37
|
},
|
38
|
"configurations": {
|
39
|
"production": {
|
40
|
"optimization": true,
|
41
|
"outputHashing": "all",
|
42
|
"sourceMap": false,
|
43
|
"extractCss": true,
|
44
|
"namedChunks": false,
|
45
|
"aot": true,
|
46
|
"extractLicenses": true,
|
47
|
"vendorChunk": false,
|
48
|
"buildOptimizer": true,
|
49
|
"fileReplacements": [
|
50
|
{
|
51
|
"replace": "src/environments/environment.ts",
|
52
|
"with": "src/environments/environment.prod.ts"
|
53
|
}
|
54
|
]
|
55
|
}
|
56
|
}
|
57
|
},
|
58
|
"serve": {
|
59
|
"builder": "@angular-devkit/build-angular:dev-server",
|
60
|
"options": {
|
61
|
"browserTarget": "openaire-search:build"
|
62
|
},
|
63
|
"configurations": {
|
64
|
"production": {
|
65
|
"browserTarget": "openaire-search:build:production"
|
66
|
}
|
67
|
}
|
68
|
},
|
69
|
"extract-i18n": {
|
70
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
71
|
"options": {
|
72
|
"browserTarget": "openaire-search:build"
|
73
|
}
|
74
|
},
|
75
|
"test": {
|
76
|
"builder": "@angular-devkit/build-angular:karma",
|
77
|
"options": {
|
78
|
"main": "src/test.ts",
|
79
|
"karmaConfig": "./karma.conf.js",
|
80
|
"polyfills": "src/polyfills.ts",
|
81
|
"tsConfig": "src/tsconfig.spec.json",
|
82
|
"scripts": [
|
83
|
"node_modules/jquery/dist/jquery.js",
|
84
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
85
|
],
|
86
|
"styles": [
|
87
|
"src/styles.css",
|
88
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
89
|
],
|
90
|
"assets": [
|
91
|
"src/assets",
|
92
|
"src/robots.txt",
|
93
|
"src/sitemap.xml",
|
94
|
{
|
95
|
"glob": "**/*",
|
96
|
"input": "src/sitemaps",
|
97
|
"output": "/"
|
98
|
}
|
99
|
]
|
100
|
}
|
101
|
},
|
102
|
"lint": {
|
103
|
"builder": "@angular-devkit/build-angular:tslint",
|
104
|
"options": {
|
105
|
"tsConfig": [
|
106
|
"src/tsconfig.app.json",
|
107
|
"src/tsconfig.spec.json"
|
108
|
],
|
109
|
"exclude": [
|
110
|
"**/node_modules/**"
|
111
|
]
|
112
|
}
|
113
|
},
|
114
|
"server": {
|
115
|
"builder": "@angular-devkit/build-angular:server",
|
116
|
"options": {
|
117
|
"outputPath": "dist/server",
|
118
|
"main": "src/main.server.ts",
|
119
|
"tsConfig": "src/tsconfig.server.json"
|
120
|
},
|
121
|
"configurations": {
|
122
|
"production": {
|
123
|
"fileReplacements": [
|
124
|
{
|
125
|
"replace": "src/environments/environment.ts",
|
126
|
"with": "src/environments/environment.prod.ts"
|
127
|
}
|
128
|
]
|
129
|
}
|
130
|
}
|
131
|
}
|
132
|
}
|
133
|
},
|
134
|
"openaire-search-e2e": {
|
135
|
"root": "e2e",
|
136
|
"sourceRoot": "e2e",
|
137
|
"projectType": "application",
|
138
|
"architect": {
|
139
|
"e2e": {
|
140
|
"builder": "@angular-devkit/build-angular:protractor",
|
141
|
"options": {
|
142
|
"protractorConfig": "./protractor.conf.js",
|
143
|
"devServerTarget": "openaire-search:serve"
|
144
|
}
|
145
|
},
|
146
|
"lint": {
|
147
|
"builder": "@angular-devkit/build-angular:tslint",
|
148
|
"options": {
|
149
|
"tsConfig": [
|
150
|
"e2e/tsconfig.e2e.json"
|
151
|
],
|
152
|
"exclude": [
|
153
|
"**/node_modules/**"
|
154
|
]
|
155
|
}
|
156
|
}
|
157
|
}
|
158
|
}
|
159
|
},
|
160
|
"defaultProject": "openaire-search",
|
161
|
"schematics": {
|
162
|
"@schematics/angular:class": {
|
163
|
"spec": false
|
164
|
},
|
165
|
"@schematics/angular:component": {
|
166
|
"spec": false,
|
167
|
"inlineStyle": true,
|
168
|
"inlineTemplate": true,
|
169
|
"prefix": "app",
|
170
|
"styleext": "css"
|
171
|
},
|
172
|
"@schematics/angular:directive": {
|
173
|
"spec": false,
|
174
|
"prefix": "app"
|
175
|
},
|
176
|
"@schematics/angular:guard": {
|
177
|
"spec": false
|
178
|
},
|
179
|
"@schematics/angular:module": {
|
180
|
"spec": false
|
181
|
},
|
182
|
"@schematics/angular:pipe": {
|
183
|
"spec": false
|
184
|
},
|
185
|
"@schematics/angular:service": {
|
186
|
"spec": false
|
187
|
}
|
188
|
}
|
189
|
}
|