2019-06-03 16:41:57 +02:00
|
|
|
{
|
2021-07-14 16:51:20 +02:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
2019-06-03 16:41:57 +02:00
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"connect": {
|
2019-06-03 16:41:57 +02:00
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2021-07-14 16:51:20 +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-06-03 16:41:57 +02:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2024-07-17 12:25:44 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
|
|
|
}
|
|
|
|
],
|
2021-07-14 16:51:20 +02:00
|
|
|
"outputPath": "dist/connect/browser",
|
2019-06-03 16:41:57 +02:00
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2021-07-14 16:51:20 +02:00
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
2019-06-03 16:41:57 +02:00
|
|
|
"assets": [
|
2020-12-02 18:41:53 +01:00
|
|
|
"src/assets"
|
2019-06-03 16:41:57 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
2022-06-17 18:49:40 +02:00
|
|
|
"src/styles.less",
|
2022-06-27 11:58:15 +02:00
|
|
|
"src/assets/common-assets/library-css/material.scss"
|
2019-06-03 16:41:57 +02:00
|
|
|
],
|
|
|
|
"scripts": [
|
2022-06-27 11:58:15 +02:00
|
|
|
"node_modules/uikit/dist/js/uikit.min.js",
|
|
|
|
"node_modules/uikit/dist/js/uikit-icons.min.js",
|
2021-07-14 16:51:20 +02:00
|
|
|
"node_modules/jquery/dist/jquery.js"
|
2022-09-23 13:25:38 +02:00
|
|
|
],
|
|
|
|
"vendorChunk": true,
|
|
|
|
"extractLicenses": false,
|
|
|
|
"buildOptimizer": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"optimization": false,
|
|
|
|
"namedChunks": true
|
2019-06-03 16:41:57 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"development": {
|
2022-10-03 14:46:24 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2019-06-03 16:41:57 +02:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2024-07-17 12:25:44 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
|
|
|
}
|
|
|
|
],
|
2022-07-21 14:01:31 +02:00
|
|
|
"styles": [
|
|
|
|
"src/assets/common-assets/library-css/material.scss"
|
|
|
|
],
|
2021-07-14 16:51:20 +02:00
|
|
|
"budgets": [
|
2019-06-03 16:41:57 +02:00
|
|
|
{
|
2021-07-14 16:51:20 +02:00
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
2020-06-30 18:00:24 +02:00
|
|
|
},
|
|
|
|
{
|
2021-07-14 16:51:20 +02:00
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
|
|
|
]
|
2020-06-11 17:37:16 +02:00
|
|
|
},
|
|
|
|
"beta": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"index": {
|
|
|
|
"input": "src/beta/index.html",
|
|
|
|
"output": "index.html"
|
|
|
|
},
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.beta.ts"
|
2024-07-17 12:25:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
2021-07-14 16:51:20 +02:00
|
|
|
}
|
|
|
|
],
|
2022-10-03 14:46:24 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2020-06-11 17:37:16 +02:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2022-07-21 14:01:31 +02:00
|
|
|
"styles": [
|
|
|
|
"src/assets/common-assets/library-css/material.scss"
|
|
|
|
],
|
2021-07-14 16:51:20 +02:00
|
|
|
"budgets": [
|
2020-06-11 17:37:16 +02:00
|
|
|
{
|
2021-07-14 16:51:20 +02:00
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
2020-06-30 18:00:24 +02:00
|
|
|
},
|
|
|
|
{
|
2021-07-14 16:51:20 +02:00
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
2020-06-11 17:37:16 +02:00
|
|
|
}
|
|
|
|
]
|
2020-07-15 17:53:19 +02:00
|
|
|
},
|
2021-07-14 16:51:20 +02:00
|
|
|
"production": {
|
|
|
|
"index": {
|
|
|
|
"input": "src/prod/index.html",
|
|
|
|
"output": "index.html"
|
|
|
|
},
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
2024-07-17 12:25:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
2021-07-14 16:51:20 +02:00
|
|
|
}
|
|
|
|
],
|
2022-10-03 14:46:24 +02:00
|
|
|
"optimization": {
|
|
|
|
"scripts": true,
|
|
|
|
"styles": {
|
|
|
|
"minify": true,
|
|
|
|
"inlineCritical": false
|
|
|
|
},
|
|
|
|
"fonts": true
|
|
|
|
},
|
2020-07-15 17:53:19 +02:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
2021-07-14 16:51:20 +02:00
|
|
|
"buildOptimizer": true,
|
2022-07-21 14:01:31 +02:00
|
|
|
"styles": [
|
|
|
|
"src/assets/common-assets/library-css/material.scss"
|
|
|
|
],
|
2021-07-14 16:51:20 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
]
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
2022-09-23 13:25:38 +02:00
|
|
|
},
|
|
|
|
"defaultConfiguration": ""
|
2019-06-03 16:41:57 +02:00
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
2024-07-16 12:04:00 +02:00
|
|
|
"buildTarget": "connect:build"
|
2019-06-03 16:41:57 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2024-07-16 12:04:00 +02:00
|
|
|
"buildTarget": "connect:build:production"
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
2024-07-16 12:04:00 +02:00
|
|
|
"buildTarget": "connect:build"
|
2019-06-03 16:41:57 +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 16:51:20 +02:00
|
|
|
"karmaConfig": "src/karma.conf.js",
|
2019-06-03 16:41:57 +02:00
|
|
|
"styles": [
|
2024-05-08 11:08:21 +02:00
|
|
|
"src/styles.less"
|
2019-06-03 16:41:57 +02:00
|
|
|
],
|
2021-07-14 16:51:20 +02:00
|
|
|
"scripts": [],
|
2019-06-03 16:41:57 +02:00
|
|
|
"assets": [
|
2020-12-02 18:41:53 +01:00
|
|
|
"src/assets"
|
2019-06-03 16:41:57 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
|
|
"options": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"outputPath": "dist/connect/server",
|
|
|
|
"main": "server.ts",
|
2022-07-21 14:01:31 +02:00
|
|
|
"tsConfig": "src/tsconfig.server.json",
|
2022-09-23 13:25:38 +02:00
|
|
|
"sourceMap": true,
|
2023-08-04 12:40:26 +02:00
|
|
|
"optimization": false,
|
|
|
|
"buildOptimizer": false
|
2019-06-03 16:41:57 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"development": {
|
|
|
|
"outputHashing": "media",
|
|
|
|
"sourceMap": false,
|
2023-08-04 12:32:54 +02:00
|
|
|
"optimization": true,
|
2023-08-04 12:40:26 +02:00
|
|
|
"vendorChunk": true,
|
2024-07-17 12:25:44 +02:00
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
|
|
|
}
|
|
|
|
]
|
2021-07-14 16:51:20 +02:00
|
|
|
},
|
|
|
|
"beta": {
|
|
|
|
"outputHashing": "media",
|
2019-06-03 16:41:57 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
2021-07-14 16:51:20 +02:00
|
|
|
"with": "src/environments/environment.beta.ts"
|
2024-07-17 12:25:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
2021-07-14 16:51:20 +02:00
|
|
|
],
|
|
|
|
"sourceMap": false,
|
2023-08-04 12:40:26 +02:00
|
|
|
"optimization": true,
|
|
|
|
"buildOptimizer": true
|
2020-06-11 17:37:16 +02:00
|
|
|
},
|
2021-07-14 16:51:20 +02:00
|
|
|
"production": {
|
|
|
|
"outputHashing": "media",
|
2020-06-11 17:37:16 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
2021-07-14 16:51:20 +02:00
|
|
|
"with": "src/environments/environment.prod.ts"
|
2024-07-17 12:25:44 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
|
|
"with": "src/app/shared/searchFields.community.ts"
|
2020-06-11 17:37:16 +02:00
|
|
|
}
|
2021-07-14 16:51:20 +02:00
|
|
|
],
|
|
|
|
"sourceMap": false,
|
2023-08-04 12:40:26 +02:00
|
|
|
"optimization": true,
|
|
|
|
"buildOptimizer": true
|
2021-07-14 16:51:20 +02:00
|
|
|
}
|
2022-09-23 13:25:38 +02:00
|
|
|
},
|
|
|
|
"defaultConfiguration": ""
|
2021-07-14 16:51:20 +02:00
|
|
|
},
|
|
|
|
"serve-ssr": {
|
2024-07-16 12:04:00 +02:00
|
|
|
"builder": "@angular-devkit/build-angular:ssr-dev-server",
|
2021-07-14 16:51:20 +02:00
|
|
|
"options": {
|
|
|
|
"browserTarget": "connect:build",
|
|
|
|
"serverTarget": "connect:server"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "connect:build:production",
|
|
|
|
"serverTarget": "connect:server:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prerender": {
|
2024-07-16 12:04:00 +02:00
|
|
|
"builder": "@angular-devkit/build-angular:prerender",
|
2021-07-14 16:51:20 +02:00
|
|
|
"options": {
|
|
|
|
"browserTarget": "connect:build:production",
|
|
|
|
"serverTarget": "connect:server:production",
|
|
|
|
"routes": [
|
|
|
|
"/"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {}
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-07-14 16:51:20 +02:00
|
|
|
"connect-e2e": {
|
|
|
|
"root": "e2e/",
|
2019-06-03 16:41:57 +02:00
|
|
|
"projectType": "application",
|
2021-07-14 16:51:20 +02:00
|
|
|
"prefix": "",
|
2019-06-03 16:41:57 +02:00
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
2021-07-14 16:51:20 +02:00
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "connect:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "connect:serve:production"
|
|
|
|
}
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-23 14:21:26 +02:00
|
|
|
},
|
|
|
|
"cli": {
|
|
|
|
"analytics": false
|
2022-09-23 13:54:30 +02:00
|
|
|
}
|
2019-06-03 16:41:57 +02:00
|
|
|
}
|