| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "designer-client": { |
| "projectType": "application", |
| "schematics": {}, |
| "root": "", |
| "sourceRoot": "src", |
| "prefix": "app", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:browser", |
| "options": { |
| "outputPath": "../server/public", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "tsconfig.app.json", |
| "aot": false, |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "src/styles.css", |
| "./node_modules/datatables.net-dt/css/jquery.dataTables.css", |
| "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
| "./node_modules/@angular/material/prebuilt-themes/purple-green.css", |
| "./node_modules/font-awesome/css/font-awesome.css", |
| "./node_modules/jointjs/css/layout.css", |
| "./node_modules/jointjs/css/themes/material.css", |
| "./node_modules/jointjs/css/themes/default.css" |
| ], |
| "scripts": [ |
| "./node_modules/jquery/dist/jquery.js", |
| "./node_modules/datatables.net/js/jquery.dataTables.js", |
| "./node_modules/bootstrap/dist/js/bootstrap.js", |
| "./node_modules/ace-builds/src-min/ace.js", |
| "./node_modules/ace-builds/src-min/theme-eclipse.js", |
| "./node_modules/ace-builds/src-min/theme-tomorrow_night_bright.js", |
| "./node_modules/ace-builds/src-min/mode-json.js", |
| "./node_modules/ace-builds/src-min/mode-javascript.js", |
| "./node_modules/ace-builds/src-min/mode-xml.js", |
| "./node_modules/ace-builds/src-min/mode-kotlin.js", |
| "./node_modules/ace-builds/src-min/mode-text.js", |
| "./node_modules/ace-builds/src-min/mode-velocity.js", |
| "./node_modules/ace-builds/src-min/mode-yaml.js", |
| "./node_modules/ace-builds/src-min/theme-vibrant_ink.js", |
| "./node_modules/ace-builds/src-min/snippets/html.js", |
| "./node_modules/ace-builds/src-min/ext-beautify.js", |
| "./node_modules/ace-builds/src-min/ext-searchbox.js", |
| "./node_modules/ace-builds/src-min/ext-language_tools.js", |
| "./node_modules/ace-builds/src-min/worker-json.js", |
| "./node_modules/ace-builds/src-min/worker-javascript.js", |
| "./node_modules/lodash/index.js", |
| "./node_modules/backbone/backbone.js", |
| "./node_modules/jointjs/dist/joint.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" |
| }, |
| { |
| "type": "anyComponentStyle", |
| "maximumWarning": "6kb", |
| "maximumError": "10kb" |
| } |
| ] |
| } |
| } |
| }, |
| "serve": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "options": { |
| "browserTarget": "designer-client:build" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "designer-client:build:production" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "designer-client: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", |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "src/styles.css", |
| "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
| "./node_modules/@angular/material/prebuilt-themes/purple-green.css", |
| "./node_modules/font-awesome/css/font-awesome.css" |
| ], |
| "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": "designer-client:serve" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "designer-client:serve:production" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "defaultProject": "designer-client" |
| } |