aboutsummaryrefslogtreecommitdiffstats
path: root/angular.json
diff options
context:
space:
mode:
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"
+ }
+}