Created
February 25, 2020 12:40
-
-
Save PhilippMeissner/c4c8a5fda397bc54d46cc180df715e2e to your computer and use it in GitHub Desktop.
angular.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
| "version": 1, | |
| "newProjectRoot": "projects", | |
| "projects": { | |
| "XX-frontend": { | |
| "root": "", | |
| "sourceRoot": "src", | |
| "projectType": "application", | |
| "prefix": "XX", | |
| "schematics": { | |
| "@schematics/angular:component": { | |
| "styleext": "scss", | |
| "flat": false, | |
| "lintFix": true | |
| }, | |
| "@schematics/angular:service": { | |
| "lintFix": true | |
| }, | |
| "@schematics/angular:pipe": { | |
| "lintFix": true | |
| }, | |
| "@schematics/ngrx:feature": { | |
| "lintFix": true | |
| } | |
| }, | |
| "architect": { | |
| "build": { | |
| "builder": "@angular-devkit/build-angular:browser", | |
| "options": { | |
| "outputPath": "../src/interfaces/XX/dist", | |
| "index": "src/index.html", | |
| "main": "src/main.ts", | |
| "polyfills": "src/polyfills.ts", | |
| "tsConfig": "src/tsconfig.app.json", | |
| "statsJson": true, | |
| "assets": [ | |
| "src/favicon.ico", | |
| "src/assets/favicons", | |
| "src/manifest.json" | |
| ], | |
| "styles": [ | |
| "./node_modules/minireset.css/minireset.css", | |
| "src/assets/scss/styles.scss", | |
| "src/assets/scss/themes.scss" | |
| ], | |
| "stylePreprocessorOptions": { | |
| "includePaths": [ | |
| "src/assets/scss/importable" | |
| ] | |
| }, | |
| "scripts": [] | |
| }, | |
| "configurations": { | |
| "dev": { | |
| "aot": false, | |
| "assets": [ | |
| "src/favicon.ico", | |
| "src/assets/favicons", | |
| "src/manifest.json" | |
| ], | |
| "fileReplacements": [ | |
| { | |
| "replace": "src/index.html", | |
| "with": "src/index.dev.html" | |
| } | |
| ], | |
| "outputHashing": "all" | |
| }, | |
| "production": { | |
| "fileReplacements": [ | |
| { | |
| "replace": "src/environments/environment.ts", | |
| "with": "src/environments/environment.production.ts" | |
| } | |
| ], | |
| "optimization": true, | |
| "outputHashing": "all", | |
| "sourceMap": true, | |
| "extractCss": true, | |
| "namedChunks": false, | |
| "aot": true, | |
| "extractLicenses": true, | |
| "vendorChunk": false, | |
| "buildOptimizer": true, | |
| "budgets": [ | |
| { | |
| "type": "allScript", | |
| "maximumWarning": "4000kb", | |
| "maximumError": "5000kb" | |
| }, | |
| { | |
| "type": "anyScript", | |
| "maximumWarning": "1000kb", | |
| "maximumError": "6000kb" | |
| } | |
| ], | |
| "serviceWorker": true | |
| } | |
| } | |
| }, | |
| "serve": { | |
| "builder": "@angular-devkit/build-angular:dev-server", | |
| "options": { | |
| "browserTarget": "XX-frontend:build", | |
| "proxyConfig": "proxy.conf.json" | |
| }, | |
| "configurations": { | |
| "dev": { | |
| "browserTarget": "XX-frontend:build:dev" | |
| }, | |
| "production": { | |
| "browserTarget": "XX-frontend:build:production" | |
| } | |
| } | |
| }, | |
| "extract-i18n": { | |
| "builder": "@angular-devkit/build-angular:extract-i18n", | |
| "options": { | |
| "browserTarget": "XX-frontend:build" | |
| } | |
| }, | |
| "test": { | |
| "builder": "@angular-devkit/build-angular:karma", | |
| "options": { | |
| "fileReplacements": [ | |
| { | |
| "replace": "src/environments/environment.ts", | |
| "with": "src/environments/environment.test.ts" | |
| } | |
| ], | |
| "sourceMap": true, | |
| "stylePreprocessorOptions": { | |
| "includePaths": [ | |
| "src/assets/scss/importable" | |
| ] | |
| }, | |
| "codeCoverageExclude": [ | |
| "src/lib/moment/**/*", | |
| "src/polyfills.ts", | |
| "src/app/core/backend-api/gateways/**/*.*", | |
| "src/app/core/shared/white-label/themes/**/*.*" | |
| ], | |
| "main": "src/test.ts", | |
| "polyfills": "src/polyfills.ts", | |
| "tsConfig": "src/tsconfig.spec.json", | |
| "karmaConfig": "src/karma.conf.js", | |
| "styles": [], | |
| "scripts": [ | |
| "src/app/testing/global.js", | |
| "node_modules/hammerjs/hammer.js" | |
| ], | |
| "assets": [ | |
| "src/favicon.ico", | |
| "src/assets", | |
| "src/manifest.json" | |
| ] | |
| } | |
| }, | |
| "lint": { | |
| "builder": "@angular-devkit/build-angular:tslint", | |
| "options": { | |
| "tsConfig": [ | |
| "src/tsconfig.app.json", | |
| "src/tsconfig.spec.json" | |
| ], | |
| "exclude": [ | |
| "**/node_modules/**", | |
| "**/src/polyfills.ts", | |
| "**/src/test.ts" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "defaultProject": "XX-frontend", | |
| "cli": { | |
| "defaultCollection": "@ngrx/schematics" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment