{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "trains-webapp": { "root": "", "sourceRoot": "src", "prefix": "sm", "projectType": "application", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "aot": true, "preserveSymlinks": true, "outputPath": "build", "index": "src/index.html", "main": "src/main.ts", "tsConfig": "src/tsconfig.app.json", "polyfills": "src/polyfills.ts", "stylePreprocessorOptions": { "includePaths": [ "src/app/webapp-common/shared/ui-components/styles/" ] }, "assets": [ "src/assets", "src/favicon.ico", "src/app/webapp-common/assets", { "glob": "**/*", "input": "node_modules/ace-builds/src-min", "output": "./assets/ace-builds/" } ], "styles": [ "node_modules/primeicons/primeicons.css", "node_modules/primeng/resources/components/table/table.css", "node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css", "src/styles.scss", "src/fonts.scss" ], "allowedCommonJsDependencies": [ "lodash/fp", "ansi-to-html", "has-ansi", "amazon-s3-uri", "aws-sdk/clients/s3", "fabric/dist/fabric.min", "url", "entities", "string-to-color", "ace-builds/webpack-resolver" ], "scripts": [ "node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js", "node_modules/ngx-markdown-editor/assets/marked.min.js" ] }, "configurations": { "appdev": { "budgets": [ { "type": "anyComponentStyle", "maximumWarning": "6kb" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.dev.ts" } ] }, "demo": { "budgets": [ { "type": "anyComponentStyle", "maximumWarning": "6kb" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.demo.ts" } ] }, "guest": { "budgets": [ { "type": "anyComponentStyle", "maximumWarning": "6kb" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.ignite.ts" } ] }, "community": { "budgets": [ { "type": "anyComponentStyle", "maximumWarning": "6kb" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.community.ts" } ] }, "production": { "budgets": [ { "type": "anyComponentStyle", "maximumWarning": "6kb" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "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": "trains-webapp:build" }, "configurations": { "appdev": { "browserTarget": "trains-webapp:build:appdev" }, "staging": { "browserTarget": "trains-webapp:build:demo" }, "production": { "browserTarget": "trains-webapp:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "trains-webapp:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "main": "src/test.ts", "karmaConfig": "./karma.conf.js", "polyfills": "src/polyfills.ts", "stylePreprocessorOptions": { "includePaths": [ "src/app/webapp-common/shared/ui-components/styles/" ] }, "tsConfig": "src/tsconfig.spec.json", "styles": [ "src/styles.scss" ], "assets": [ "src/assets", "src/favicon.ico", "src/app/webapp-common/assets" ] } }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": [ "src/**/*.ts", "src/**/*.html" ] } } } }, "trains-webapp-e2e": { "root": "", "sourceRoot": "", "projectType": "application", "architect": { "e2e": { "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "./protractor.conf.js", "devServerTarget": "trains-webapp:serve" } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "e2e/tsconfig.e2e.json" ], "exclude": [ "**/node_modules/**" ] } } } } }, "defaultProject": "trains-webapp", "schematics": { "@schematics/angular:component": { "prefix": "sm", "style": "scss" } } }