Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 1 | { |
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | "version": 1, |
| 4 | "newProjectRoot": "projects", |
| 5 | "projects": { |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 6 | "${artifactId}-gui": { |
| 7 | "projectType": "application", |
| 8 | "schematics": {}, |
| 9 | "root": "", |
| 10 | "sourceRoot": "src", |
| 11 | "prefix": "app", |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 12 | "architect": { |
| 13 | "build": { |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 14 | "builder": "@angular-devkit/build-angular:browser", |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 15 | "options": { |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 16 | "outputPath": "dist/${artifactId}-gui", |
| 17 | "index": "src/index.html", |
| 18 | "main": "src/main.ts", |
| 19 | "polyfills": "src/polyfills.ts", |
| 20 | "tsConfig": "tsconfig.app.json", |
| 21 | "aot": true, |
| 22 | "assets": [ |
| 23 | "src/favicon.ico", |
| 24 | "src/assets" |
| 25 | ], |
| 26 | "styles": [ |
| 27 | "src/styles.css" |
| 28 | ], |
| 29 | "scripts": [] |
| 30 | }, |
| 31 | "configurations": { |
| 32 | "production": { |
| 33 | "fileReplacements": [ |
| 34 | { |
| 35 | "replace": "src/environments/environment.ts", |
| 36 | "with": "src/environments/environment.prod.ts" |
| 37 | } |
| 38 | ], |
| 39 | "optimization": true, |
| 40 | "outputHashing": "all", |
| 41 | "sourceMap": false, |
| 42 | "extractCss": true, |
| 43 | "namedChunks": false, |
| 44 | "extractLicenses": true, |
| 45 | "vendorChunk": false, |
| 46 | "buildOptimizer": true, |
| 47 | "budgets": [ |
| 48 | { |
| 49 | "type": "initial", |
| 50 | "maximumWarning": "2mb", |
| 51 | "maximumError": "5mb" |
| 52 | }, |
| 53 | { |
| 54 | "type": "anyComponentStyle", |
| 55 | "maximumWarning": "6kb", |
| 56 | "maximumError": "10kb" |
| 57 | } |
| 58 | ] |
| 59 | } |
| 60 | } |
| 61 | }, |
| 62 | "serve": { |
| 63 | "builder": "@angular-devkit/build-angular:dev-server", |
| 64 | "options": { |
| 65 | "browserTarget": "${artifactId}-gui:build" |
| 66 | }, |
| 67 | "configurations": { |
| 68 | "production": { |
| 69 | "browserTarget": "${artifactId}-gui:build:production" |
| 70 | } |
| 71 | } |
| 72 | }, |
| 73 | "extract-i18n": { |
| 74 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 75 | "options": { |
| 76 | "browserTarget": "${artifactId}-gui:build" |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 77 | } |
| 78 | }, |
| 79 | "test": { |
| 80 | "builder": "@angular-devkit/build-angular:karma", |
| 81 | "options": { |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 82 | "main": "src/test.ts", |
| 83 | "polyfills": "src/polyfills.ts", |
| 84 | "tsConfig": "tsconfig.spec.json", |
| 85 | "karmaConfig": "karma.conf.js", |
| 86 | "assets": [ |
| 87 | "src/favicon.ico", |
| 88 | "src/assets" |
| 89 | ], |
| 90 | "styles": [ |
| 91 | "src/styles.css" |
| 92 | ], |
| 93 | "scripts": [] |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 94 | } |
| 95 | }, |
| 96 | "lint": { |
| 97 | "builder": "@angular-devkit/build-angular:tslint", |
| 98 | "options": { |
| 99 | "tsConfig": [ |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 100 | "tsconfig.app.json", |
| 101 | "tsconfig.spec.json", |
| 102 | "e2e/tsconfig.json" |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 103 | ], |
| 104 | "exclude": [ |
| 105 | "**/node_modules/**" |
| 106 | ] |
| 107 | } |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 108 | }, |
| 109 | "e2e": { |
| 110 | "builder": "@angular-devkit/build-angular:protractor", |
| 111 | "options": { |
| 112 | "protractorConfig": "e2e/protractor.conf.js", |
| 113 | "devServerTarget": "${artifactId}-gui:serve" |
| 114 | }, |
| 115 | "configurations": { |
| 116 | "production": { |
| 117 | "devServerTarget": "${artifactId}-gui:serve:production" |
| 118 | } |
| 119 | } |
Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 120 | } |
| 121 | } |
Sean Condon | 6a6f9a0 | 2020-01-09 14:09:36 +0000 | [diff] [blame^] | 122 | }}, |
| 123 | "defaultProject": "${artifactId}-gui" |
| 124 | } |