irish-monitor/angular.json

288 lines
8.9 KiB
JSON
Raw Normal View History

2023-10-23 14:26:21 +02:00
{
"$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",
2023-10-23 14:26:21 +02:00
"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"
2023-10-23 14:26:21 +02:00
],
"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 }
2023-10-23 14:26:21 +02:00
],
"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
2023-10-23 14:26:21 +02:00
},
"configurations": {
"development": {
"optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
2023-10-23 14:26:21 +02:00
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "30mb"
2023-10-23 14:26:21 +02:00
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
},
"beta": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.beta.ts"
2023-10-23 14:26:21 +02:00
}
],
"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"
}
]
2023-10-23 14:26:21 +02:00
},
"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"
}
],
"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"
}
]
2023-10-23 14:26:21 +02:00
}
},
"defaultConfiguration": ""
2023-10-23 14:26:21 +02:00
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "irish-monitor:build"
},
2023-10-23 14:26:21 +02:00
"configurations": {
"production": {
"browserTarget": "irish-monitor:build:production"
},
"development": {
"browserTarget": "irish-monitor:build:development"
}
}
2023-10-23 14:26:21 +02:00
},
"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"
}
],
"sourceMap": false,
"optimization": true,
"buildOptimizer": true
},
"production": {
"outputHashing": "media",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.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"
2023-10-23 14:26:21 +02:00
}
}
}
}
}