310 lines
9.9 KiB
JSON
310 lines
9.9 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"irish-monitor": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:class": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:guard": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:interceptor": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:resolver": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:service": {
|
|
"skipTests": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"outputPath": "dist/irish-monitor/browser",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "less",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/robots.txt"
|
|
],
|
|
"styles": [
|
|
"src/styles.less",
|
|
"src/assets/common-assets/library-css/material.scss",
|
|
{"input": "src/assets/country.less", "inject": false },
|
|
{"input": "src/assets/funder.less", "inject": false },
|
|
{"input": "src/assets/organization.less", "inject": false },
|
|
{"input": "src/assets/datasource.less", "inject": false },
|
|
{"input": "src/assets/researcher.less", "inject": false }
|
|
],
|
|
"scripts": [
|
|
"src/assets/common-assets/js/copy.js",
|
|
"node_modules/uikit/dist/js/uikit.min.js",
|
|
"node_modules/uikit/dist/js/uikit-icons.min.js",
|
|
"node_modules/jquery/dist/jquery.js"
|
|
],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "30mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"beta": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "30mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"assets": [
|
|
"src/assets",
|
|
{
|
|
"input": "src/prod/",
|
|
"output": "/",
|
|
"glob": "*.txt"
|
|
}
|
|
],
|
|
"index": {
|
|
"input": "src/prod/index.html",
|
|
"output": "index.html"
|
|
},
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "30mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "irish-monitor:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "irish-monitor:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "irish-monitor:build:development"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "irish-monitor:build"
|
|
}
|
|
},
|
|
"server": {
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
"options": {
|
|
"outputPath": "dist/irish-monitor/server",
|
|
"main": "server.ts",
|
|
"tsConfig": "tsconfig.server.json",
|
|
"inlineStyleLanguage": "less"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"outputHashing": "media",
|
|
"sourceMap": false,
|
|
"optimization": true,
|
|
"vendorChunk": true,
|
|
"buildOptimizer": true
|
|
},
|
|
"beta": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true,
|
|
"buildOptimizer": true
|
|
},
|
|
"production": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/openaireLibrary/utils/properties/searchFields.ts",
|
|
"with": "src/app/shared/searchFields.irish.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true,
|
|
"buildOptimizer": true
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve-ssr": {
|
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
|
"configurations": {
|
|
"development": {
|
|
"browserTarget": "irish-monitor:build:development",
|
|
"serverTarget": "irish-monitor:server:development"
|
|
},
|
|
"production": {
|
|
"browserTarget": "irish-monitor:build:production",
|
|
"serverTarget": "irish-monitor:server:production"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"prerender": {
|
|
"builder": "@nguniversal/builders:prerender",
|
|
"options": {
|
|
"routes": [
|
|
"/"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "irish-monitor:build:production",
|
|
"serverTarget": "irish-monitor:server:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "irish-monitor:build:development",
|
|
"serverTarget": "irish-monitor:server:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|