|
94 | 94 | } |
95 | 95 | } |
96 | 96 | }, |
| 97 | + "example-app-karma": { |
| 98 | + "projectType": "application", |
| 99 | + "root": "apps/example-app-karma", |
| 100 | + "sourceRoot": "apps/example-app-karma/src", |
| 101 | + "prefix": "app", |
| 102 | + "schematics": {}, |
| 103 | + "architect": { |
| 104 | + "build": { |
| 105 | + "builder": "@angular-devkit/build-angular:browser", |
| 106 | + "options": { |
| 107 | + "outputPath": "dist/apps/example-app-karma", |
| 108 | + "index": "apps/example-app-karma/src/index.html", |
| 109 | + "main": "apps/example-app-karma/src/main.ts", |
| 110 | + "polyfills": "apps/example-app-karma/src/polyfills.ts", |
| 111 | + "tsConfig": "apps/example-app-karma/tsconfig.app.json", |
| 112 | + "assets": ["apps/example-app-karma/src/favicon.ico", "apps/example-app-karma/src/assets"], |
| 113 | + "styles": [], |
| 114 | + "scripts": [], |
| 115 | + "vendorChunk": true, |
| 116 | + "extractLicenses": false, |
| 117 | + "buildOptimizer": false, |
| 118 | + "sourceMap": true, |
| 119 | + "optimization": false, |
| 120 | + "namedChunks": true |
| 121 | + }, |
| 122 | + "configurations": { |
| 123 | + "production": { |
| 124 | + "budgets": [ |
| 125 | + { |
| 126 | + "type": "anyComponentStyle", |
| 127 | + "maximumWarning": "6kb" |
| 128 | + } |
| 129 | + ], |
| 130 | + "fileReplacements": [ |
| 131 | + { |
| 132 | + "replace": "apps/example-app-karma/src/environments/environment.ts", |
| 133 | + "with": "apps/example-app-karma/src/environments/environment.prod.ts" |
| 134 | + } |
| 135 | + ], |
| 136 | + "optimization": true, |
| 137 | + "outputHashing": "all", |
| 138 | + "sourceMap": false, |
| 139 | + "namedChunks": false, |
| 140 | + "extractLicenses": true, |
| 141 | + "vendorChunk": false, |
| 142 | + "buildOptimizer": true |
| 143 | + } |
| 144 | + }, |
| 145 | + "outputs": ["{options.outputPath}"] |
| 146 | + }, |
| 147 | + "serve": { |
| 148 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 149 | + "options": { |
| 150 | + "browserTarget": "example-app-karma:build" |
| 151 | + }, |
| 152 | + "configurations": { |
| 153 | + "production": { |
| 154 | + "browserTarget": "example-app-karma:build:production" |
| 155 | + } |
| 156 | + } |
| 157 | + }, |
| 158 | + "lint": { |
| 159 | + "builder": "@nrwl/linter:eslint", |
| 160 | + "options": { |
| 161 | + "lintFilePatterns": [ |
| 162 | + "apps/example-app-karma/**/*.ts", |
| 163 | + "apps/example-app-karma/**/*.html", |
| 164 | + "apps/example-app-karma/src/**/*.html", |
| 165 | + "apps/example-app-karma/src/**/*.html", |
| 166 | + "apps/example-app-karma/src/**/*.html" |
| 167 | + ] |
| 168 | + } |
| 169 | + }, |
| 170 | + "test": { |
| 171 | + "builder": "@angular-devkit/build-angular:karma", |
| 172 | + "options": { |
| 173 | + "main": "apps/example-app-karma/src/test.ts", |
| 174 | + "tsConfig": "apps/example-app-karma/tsconfig.spec.json", |
| 175 | + "polyfills": "apps/example-app-karma/src/polyfills.ts", |
| 176 | + "karmaConfig": "apps/example-app-karma/karma.conf.js", |
| 177 | + "styles": [], |
| 178 | + "scripts": [], |
| 179 | + "assets": [] |
| 180 | + } |
| 181 | + } |
| 182 | + } |
| 183 | + }, |
97 | 184 | "testing-library": { |
98 | 185 | "root": "projects/testing-library", |
99 | 186 | "sourceRoot": "projects/testing-library/src", |
|
0 commit comments