| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "projects": { |
| "gui": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "architect": { |
| "build": { |
| "builder": "@angular-builders/custom-webpack:browser", |
| "options": { |
| "outputPath": "dist", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "tsConfig": "src/tsconfig.app.json", |
| "polyfills": ["zone.js"], |
| "assets": [ |
| "src/assets", |
| { |
| "glob": "**/*", |
| "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/", |
| "output": "/assets/" |
| } |
| ], |
| "styles": [ |
| "node_modules/jointjs/css/layout.css", |
| "node_modules/jointjs/css/themes/material.css", |
| "node_modules/jointjs/css/themes/default.css", |
| "node_modules/ng-zorro-antd/ng-zorro-antd.min.css", |
| "node_modules/ng-zorro-antd/resizable/style/index.min.css", |
| "src/styles.scss" |
| ], |
| "scripts": [ |
| "./node_modules/marked/marked.min.js" |
| ], |
| "customWebpackConfig": { |
| "path": "./custom-webpack.config.js" |
| }, |
| "allowedCommonJsDependencies": ["deep-map", "js-abbreviation-number", "dagre", "graphlib"], |
| "vendorChunk": true, |
| "extractLicenses": false, |
| "buildOptimizer": false, |
| "sourceMap": true, |
| "optimization": false, |
| "namedChunks": true |
| }, |
| "configurations": { |
| "production": { |
| "budgets": [ |
| { |
| "type": "anyComponentStyle", |
| "maximumWarning": "256kb" |
| } |
| ], |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "namedChunks": false, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": true, |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ] |
| } |
| }, |
| "defaultConfiguration": "" |
| }, |
| "serve": { |
| "builder": "@angular-builders/custom-webpack:dev-server", |
| "options": { |
| "browserTarget": "gui:build", |
| "proxyConfig": "proxy.config.json" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "gui:build:production" |
| } |
| } |
| }, |
| "test": { |
| "builder": "@angular-builders/custom-webpack:karma", |
| "options": { |
| "assets": ["src/assets"], |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.test.ts" |
| } |
| ], |
| "karmaConfig": "./karma.conf.js", |
| "main": "src/test.ts", |
| "polyfills": ["zone.js", "zone.js/testing"], |
| "styles": [ |
| "node_modules/jointjs/css/layout.css", |
| "node_modules/jointjs/css/themes/material.css", |
| "node_modules/jointjs/css/themes/default.css", |
| "src/styles.scss" |
| ], |
| "customWebpackConfig": { |
| "path": "./custom-webpack.config.js" |
| }, |
| "tsConfig": "src/tsconfig.spec.json" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-eslint/builder:lint", |
| "options": { |
| "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] |
| } |
| } |
| } |
| } |
| }, |
| "cli": { |
| "analytics": false |
| } |
| } |