|
136 | 136 | }
|
137 | 137 | }
|
138 | 138 | }
|
| 139 | + }, |
| 140 | + "mf-tools": { |
| 141 | + "projectType": "library", |
| 142 | + "root": "libs/mf-tools", |
| 143 | + "sourceRoot": "libs/mf-tools/src", |
| 144 | + "prefix": "angular-architects", |
| 145 | + "architect": { |
| 146 | + "build": { |
| 147 | + "builder": "@nrwl/angular:package", |
| 148 | + "options": { |
| 149 | + "tsConfig": "libs/mf-tools/tsconfig.lib.json", |
| 150 | + "project": "libs/mf-tools/ng-package.json" |
| 151 | + }, |
| 152 | + "configurations": { |
| 153 | + "production": { |
| 154 | + "tsConfig": "libs/mf-tools/tsconfig.lib.prod.json" |
| 155 | + } |
| 156 | + } |
| 157 | + }, |
| 158 | + "lint": { |
| 159 | + "builder": "@nrwl/linter:eslint", |
| 160 | + "options": { |
| 161 | + "lintFilePatterns": [ |
| 162 | + "libs/mf-tools/src/**/*.ts", |
| 163 | + "libs/mf-tools/src/**/*.html" |
| 164 | + ] |
| 165 | + } |
| 166 | + }, |
| 167 | + "test": { |
| 168 | + "builder": "@nrwl/jest:jest", |
| 169 | + "outputs": ["coverage/libs/mf-tools"], |
| 170 | + "options": { |
| 171 | + "jestConfig": "libs/mf-tools/jest.config.js", |
| 172 | + "passWithNoTests": true |
| 173 | + } |
| 174 | + } |
| 175 | + } |
| 176 | + }, |
| 177 | + "playground": { |
| 178 | + "projectType": "application", |
| 179 | + "root": "apps/playground", |
| 180 | + "sourceRoot": "apps/playground/src", |
| 181 | + "prefix": "angular-architects", |
| 182 | + "architect": { |
| 183 | + "build": { |
| 184 | + "builder": "@angular-devkit/build-angular:browser", |
| 185 | + "options": { |
| 186 | + "outputPath": "dist/apps/playground", |
| 187 | + "index": "apps/playground/src/index.html", |
| 188 | + "main": "apps/playground/src/main.ts", |
| 189 | + "polyfills": "apps/playground/src/polyfills.ts", |
| 190 | + "tsConfig": "apps/playground/tsconfig.app.json", |
| 191 | + "assets": [ |
| 192 | + "apps/playground/src/favicon.ico", |
| 193 | + "apps/playground/src/assets" |
| 194 | + ], |
| 195 | + "styles": ["apps/playground/src/styles.css"], |
| 196 | + "scripts": [] |
| 197 | + }, |
| 198 | + "configurations": { |
| 199 | + "production": { |
| 200 | + "budgets": [ |
| 201 | + { |
| 202 | + "type": "initial", |
| 203 | + "maximumWarning": "500kb", |
| 204 | + "maximumError": "1mb" |
| 205 | + }, |
| 206 | + { |
| 207 | + "type": "anyComponentStyle", |
| 208 | + "maximumWarning": "2kb", |
| 209 | + "maximumError": "4kb" |
| 210 | + } |
| 211 | + ], |
| 212 | + "fileReplacements": [ |
| 213 | + { |
| 214 | + "replace": "apps/playground/src/environments/environment.ts", |
| 215 | + "with": "apps/playground/src/environments/environment.prod.ts" |
| 216 | + } |
| 217 | + ], |
| 218 | + "outputHashing": "all" |
| 219 | + }, |
| 220 | + "development": { |
| 221 | + "buildOptimizer": false, |
| 222 | + "optimization": false, |
| 223 | + "vendorChunk": true, |
| 224 | + "extractLicenses": false, |
| 225 | + "sourceMap": true, |
| 226 | + "namedChunks": true |
| 227 | + } |
| 228 | + }, |
| 229 | + "defaultConfiguration": "production" |
| 230 | + }, |
| 231 | + "serve": { |
| 232 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 233 | + "configurations": { |
| 234 | + "production": { |
| 235 | + "browserTarget": "playground:build:production" |
| 236 | + }, |
| 237 | + "development": { |
| 238 | + "browserTarget": "playground:build:development" |
| 239 | + } |
| 240 | + }, |
| 241 | + "defaultConfiguration": "development" |
| 242 | + }, |
| 243 | + "extract-i18n": { |
| 244 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 245 | + "options": { |
| 246 | + "browserTarget": "playground:build" |
| 247 | + } |
| 248 | + }, |
| 249 | + "lint": { |
| 250 | + "builder": "@nrwl/linter:eslint", |
| 251 | + "options": { |
| 252 | + "lintFilePatterns": [ |
| 253 | + "apps/playground/src/**/*.ts", |
| 254 | + "apps/playground/src/**/*.html" |
| 255 | + ] |
| 256 | + } |
| 257 | + }, |
| 258 | + "test": { |
| 259 | + "builder": "@nrwl/jest:jest", |
| 260 | + "outputs": ["coverage/apps/playground"], |
| 261 | + "options": { |
| 262 | + "jestConfig": "apps/playground/jest.config.js", |
| 263 | + "passWithNoTests": true |
| 264 | + } |
| 265 | + } |
| 266 | + } |
| 267 | + }, |
| 268 | + "playground-e2e": { |
| 269 | + "root": "apps/playground-e2e", |
| 270 | + "sourceRoot": "apps/playground-e2e/src", |
| 271 | + "projectType": "application", |
| 272 | + "architect": { |
| 273 | + "e2e": { |
| 274 | + "builder": "@nrwl/cypress:cypress", |
| 275 | + "options": { |
| 276 | + "cypressConfig": "apps/playground-e2e/cypress.json", |
| 277 | + "tsConfig": "apps/playground-e2e/tsconfig.e2e.json", |
| 278 | + "devServerTarget": "playground:serve:development" |
| 279 | + }, |
| 280 | + "configurations": { |
| 281 | + "production": { |
| 282 | + "devServerTarget": "playground:serve:production" |
| 283 | + } |
| 284 | + } |
| 285 | + }, |
| 286 | + "lint": { |
| 287 | + "builder": "@nrwl/linter:eslint", |
| 288 | + "options": { |
| 289 | + "lintFilePatterns": ["apps/playground-e2e/**/*.{js,ts}"] |
| 290 | + } |
| 291 | + } |
| 292 | + } |
139 | 293 | }
|
140 | 294 | }
|
141 | 295 | }
|
0 commit comments