| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "osee-web": { |
| "projectType": "application", |
| "schematics": { |
| "@schematics/angular:component": { |
| "style": "sass" |
| }, |
| "@schematics/angular:application": { |
| "strict": true |
| } |
| }, |
| "root": "", |
| "sourceRoot": "src", |
| "prefix": "app", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:browser", |
| "options": { |
| "outputPath": "dist/osee", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "tsconfig.app.json", |
| "aot": true, |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "src/custom-theme.scss", |
| "src/styles.sass" |
| ], |
| "scripts": [] |
| }, |
| "configurations": { |
| "5":{ |
| "outputPath": "dist/osee/5_local", |
| "fileReplacements": [ |
| { |
| "replace": "/src/environments/proxy.conf.json", |
| "with": "src/environments/proxy.conf.5.json" |
| } |
| ] |
| }, |
| "8":{ |
| "outputPath": "dist/osee/8_local", |
| "fileReplacements": [ |
| { |
| "replace": "/src/environments/proxy.conf.json", |
| "with": "src/environments/proxy.conf.8.json" |
| } |
| ] |
| }, |
| "production": { |
| "outputPath": "dist/osee/production", |
| "baseHref": "/osee/", |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ], |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "namedChunks": false, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": true, |
| "budgets": [ |
| { |
| "type": "initial", |
| "maximumWarning": "500kb", |
| "maximumError": "1mb" |
| }, |
| { |
| "type": "anyComponentStyle", |
| "maximumWarning": "2kb", |
| "maximumError": "4kb" |
| } |
| ] |
| } |
| } |
| }, |
| "serve": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "options": { |
| "browserTarget": "osee-web:build", |
| "proxyConfig":"src/environments/proxy.conf.json" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "osee-web:build:production" |
| }, |
| "5":{ |
| "browserTarget": "osee-web:build:5", |
| "proxyConfig":"src/environments/proxy.conf.5.json" |
| }, |
| "8":{ |
| "browserTarget": "osee-web:build:8", |
| "proxyConfig":"src/environments/proxy.conf.8.json" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "osee-web:build" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "src/test.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "tsconfig.spec.json", |
| "karmaConfig": "karma.conf.js", |
| "codeCoverageExclude": [ |
| "src/app/ple/plconfig/types/**", |
| "src/app/ple/plconfig/testing/**", |
| "src/app/ple/messaging/connection-view/mock/**", |
| "**/*.mock.*" |
| ], |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "src/styles.sass" |
| ], |
| "scripts": [] |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "tsconfig.app.json", |
| "tsconfig.spec.json", |
| "e2e/tsconfig.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| }, |
| "e2e": { |
| "builder": "@angular-devkit/build-angular:protractor", |
| "options": { |
| "protractorConfig": "e2e/protractor.conf.js", |
| "devServerTarget": "osee-web:serve" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "osee-web:serve:production" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "defaultProject": "osee-web" |
| } |