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