{
  "$schema": "cmf-component/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "cmf-angular": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        },
        "cmf-component:form": {
          "style": "scss"
        }
      },
      "root": "",
      "sourceRoot": "modules",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/cmf-angular",
            "index": "modules/app/index.html",
            "main": "modules/app/main.ts",
            "polyfills": "modules/app/polyfills.ts",
            "tsConfig": "tsconfig.app.json",
            "preserveSymlinks": true,
            "showCircularDependencies": true,
            "aot": false,
            "allowedCommonJsDependencies": [
              "ng2-konva",
              "@sindresorhus/slugify",
              "antlr4ts",
              "lodash/escapeRegExp",
              "antlr4ts/atn/ParserATNSimulator",
              "antlr4ts/atn/LexerATNSimulator",
              "antlr4ts/atn/ATNDeserializer",
              "pdfjs-dist/legacy/web/pdf_viewer"
            ],
            "assets": [
              {
                "glob": "pdf.worker.min.js",
                "input": "modules/app/assets/",
                "output": "/pdf/"
              },
              {
                "glob": "**/*",
                "input": "custom/assets",
                "output": "/app/assets/"
              },
              "modules/app/assets",
              {
                "glob": "**/*",
                "input": "node_modules/ngx-monaco-editor/assets/monaco",
                "output": "./assets/monaco"
              },
              {
                "glob": "tiny_prism.css",
                "input": "modules/app/",
                "output": "/tinymce/"
              },
              {
                "glob": "**/*",
                "input": "common/angular/cmf-ui/cmf-editors/assets/tinymce",
                "output": "/tinymce/"
              },
              {
                "glob": "variables.css",
                "input": "modules/app/",
                "output": "/tinymce/"
              },
              {
                "glob": "**/*",
                "input": "node_modules/tinymce",
                "output": "/tinymce/"
              },
              {
                "glob": "**/*",
                "input": "common/angular/cmf-ui/cmf-editors/assets/tinymce/plugins/lists/",
                "output": "/tinymce/plugins/lists"
              },
              "modules/cmf-service-worker.js"
            ],
            "styles": [
              "modules/app/theme.scss",
              "modules/app/styles.scss"
            ],
            "scripts": [],
            "vendorChunk": true,
            "extractLicenses": false,
            "buildOptimizer": false,
            "sourceMap": true,
            "optimization": false,
            "namedChunks": true
          },
          "configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "modules/app/environments/environment.ts",
                  "with": "modules/app/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "23mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb",
                  "maximumError": "5mb"
                }
              ],
              "serviceWorker": true,
              "ngswConfigPath": "ngsw-config.json"
            },
            "production-erp": {
              "fileReplacements": [
                {
                  "replace": "modules/app/environments/environment.ts",
                  "with": "modules/app/environments/environment.prod-erp.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "15mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb",
                  "maximumError": "5mb"
                }
              ],
              "serviceWorker": true,
              "ngswConfigPath": "ngsw-config.json"
            },
            "staging": {
              "fileReplacements": [
                {
                  "replace": "modules/app/environments/environment.ts",
                  "with": "modules/app/environments/environment.staging.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "23mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb",
                  "maximumError": "5mb"
                }
              ]
            },
            "scissors": {
              "fileReplacements": [
                {
                  "replace": "modules/app/environments/environment.ts",
                  "with": "modules/app/environments/environment.staging.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": true,
              "buildOptimizer": false,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "23mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb",
                  "maximumError": "5mb"
                }
              ]
            },
            "custom": {
              "fileReplacements": [
                {
                  "replace": "modules/app/environments/environment.ts",
                  "with": "custom/environment.ts"
                }
              ]
            },
            "development": {}
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "proxyConfig": "./proxy.conf.json"
          },
          "configurations": {
            "production": {
              "browserTarget": "cmf-angular:build:production"
            },
            "custom": {
              "browserTarget": "cmf-angular:build:custom"
            },
            "development": {
              "browserTarget": "cmf-angular:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "cmf-angular:build"
          }
        },
        "test": {
          "builder": "@angular-builders/jest:run",
          "options": {
            "main": "modules/app/test.ts",
            "polyfills": "modules/app/polyfills.ts",
            "tsConfig": "tsconfig.spec.json",
            "assets": [
              "modules/app/favicon.ico",
              "modules/app/assets",
              "modules/manifest.webmanifest"
            ],
            "styles": [
              "modules/app/theme.scss",
              "modules/app/styles.scss"
            ],
            "scripts": []
          }
        },
        "lint": {
          "builder": "@angular-eslint/builder:lint",
          "options": {
            "eslintConfig": ".eslintrc.json",
            "lintFilePatterns": [
              "modules/**/*.ts",
              "modules/**/*.html",
              "common/angular/**/*.ts",
              "common/angular/**/*.html",
              "modules/api/angular/**/*.ts",
              "modules/api/angular/**/*.html"
            ]
          }
        },
        "e2e": {
          "builder": "@cypress/schematic:cypress",
          "options": {
            "devServerTarget": "cmf-angular:serve",
            "watch": true,
            "headless": false
          },
          "configurations": {
            "production": {
              "devServerTarget": "cmf-angular:serve:production"
            }
          }
        },
        "cypress-run": {
          "builder": "@cypress/schematic:cypress",
          "options": {
            "devServerTarget": "cmf-angular:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "cmf-angular:serve:production"
            }
          }
        },
        "cypress-open": {
          "builder": "@cypress/schematic:cypress",
          "options": {
            "watch": true,
            "headless": false
          }
        }
      }
    }
  },
  "defaultProject": "cmf-angular",
  "cli": {
    "analytics": false,
    "schematicCollections": [
      "@angular-eslint/schematics",
      "cmf-component"
    ]
  }
}