Revision 60128
Added by Argiro Kokogiannaki almost 4 years ago
angular.json | ||
---|---|---|
3 | 3 |
"version": 1, |
4 | 4 |
"newProjectRoot": "projects", |
5 | 5 |
"projects": { |
6 |
"openaire-search": {
|
|
6 |
"openaire-aggregator": {
|
|
7 | 7 |
"root": "", |
8 | 8 |
"sourceRoot": "src", |
9 | 9 |
"projectType": "application", |
... | ... | |
54 | 54 |
{ |
55 | 55 |
"replace": "src/environments/environment.ts", |
56 | 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" |
|
57 | 65 |
} |
58 | 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 |
] |
|
59 | 84 |
} |
60 | 85 |
} |
61 | 86 |
}, |
62 | 87 |
"serve": { |
63 | 88 |
"builder": "@angular-devkit/build-angular:dev-server", |
64 | 89 |
"options": { |
65 |
"browserTarget": "openaire-search:build"
|
|
90 |
"browserTarget": "openaire-aggregator:build"
|
|
66 | 91 |
}, |
67 | 92 |
"configurations": { |
68 | 93 |
"production": { |
69 |
"browserTarget": "openaire-search:build:production"
|
|
94 |
"browserTarget": "openaire-aggregator:build:production"
|
|
70 | 95 |
} |
71 | 96 |
} |
72 | 97 |
}, |
73 | 98 |
"extract-i18n": { |
74 | 99 |
"builder": "@angular-devkit/build-angular:extract-i18n", |
75 | 100 |
"options": { |
76 |
"browserTarget": "openaire-search:build"
|
|
101 |
"browserTarget": "openaire-aggregator:build"
|
|
77 | 102 |
} |
78 | 103 |
}, |
79 | 104 |
"test": { |
... | ... | |
131 | 156 |
{ |
132 | 157 |
"replace": "src/environments/environment.ts", |
133 | 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" |
|
134 | 167 |
} |
135 | 168 |
] |
169 |
}, |
|
170 |
"beta": { |
|
171 |
"fileReplacements": [ |
|
172 |
{ |
|
173 |
"replace": "src/environments/environment.ts", |
|
174 |
"with": "src/environments/environment.beta.ts" |
|
175 |
} |
|
176 |
] |
|
136 | 177 |
} |
137 | 178 |
} |
138 | 179 |
} |
139 | 180 |
} |
140 | 181 |
}, |
141 |
"openaire-search-e2e": {
|
|
182 |
"openaire-aggregator-e2e": {
|
|
142 | 183 |
"root": "e2e", |
143 | 184 |
"sourceRoot": "e2e", |
144 | 185 |
"projectType": "application", |
... | ... | |
147 | 188 |
"builder": "@angular-devkit/build-angular:protractor", |
148 | 189 |
"options": { |
149 | 190 |
"protractorConfig": "./protractor.conf.js", |
150 |
"devServerTarget": "openaire-search:serve"
|
|
191 |
"devServerTarget": "openaire-aggregator:serve"
|
|
151 | 192 |
} |
152 | 193 |
}, |
153 | 194 |
"lint": { |
... | ... | |
164 | 205 |
} |
165 | 206 |
} |
166 | 207 |
}, |
167 |
"defaultProject": "openaire-search",
|
|
208 |
"defaultProject": "openaire-aggregator",
|
|
168 | 209 |
"schematics": { |
169 | 210 |
"@schematics/angular:class": { |
170 | 211 |
"spec": false |
Also available in: Unified diff
[Aggregator|Trunk]
add prod/beta versions files and build instructions
fix issue with animation (in server side)