| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "portal-FE-os": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "prefix": "app", |
| "schematics": { |
| "@schematics/angular:component": { |
| "prefix": "app", |
| "styleext": "scss" |
| } |
| }, |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:browser", |
| "options": { |
| "outputPath": "dist/public", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.app.json", |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "node_modules/ionicons/dist/scss/ionicons.scss", |
| "node_modules/material-design-icons-iconfont/dist/material-design-icons.css", |
| "node_modules/jqtree/jqtree.css", |
| "src/styles/app.scss" |
| ], |
| "scripts": [ |
| "node_modules/jquery/dist/jquery.min.js", |
| "node_modules/hammerjs/hammer.min.js", |
| "node_modules/jqtree/tree.jquery.js", |
| "node_modules/systemjs/dist/s.js", |
| "node_modules/systemjs/dist/extras/named-register.js", |
| "node_modules/systemjs/dist/extras/amd.js", |
| "src/app/shared/utils/utils.js" |
| ] |
| }, |
| "configurations": { |
| "production": { |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ], |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "extractCss": true, |
| "namedChunks": false, |
| "aot": true, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": true, |
| "budgets": [ |
| { |
| "type": "initial", |
| "maximumWarning": "2mb", |
| "maximumError": "5mb" |
| } |
| ] |
| } |
| } |
| }, |
| "serve": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "options": { |
| "browserTarget": "portal-FE-os:build" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "portal-FE-os:build:production" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "portal-FE-os:build" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "src/test.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.spec.json", |
| "karmaConfig": "src/karma.conf.js", |
| "styles": [ |
| "node_modules/ionicons/dist/scss/ionicons.scss", |
| "node_modules/material-design-icons-iconfont/dist/material-design-icons.css", |
| "node_modules/jqtree/jqtree.css", |
| "src/styles/app.scss" |
| ], |
| "scripts": [ |
| "node_modules/jquery/dist/jquery.min.js", |
| "node_modules/hammerjs/hammer.min.js", |
| "node_modules/jqtree/tree.jquery.js", |
| "node_modules/systemjs/dist/s.js", |
| "node_modules/systemjs/dist/extras/named-register.js", |
| "node_modules/systemjs/dist/extras/amd.js", |
| "src/app/shared/utils/utils.js" |
| ], |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ] |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "src/tsconfig.app.json", |
| "src/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "portal-FE-os-e2e": { |
| "root": "e2e/", |
| "projectType": "application", |
| "prefix": "", |
| "architect": { |
| "e2e": { |
| "builder": "@angular-devkit/build-angular:protractor", |
| "options": { |
| "protractorConfig": "e2e/protractor.conf.js", |
| "devServerTarget": "portal-FE-os:serve" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "portal-FE-os:serve:production" |
| } |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": "e2e/tsconfig.e2e.json", |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| } |
| }, |
| "defaultProject": "portal-FE-os" |
| } |