Sean Condon | 5ca0026 | 2018-09-06 17:55:25 +0100 | [diff] [blame] | 1 | { |
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | "version": 1, |
| 4 | "newProjectRoot": "projects", |
| 5 | "projects": { |
| 6 | "gui2-fw-lib-app": { |
| 7 | "root": "", |
| 8 | "sourceRoot": "src", |
| 9 | "projectType": "application", |
| 10 | "prefix": "app", |
| 11 | "schematics": {}, |
| 12 | "architect": { |
| 13 | "build": { |
| 14 | "builder": "@angular-devkit/build-angular:browser", |
| 15 | "options": { |
| 16 | "outputPath": "dist/gui2-fw-lib-app", |
| 17 | "index": "src/index.html", |
| 18 | "main": "src/main.ts", |
| 19 | "polyfills": "src/polyfills.ts", |
| 20 | "tsConfig": "src/tsconfig.app.json", |
| 21 | "assets": [ |
| 22 | "src/favicon.ico", |
| 23 | "src/assets" |
| 24 | ], |
| 25 | "styles": [ |
| 26 | "src/styles.css" |
| 27 | ], |
| 28 | "scripts": [] |
| 29 | }, |
| 30 | "configurations": { |
| 31 | "production": { |
| 32 | "fileReplacements": [ |
| 33 | { |
| 34 | "replace": "src/environments/environment.ts", |
| 35 | "with": "src/environments/environment.prod.ts" |
| 36 | } |
| 37 | ], |
| 38 | "optimization": true, |
| 39 | "outputHashing": "all", |
| 40 | "sourceMap": false, |
| 41 | "extractCss": true, |
| 42 | "namedChunks": false, |
| 43 | "aot": true, |
| 44 | "extractLicenses": true, |
| 45 | "vendorChunk": false, |
| 46 | "buildOptimizer": true |
| 47 | } |
| 48 | } |
| 49 | }, |
| 50 | "serve": { |
| 51 | "builder": "@angular-devkit/build-angular:dev-server", |
| 52 | "options": { |
| 53 | "browserTarget": "gui2-fw-lib-app:build" |
| 54 | }, |
| 55 | "configurations": { |
| 56 | "production": { |
| 57 | "browserTarget": "gui2-fw-lib-app:build:production" |
| 58 | } |
| 59 | } |
| 60 | }, |
| 61 | "extract-i18n": { |
| 62 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 63 | "options": { |
| 64 | "browserTarget": "gui2-fw-lib-app:build" |
| 65 | } |
| 66 | }, |
| 67 | "test": { |
| 68 | "builder": "@angular-devkit/build-angular:karma", |
| 69 | "options": { |
| 70 | "main": "src/test.ts", |
| 71 | "polyfills": "src/polyfills.ts", |
| 72 | "tsConfig": "src/tsconfig.spec.json", |
| 73 | "karmaConfig": "src/karma.conf.js", |
| 74 | "styles": [ |
| 75 | "styles.css" |
| 76 | ], |
| 77 | "scripts": [], |
| 78 | "assets": [ |
| 79 | "src/favicon.ico", |
| 80 | "src/assets" |
| 81 | ] |
| 82 | } |
| 83 | }, |
| 84 | "lint": { |
| 85 | "builder": "@angular-devkit/build-angular:tslint", |
| 86 | "options": { |
| 87 | "tsConfig": [ |
| 88 | "src/tsconfig.app.json", |
| 89 | "src/tsconfig.spec.json" |
| 90 | ], |
| 91 | "exclude": [ |
| 92 | "**/node_modules/**" |
| 93 | ] |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | }, |
| 98 | "gui2-fw-lib-app-e2e": { |
| 99 | "root": "e2e/", |
| 100 | "projectType": "application", |
| 101 | "architect": { |
| 102 | "e2e": { |
| 103 | "builder": "@angular-devkit/build-angular:protractor", |
| 104 | "options": { |
| 105 | "protractorConfig": "e2e/protractor.conf.js", |
| 106 | "devServerTarget": "gui2-fw-lib-app:serve" |
| 107 | } |
| 108 | }, |
| 109 | "lint": { |
| 110 | "builder": "@angular-devkit/build-angular:tslint", |
| 111 | "options": { |
| 112 | "tsConfig": "e2e/tsconfig.e2e.json", |
| 113 | "exclude": [ |
| 114 | "**/node_modules/**" |
| 115 | ] |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | }, |
| 120 | "gui2-fw-lib": { |
| 121 | "root": "projects/gui2-fw-lib", |
| 122 | "sourceRoot": "projects/gui2-fw-lib/src", |
| 123 | "projectType": "library", |
| 124 | "prefix": "onos", |
| 125 | "architect": { |
| 126 | "build": { |
| 127 | "builder": "@angular-devkit/build-ng-packagr:build", |
| 128 | "options": { |
| 129 | "tsConfig": "projects/gui2-fw-lib/tsconfig.lib.json", |
| 130 | "project": "projects/gui2-fw-lib/ng-package.json" |
| 131 | }, |
| 132 | "configurations": { |
| 133 | "production": { |
| 134 | "project": "projects/gui2-fw-lib/ng-package.prod.json" |
| 135 | } |
| 136 | } |
| 137 | }, |
| 138 | "test": { |
| 139 | "builder": "@angular-devkit/build-angular:karma", |
| 140 | "options": { |
| 141 | "main": "projects/gui2-fw-lib/src/test.ts", |
| 142 | "tsConfig": "projects/gui2-fw-lib/tsconfig.spec.json", |
| 143 | "karmaConfig": "projects/gui2-fw-lib/karma.conf.js" |
| 144 | } |
| 145 | }, |
| 146 | "lint": { |
| 147 | "builder": "@angular-devkit/build-angular:tslint", |
| 148 | "options": { |
| 149 | "tsConfig": [ |
| 150 | "projects/gui2-fw-lib/tsconfig.lib.json", |
| 151 | "projects/gui2-fw-lib/tsconfig.spec.json" |
| 152 | ], |
| 153 | "exclude": [ |
| 154 | "**/node_modules/**" |
| 155 | ] |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | }, |
| 161 | "defaultProject": "gui2-fw-lib-app" |
| 162 | } |