{
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "packages/site/src",
  "projectType": "application",
  "tags": ["scope:site"],
  "targets": {
    "build-dependencies": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "tsc --project tools/executors/tsconfig.json",
          "tsc --project packages/site/executors/tsconfig.json",
          "yarn util:base64-data --project=site"
        ]
      }
    },
    "build-base": {
      "executor": "./packages/site/executors:build-base",
      "options": {},
      "dependsOn": [
        {
          "target": "build-dependencies",
          "projects": "self"
        }
      ]
    },
    "build": {
      "executor": "@nrwl/webpack:webpack",
      "outputs": ["{options.outputPath}"],
      "options": {
        "compiler": "babel",
        "deployUrl": "/",
        "outputPath": "dist/packages/site",
        "index": "packages/site/src/index.html",
        "main": "packages/site/src/main.tsx",
        "polyfills": "packages/site/src/polyfills.ts",
        "tsConfig": "packages/site/tsconfig.app.json",
        "assets": ["packages/site/src/assets"],
        "styles": ["packages/site/src/styles.scss"],
        "scripts": [],
        "webpackConfig": "@nrwl/react/plugins/webpack"
      },
      "configurations": {
        "production": {
          "fileReplacements": [
            {
              "replace": "packages/site/src/environments/environment.ts",
              "with": "packages/site/src/environments/environment.prod.ts"
            }
          ],
          "optimization": true,
          "outputHashing": "all",
          "sourceMap": false,
          "namedChunks": false,
          "extractLicenses": true,
          "vendorChunk": false
        }
      },
      "dependsOn": [
        {
          "target": "build-base",
          "projects": "self"
        }
      ]
    },
    "serve-base": {
      "executor": "@nrwl/webpack:dev-server",
      "options": {
        "buildTarget": "site:build",
        "port": 4300,
        "open": true
      }
    },
    "serve": {
      "executor": "./tools/executors:multiple",
      "options": {
        "tasks": [
          {
            "targetDescription": {
              "project": "site",
              "target": "build-base"
            },
            "options": {
              "watch": true
            }
          },
          {
            "targetDescription": {
              "project": "site",
              "target": "serve-base"
            }
          }
        ]
      },
      "dependsOn": [
        {
          "target": "build-dependencies",
          "projects": "self"
        }
      ]
    },
    "lint": {
      "executor": "@nrwl/linter:eslint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["packages/site/**/*.{ts,tsx,js,jsx,md}"]
      }
    },
    "test": {
      "executor": "@nrwl/jest:jest",
      "outputs": ["coverage/packages/site"],
      "options": {
        "jestConfig": "packages/site/jest.config.js",
        "passWithNoTests": true
      }
    }
  }
}