{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "vendure-admin": {
      "root": "",
      "sourceRoot": "src",
      "projectType": "application",
      "prefix": "vdr",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        }
      },
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "aot": true,
            "baseHref": "/admin/",
            "outputPath": "dist",
            "index": "src/lib/static/index.html",
            "main": "src/main.ts",
            "polyfills": "src/lib/static/polyfills.ts",
            "tsConfig": "src/tsconfig.app.json",
            "assets": [
              { "glob": "**/*", "input": "src/lib/static/", "output": "/" }
            ],
            "styles": [
              "src/lib/static/styles/styles.scss"
            ],
            "stylePreprocessorOptions": {
              "includePaths": [
                "./src/lib/static/styles"
              ]
            },
            "showCircularDependencies": false,
            "allowedCommonJsDependencies": [
              "graphql-tag",
              "zen-observable",
              "lodash",
              "apollo-upload-client",
              "@vendure/common/lib/simple-deep-clone"
            ]
          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": true,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": false
            }
          }
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "vendure-admin:build"
          },
          "configurations": {
            "production": {
              "browserTarget": "vendure-admin:build:production"
            },
            "plugin": {
              "browserTarget": "vendure-admin:build:plugin-watch"
            },
            "plugin-dev": {
              "browserTarget": "vendure-admin:build:plugin-dev-watch"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "vendure-admin:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/lib/static/polyfills.ts",
            "tsConfig": "src/tsconfig.spec.json",
            "karmaConfig": "src/karma.conf.js",
            "styles": [
              "src/lib/static/styles/styles.scss"
            ],
            "scripts": [],
            "assets": [
              "src/lib/static/favicon.ico",
              "src/lib/static/assets"
            ],
            "stylePreprocessorOptions": {
              "includePaths": [
                "./src/lib/static/styles"
              ]
            }
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "src/tsconfig.app.json",
              "src/tsconfig.spec.json"
            ],
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      }
    },
    "vendure-admin-e2e": {
      "root": "e2e/",
      "projectType": "application",
      "architect": {
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "e2e/protractor.conf.js",
            "devServerTarget": "vendure-admin:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "vendure-admin:serve:production"
            }
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": "e2e/tsconfig.e2e.json",
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      }
    },
    "vendure-admin-lib": {
      "projectType": "library",
      "root": "",
      "sourceRoot": "src",
      "prefix": "vdr",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-ng-packagr:build",
          "options": {
            "tsConfig": "./tsconfig.lib.json",
            "project": "./src/lib/ng-package.json"
          },
          "configurations": {
            "production": {
              "tsConfig": "./tsconfig.lib.prod.json"
            }
          }
        }
      }
    }
  },
  "defaultProject": "vendure-admin",
  "schematics": {
    "@schematics/angular:component": {
      "skipTests": true,
      "changeDetection": "OnPush"
    }
  },
  "cli": {
    "packageManager": "yarn",
    "analytics": "61fa89f7-706a-46c0-bcdb-b1d3664195ce"
  }
}
