{
  "name": "client",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "projectType": "application",
  "generators": {
    "@schematics/angular:component": {
      "style": "scss"
    }
  },
  "sourceRoot": "apps/client/src",
  "prefix": "gf",
  "targets": {
    "build": {
      "executor": "@nx/angular:webpack-browser",
      "options": {
        "localize": true,
        "outputPath": "dist/apps/client",
        "index": "apps/client/src/index.html",
        "main": "apps/client/src/main.ts",
        "polyfills": "apps/client/src/polyfills.ts",
        "tsConfig": "apps/client/tsconfig.app.json",
        "assets": [],
        "styles": [
          "apps/client/src/styles/theme.scss",
          "apps/client/src/styles.scss"
        ],
        "scripts": ["node_modules/marked/marked.min.js"],
        "vendorChunk": true,
        "extractLicenses": false,
        "buildOptimizer": false,
        "sourceMap": true,
        "optimization": false,
        "namedChunks": true,
        "serviceWorker": true,
        "ngswConfigPath": "apps/client/ngsw-config.json"
      },
      "configurations": {
        "development-de": {
          "baseHref": "/de/",
          "localize": ["de"]
        },
        "development-en": {
          "baseHref": "/en/",
          "localize": ["en"]
        },
        "development-es": {
          "baseHref": "/es/",
          "localize": ["es"]
        },
        "development-fr": {
          "baseHref": "/fr/",
          "localize": ["fr"]
        },
        "development-it": {
          "baseHref": "/it/",
          "localize": ["it"]
        },
        "development-nl": {
          "baseHref": "/nl/",
          "localize": ["nl"]
        },
        "development-pt": {
          "baseHref": "/pt/",
          "localize": ["pt"]
        },
        "production": {
          "fileReplacements": [
            {
              "replace": "apps/client/src/environments/environment.ts",
              "with": "apps/client/src/environments/environment.prod.ts"
            }
          ],
          "optimization": true,
          "outputHashing": "all",
          "sourceMap": false,
          "namedChunks": false,
          "extractLicenses": true,
          "vendorChunk": false,
          "buildOptimizer": true,
          "budgets": [
            {
              "type": "initial",
              "maximumWarning": "2mb",
              "maximumError": "5mb"
            },
            {
              "type": "anyComponentStyle",
              "maximumWarning": "6kb",
              "maximumError": "10kb"
            }
          ]
        }
      },
      "outputs": ["{options.outputPath}"],
      "defaultConfiguration": ""
    },
    "copy-assets": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          {
            "command": "mkdir -p dist/apps/client"
          },
          {
            "command": "cp -r apps/client/src/assets dist/apps/client"
          },
          {
            "command": "cp -r apps/client/src/assets/.well-known dist/apps/client"
          },
          {
            "command": "cp apps/client/src/assets/favicon.ico dist/apps/client"
          },
          {
            "command": "cp apps/client/src/assets/index.html dist/apps/client"
          },
          {
            "command": "cp apps/client/src/assets/robots.txt dist/apps/client"
          },
          {
            "command": "cp apps/client/src/assets/site.webmanifest dist/apps/client"
          },
          {
            "command": "cp node_modules/ionicons/dist/index.js dist/apps/client"
          },
          {
            "command": "cp node_modules/ionicons/dist/ionicons.js dist/apps/client"
          },
          {
            "command": "cp -r node_modules/ionicons/dist/ionicons dist/apps/client/ionicons"
          },
          {
            "command": "cp CHANGELOG.md dist/apps/client/assets"
          },
          {
            "command": "cp LICENSE dist/apps/client/assets"
          }
        ]
      }
    },
    "serve": {
      "executor": "@nx/angular:webpack-dev-server",
      "options": {
        "browserTarget": "client:build",
        "proxyConfig": "apps/client/proxy.conf.json"
      },
      "configurations": {
        "development-de": {
          "browserTarget": "client:build:development-de"
        },
        "development-en": {
          "browserTarget": "client:build:development-en"
        },
        "development-es": {
          "browserTarget": "client:build:development-es"
        },
        "development-fr": {
          "browserTarget": "client:build:development-fr"
        },
        "development-it": {
          "browserTarget": "client:build:development-it"
        },
        "development-nl": {
          "browserTarget": "client:build:development-nl"
        },
        "development-pt": {
          "browserTarget": "client:build:development-pt"
        },
        "production": {
          "browserTarget": "client:build:production"
        }
      }
    },
    "extract-i18n": {
      "executor": "ng-extract-i18n-merge:ng-extract-i18n-merge",
      "options": {
        "browserTarget": "client:build",
        "includeContext": true,
        "outputPath": "src/locales",
        "targetFiles": [
          "messages.de.xlf",
          "messages.es.xlf",
          "messages.fr.xlf",
          "messages.it.xlf",
          "messages.nl.xlf",
          "messages.pt.xlf"
        ]
      }
    },
    "lint": {
      "executor": "@nrwl/linter:eslint",
      "options": {
        "lintFilePatterns": ["apps/client/**/*.ts"]
      }
    },
    "test": {
      "executor": "@nx/jest:jest",
      "options": {
        "jestConfig": "apps/client/jest.config.ts",
        "passWithNoTests": true
      },
      "outputs": ["{workspaceRoot}/coverage/apps/client"]
    }
  },
  "i18n": {
    "locales": {
      "de": {
        "baseHref": "/de/",
        "translation": "apps/client/src/locales/messages.de.xlf"
      },
      "es": {
        "baseHref": "/es/",
        "translation": "apps/client/src/locales/messages.es.xlf"
      },
      "fr": {
        "baseHref": "/fr/",
        "translation": "apps/client/src/locales/messages.fr.xlf"
      },
      "it": {
        "baseHref": "/it/",
        "translation": "apps/client/src/locales/messages.it.xlf"
      },
      "nl": {
        "baseHref": "/nl/",
        "translation": "apps/client/src/locales/messages.nl.xlf"
      },
      "pt": {
        "baseHref": "/pt/",
        "translation": "apps/client/src/locales/messages.pt.xlf"
      }
    },
    "sourceLocale": "en"
  },
  "tags": []
}