| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "angular-architecture-patterns": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:browser", |
| "options": { |
| "stylePreprocessorOptions": { |
| "includePaths": ["src/styles"] |
| }, |
| "outputPath": "dist", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "tsConfig": "src/tsconfig.app.json", |
| "polyfills": "src/polyfills.ts", |
| "assets": [ |
| "src/assets", |
| "src/favicon.ico", |
| "src/service-worker.js", |
| { |
| "glob": "**/*", |
| "input": "config", |
| "output": "/config" |
| }, |
| { |
| "glob": "en.json", |
| "input": "i18n", |
| "output": "/i18n" |
| }, |
| { |
| "glob": "de.json", |
| "input": "i18n", |
| "output": "/i18n" |
| } |
| ], |
| "styles": [ |
| "node_modules/bootstrap/dist/css/bootstrap.css", |
| "node_modules/font-awesome/css/font-awesome.min.css", |
| "src/styles.scss", |
| "node_modules/ngx-toastr/toastr.css" |
| ], |
| "scripts": ["node_modules/jquery/dist/jquery.min.js", "node_modules/popper.js/dist/umd/popper.min.js", "node_modules/bootstrap/dist/js/bootstrap.min.js"] |
| }, |
| "configurations": { |
| "production": { |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "extractCss": true, |
| "namedChunks": false, |
| "aot": true, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": true, |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ] |
| } |
| } |
| }, |
| "serve": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "options": { |
| "browserTarget": "angular-architecture-patterns:build" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "angular-architecture-patterns:build:production" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "angular-architecture-patterns:build" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "stylePreprocessorOptions": { |
| "includePaths": ["src/styles"] |
| }, |
| "main": "src/test.ts", |
| "karmaConfig": "./karma.conf.js", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.spec.json", |
| "scripts": [], |
| "styles": ["src/styles.scss"], |
| "codeCoverage": true, |
| "codeCoverageExclude": [ |
| "applications/*.ts", |
| "e2e/*.ts", |
| "**/*.action.*", |
| "**/*.model.*", |
| "**/*.module.*", |
| "**/*column-definition*", |
| "**/*api-client.service.*", |
| "**/lib/**/*", |
| "**/testing/**/*" |
| ], |
| "assets": [ |
| "src/assets", |
| "src/favicon.ico", |
| "src/service-worker.js", |
| { |
| "glob": "**/*", |
| "input": "config", |
| "output": "/config" |
| }, |
| { |
| "glob": "en.json", |
| "input": "i18n", |
| "output": "/i18n" |
| }, |
| { |
| "glob": "de.json", |
| "input": "i18n", |
| "output": "/i18n" |
| } |
| ] |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"], |
| "exclude": [] |
| } |
| } |
| } |
| }, |
| "angular-architecture-patterns-e2e": { |
| "root": "e2e", |
| "sourceRoot": "e2e", |
| "projectType": "application", |
| "architect": { |
| "e2e": { |
| "builder": "@angular-devkit/build-angular:protractor", |
| "options": { |
| "protractorConfig": "./protractor.conf.js", |
| "devServerTarget": "angular-architecture-patterns:serve" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": ["e2e/tsconfig.e2e.json"], |
| "exclude": [] |
| } |
| } |
| } |
| } |
| }, |
| "defaultProject": "angular-architecture-patterns", |
| "schematics": { |
| "@schematics/angular:component": { |
| "prefix": "app", |
| "styleext": "scss" |
| }, |
| "@schematics/angular:directive": { |
| "prefix": "app" |
| } |
| } |
| } |