summaryrefslogtreecommitdiffstats
path: root/angular.json
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-04-14 11:59:32 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-04-14 11:59:32 +0000
commitd68841d9f75636575cd778838a8ceea5fd5aada3 (patch)
tree778c84203ed9bfa4dc1c8234e4e2cf60da6ebd8c /angular.json
parent42af09588f1f839b9ab36356f02f34c89559bcfa (diff)
Upload ui
Issue-ID: PORTAL-1084 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Id0c94859a775094e67b0bb9c91ca5e776a08c068
Diffstat (limited to 'angular.json')
-rw-r--r--angular.json135
1 files changed, 135 insertions, 0 deletions
diff --git a/angular.json b/angular.json
new file mode 100644
index 0000000..f749b51
--- /dev/null
+++ b/angular.json
@@ -0,0 +1,135 @@
+{
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
+ "version": 1,
+ "newProjectRoot": "projects",
+ "projects": {
+ "frontend": {
+ "projectType": "application",
+ "schematics": {},
+ "root": "",
+ "sourceRoot": "src",
+ "prefix": "app",
+ "architect": {
+ "build": {
+ "builder": "@angular-devkit/build-angular:browser",
+ "options": {
+ "allowedCommonJsDependencies": [ "clone-deep"],
+ "aot": true,
+ "outputPath": "dist/frontend",
+ "index": "src/index.html",
+ "main": "src/main.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "tsconfig.app.json",
+ "assets": ["src/favicon.ico", "src/assets", "src/keycloak-error.html"],
+ "styles": [
+ "node_modules/bootstrap/dist/css/bootstrap.css",
+ "src/assets/css/bootstrap-icons.css",
+ "src/styles.css",
+ "./node_modules/@angular/cdk/overlay-prebuilt.css",
+ {
+ "input": "src/assets/css/onap-styles.css",
+ "bundleName": "onap-styles",
+ "inject": true
+ }
+ ],
+ "scripts": [],
+ "vendorChunk": true,
+ "extractLicenses": false,
+ "buildOptimizer": false,
+ "sourceMap": true,
+ "optimization": false,
+ "namedChunks": true
+ },
+ "configurations": {
+ "production": {
+ "fileReplacements": [
+ {
+ "replace": "src/environments/environment.ts",
+ "with": "src/environments/environment.prod.ts"
+ }
+ ],
+ "optimization": true,
+ "outputHashing": "all",
+ "sourceMap": false,
+ "namedChunks": false,
+ "extractLicenses": true,
+ "vendorChunk": false,
+ "buildOptimizer": true,
+ "budgets": [
+ {
+ "type": "initial",
+ "maximumWarning": "2mb",
+ "maximumError": "4mb"
+ },
+ {
+ "type": "anyComponentStyle",
+ "maximumWarning": "2kb",
+ "maximumError": "4kb"
+ }
+ ]
+ }
+ },
+ "defaultConfiguration": ""
+ },
+ "serve": {
+ "builder": "@angular-devkit/build-angular:dev-server",
+ "options": {
+ "browserTarget": "frontend:build"
+ },
+ "configurations": {
+ "production": {
+ "browserTarget": "frontend:build:production"
+ }
+ }
+ },
+ "extract-i18n": {
+ "builder": "@angular-devkit/build-angular:extract-i18n",
+ "options": {
+ "browserTarget": "frontend:build"
+ }
+ },
+ "test": {
+ "builder": "@angular-devkit/build-angular:karma",
+ "options": {
+ "codeCoverage": true,
+ "main": "src/test.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "tsconfig.spec.json",
+ "karmaConfig": "karma.conf.js",
+ "assets": ["src/favicon.ico", "src/assets", "src/keycloak-error.html"],
+ "styles": ["src/styles.css"],
+ "scripts": []
+ }
+ },
+ "lint": {
+ "builder": "@angular-eslint/builder:lint",
+ "options": {
+ "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
+ }
+ },
+ "e2e": {
+ "builder": "@angular-devkit/build-angular:protractor",
+ "options": {
+ "protractorConfig": "e2e/protractor.conf.js",
+ "devServerTarget": "frontend:serve"
+ },
+ "configurations": {
+ "production": {
+ "devServerTarget": "frontend:serve:production"
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultProject": "frontend",
+ "cli": {
+ "cache": {
+ "enabled": true,
+ "path": ".cache",
+ "environment": "all"
+ },
+ "analytics": "8f37c777-0688-43ed-a5a5-b315e820eff9",
+ "defaultCollection": "@angular-eslint/schematics"
+ }
+}