2019-05-23 14:20:48 +02:00
|
|
|
{
|
2021-07-14 13:47:56 +02:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
2019-05-23 14:20:48 +02:00
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"aggregator": {
|
2019-05-23 14:20:48 +02:00
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2021-07-14 13:47:56 +02:00
|
|
|
"prefix": "app",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:class": {
|
|
|
|
"skipTests": true
|
|
|
|
},
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"skipTests": true
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"skipTests": true
|
|
|
|
},
|
|
|
|
"@schematics/angular:guard": {
|
|
|
|
"skipTests": true
|
|
|
|
},
|
|
|
|
"@schematics/angular:module": {
|
|
|
|
},
|
|
|
|
"@schematics/angular:pipe": {
|
|
|
|
"skipTests": true
|
|
|
|
},
|
|
|
|
"@schematics/angular:service": {
|
|
|
|
"skipTests": true
|
|
|
|
}
|
|
|
|
},
|
2019-05-23 14:20:48 +02:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2024-04-04 16:16:28 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
|
|
|
}
|
|
|
|
],
|
2021-07-14 13:47:56 +02:00
|
|
|
"outputPath": "dist/aggregator/browser",
|
2019-05-23 14:20:48 +02:00
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2021-07-14 13:47:56 +02:00
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
2019-05-23 14:20:48 +02:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
2021-07-14 13:47:56 +02:00
|
|
|
"src/robots.txt"
|
2019-05-23 14:20:48 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
2022-09-23 15:33:26 +02:00
|
|
|
"src/styles.less",
|
|
|
|
"src/assets/common-assets/library-css/material.scss"
|
2019-05-23 14:20:48 +02:00
|
|
|
],
|
|
|
|
"scripts": [
|
2022-09-21 00:05:21 +02:00
|
|
|
"node_modules/uikit/dist/js/uikit.min.js",
|
|
|
|
"node_modules/uikit/dist/js/uikit-icons.min.js",
|
2021-07-14 13:47:56 +02:00
|
|
|
"node_modules/jquery/dist/jquery.js"
|
2022-09-23 16:13:11 +02:00
|
|
|
],
|
|
|
|
"vendorChunk": true,
|
|
|
|
"extractLicenses": false,
|
|
|
|
"buildOptimizer": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"optimization": false,
|
|
|
|
"namedChunks": true
|
2019-05-23 14:20:48 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"development": {
|
2024-04-04 16:16:28 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
|
|
|
}
|
|
|
|
],
|
2022-10-03 15:30:45 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2019-05-23 14:20:48 +02:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2021-07-14 13:47:56 +02:00
|
|
|
"budgets": [
|
2019-05-23 14:20:48 +02:00
|
|
|
{
|
2021-07-14 13:47:56 +02:00
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
2020-12-14 17:22:50 +01:00
|
|
|
},
|
|
|
|
{
|
2021-07-14 13:47:56 +02:00
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
2020-12-14 17:22:50 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"beta": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
{
|
|
|
|
"input": "src/beta/",
|
|
|
|
"output": "/",
|
|
|
|
"glob": "*.txt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"index": {
|
|
|
|
"input": "src/beta/index.html",
|
|
|
|
"output": "index.html"
|
|
|
|
},
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.beta.ts"
|
2024-04-04 16:16:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
2021-07-14 13:47:56 +02:00
|
|
|
}
|
|
|
|
],
|
2022-10-03 15:30:45 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2020-12-14 17:22:50 +01:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2021-07-14 13:47:56 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
{
|
|
|
|
"input": "src/prod/",
|
|
|
|
"output": "/",
|
|
|
|
"glob": "*.txt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"index": {
|
|
|
|
"input": "src/prod/index.html",
|
|
|
|
"output": "index.html"
|
|
|
|
},
|
2020-12-14 17:22:50 +01:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
2021-07-14 13:47:56 +02:00
|
|
|
"with": "src/environments/environment.prod.ts"
|
2024-04-04 16:16:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
2021-07-14 13:47:56 +02:00
|
|
|
}
|
|
|
|
],
|
2022-10-03 15:30:45 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2021-07-14 13:47:56 +02:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-09-23 16:13:11 +02:00
|
|
|
},
|
|
|
|
"defaultConfiguration": ""
|
2019-05-23 14:20:48 +02:00
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"browserTarget": "aggregator:build"
|
2019-05-23 14:20:48 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"browserTarget": "aggregator:build:production"
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"browserTarget": "aggregator:build"
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
2021-07-14 13:47:56 +02:00
|
|
|
"karmaConfig": "src/karma.conf.js",
|
2019-05-23 14:20:48 +02:00
|
|
|
"styles": [
|
2021-07-14 13:47:56 +02:00
|
|
|
"src/styles.css"
|
2019-05-23 14:20:48 +02:00
|
|
|
],
|
2021-07-14 13:47:56 +02:00
|
|
|
"scripts": [],
|
2019-05-23 14:20:48 +02:00
|
|
|
"assets": [
|
2021-07-14 13:47:56 +02:00
|
|
|
"src/assets"
|
2019-05-23 14:20:48 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
|
|
"options": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"outputPath": "dist/aggregator/server",
|
|
|
|
"main": "server.ts",
|
2022-09-23 16:13:11 +02:00
|
|
|
"tsConfig": "src/tsconfig.server.json",
|
|
|
|
"sourceMap": true,
|
2023-08-04 13:16:41 +02:00
|
|
|
"optimization": false,
|
|
|
|
"buildOptimizer": false
|
2019-05-23 14:20:48 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"development": {
|
|
|
|
"outputHashing": "media",
|
|
|
|
"sourceMap": false,
|
2023-08-04 13:10:52 +02:00
|
|
|
"optimization": true,
|
2023-08-04 13:16:41 +02:00
|
|
|
"vendorChunk": true,
|
|
|
|
"buildOptimizer": true
|
2021-07-14 13:47:56 +02:00
|
|
|
},
|
|
|
|
"beta": {
|
|
|
|
"outputHashing": "media",
|
2019-05-23 14:20:48 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
2021-07-14 13:47:56 +02:00
|
|
|
"with": "src/environments/environment.beta.ts"
|
2024-04-04 16:16:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
2020-12-14 17:22:50 +01:00
|
|
|
}
|
2021-07-14 13:47:56 +02:00
|
|
|
],
|
|
|
|
"sourceMap": false,
|
2023-08-04 13:16:41 +02:00
|
|
|
"optimization": true,
|
|
|
|
"buildOptimizer": true
|
2020-12-14 17:22:50 +01:00
|
|
|
},
|
2021-07-14 13:47:56 +02:00
|
|
|
"production": {
|
|
|
|
"outputHashing": "media",
|
2020-12-14 17:22:50 +01:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
2021-07-14 13:47:56 +02:00
|
|
|
"with": "src/environments/environment.prod.ts"
|
2024-04-04 16:16:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.aggregator.ts"
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
2021-07-14 13:47:56 +02:00
|
|
|
],
|
|
|
|
"sourceMap": false,
|
2023-08-04 13:16:41 +02:00
|
|
|
"optimization": true,
|
|
|
|
"buildOptimizer": true
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
2022-09-23 16:13:11 +02:00
|
|
|
},
|
|
|
|
"defaultConfiguration": ""
|
2021-07-14 13:47:56 +02:00
|
|
|
},
|
|
|
|
"serve-ssr": {
|
|
|
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "aggregator:build",
|
|
|
|
"serverTarget": "aggregator:server"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "aggregator:build:production",
|
|
|
|
"serverTarget": "aggregator:server:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prerender": {
|
|
|
|
"builder": "@nguniversal/builders:prerender",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "aggregator:build:production",
|
|
|
|
"serverTarget": "aggregator:server:production",
|
|
|
|
"routes": [
|
|
|
|
"/"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {}
|
|
|
|
}
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-07-14 13:47:56 +02:00
|
|
|
"aggregator-e2e": {
|
|
|
|
"root": "e2e/",
|
2019-05-23 14:20:48 +02:00
|
|
|
"projectType": "application",
|
2021-07-14 13:47:56 +02:00
|
|
|
"prefix": "",
|
2019-05-23 14:20:48 +02:00
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
2021-07-14 13:47:56 +02:00
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "aggregator:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "aggregator:serve:production"
|
|
|
|
}
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-20 22:37:12 +02:00
|
|
|
},
|
|
|
|
"cli": {
|
|
|
|
"analytics": false
|
2022-09-23 16:31:56 +02:00
|
|
|
}
|
2019-05-23 14:20:48 +02:00
|
|
|
}
|