Files
postnordlotteriet/frontend/angular.json
T
2026-08-09 16:18:41 +00:00

118 lines
2.6 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm",
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
"postnordlotteriet": {
"projectType": "application",
"schematics": {
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:component": {
"skipTests": true,
"type": "component",
"addTypeToClassName": false
},
"@schematics/angular:directive": {
"skipTests": true,
"type": "directive",
"addTypeToClassName": false
},
"@schematics/angular:guard": {
"skipTests": true,
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"skipTests": true,
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"skipTests": true,
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"skipTests": true,
"typeSeparator": "."
},
"@schematics/angular:service": {
"skipTests": true,
"type": "service",
"addTypeToClassName": false
},
"@schematics/angular:module": {
"typeSeparator": "."
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"browser": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": ["src/styles.css"]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"options": {
"host": "0.0.0.0",
"ssl": true,
"sslCert": ".certs/cert.pem",
"sslKey": ".certs/key.pem",
"proxyConfig": "proxy.conf.json",
"prebundle": {
"exclude": ["@postnord/web-components/loader"]
}
},
"configurations": {
"production": {
"buildTarget": "postnordlotteriet:build:production"
},
"development": {
"buildTarget": "postnordlotteriet:build:development"
}
},
"defaultConfiguration": "development"
}
}
}
}
}