mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 18:44:40 +00:00
1b6fcebaa6
* fix: disable sw * angular.json disable sw
173 lines
5.0 KiB
JSON
173 lines
5.0 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"console": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "cnsl",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/console",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/manifest.webmanifest"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": [],
|
|
"allowedCommonJsDependencies": [
|
|
"@angular/common/locales/de",
|
|
"src/app/proto/generated/**",
|
|
"file-saver",
|
|
"qrcode"
|
|
],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": {
|
|
"scripts": true,
|
|
"fonts": {
|
|
"inline": true
|
|
},
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
}
|
|
},
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"fonts": {
|
|
"inline": false
|
|
},
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
}
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "4mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
],
|
|
"serviceWorker": false,
|
|
"ngswConfigPath": "ngsw-config.json"
|
|
},
|
|
"development": {}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "console:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "console:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "console:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/manifest.webmanifest"
|
|
],
|
|
"styles": [
|
|
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"tsconfig.app.json",
|
|
"tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**",
|
|
"**/proto/generated/**"
|
|
]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "console:serve:production"
|
|
},
|
|
"development": {
|
|
"devServerTarget": "console:serve:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "console",
|
|
"cli": {
|
|
"analytics": "2b4e8e6c-f053-4562-b7a6-00c6c06a6791"
|
|
}
|
|
} |