blob: c81813ddfa2350bbb96e3ea67b4908eaac7e9e76 [file] [log] [blame]
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"helix-front": {
"root": "",
"sourceRoot": "client",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/public",
"index": "client/index.html",
"main": "client/main.ts",
"tsConfig": "client/tsconfig.app.json",
"polyfills": "client/polyfills.ts",
"assets": [
"client/assets",
"client/favicon.ico",
{
"glob": "**/*",
"input": "node_modules/ace-builds/src-min/",
"output": "/"
}
],
"styles": ["client/styles.scss", "client/theme.scss"],
"scripts": [
"node_modules/ace-builds/src-min/ace.js",
"node_modules/ace-builds/src-min/theme-eclipse.js",
"node_modules/ace-builds/src-min/theme-chrome.js",
"node_modules/ace-builds/src-min/mode-javascript.js",
"node_modules/ace-builds/src-min/mode-html.js",
"node_modules/ace-builds/src-min/mode-css.js",
"node_modules/ace-builds/src-min/mode-json.js"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "4824kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "client/environments/environment.ts",
"with": "client/environments/environment.prod.ts"
}
]
},
"development": {}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"proxyConfig": "./proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "helix-front:build:production"
},
"development": {
"browserTarget": "helix-front:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "helix-front:build"
}
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"main": ["setupJest.ts"],
"tsConfig": "client/tsconfig.spec.json",
"polyfills": ["client/polyfills.ts"],
"no-cache": true,
"scripts": [
"node_modules/ace-builds/src-min/ace.js",
"node_modules/ace-builds/src-min/theme-eclipse.js",
"node_modules/ace-builds/src-min/mode-javascript.js",
"node_modules/ace-builds/src-min/mode-html.js",
"node_modules/ace-builds/src-min/mode-css.js",
"node_modules/ace-builds/src-min/mode-json.js"
],
"styles": ["client/styles.scss", "client/theme.scss"],
"assets": ["client/assets", "client/favicon.ico"]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"client/tsconfig.app.json",
"client/tsconfig.spec.json",
"cypress/tsconfig.json"
],
"exclude": [],
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "helix-front:serve"
},
"configurations": {
"production": {
"devServerTarget": "helix-front:serve:production"
}
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false
}
},
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "helix-front:serve",
"watch": true,
"headless": false,
"tsConfig": "cypress/tsconfig.json"
},
"configurations": {
"production": {
"devServerTarget": "helix-front:serve:production"
}
}
}
}
},
"helix-front-e2e": {
"root": "cypress",
"sourceRoot": "cypress",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "helix-front-e2e:serve",
"watch": true,
"headless": false
},
"configurations": {
"production": {
"devServerTarget": "helix-front-e2e:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["cypress/**/*.ts", "cypress/**/*.html"]
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "helix-front-e2e:serve",
"configFile": "./cypress.config.ts"
},
"configurations": {
"production": {
"devServerTarget": "helix-front-e2e:serve:production"
}
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false,
"configFile": "./cypress.config.js"
}
}
}
}
},
"defaultProject": "helix-front",
"schematics": {
"@schematics/angular:component": {
"prefix": "hi",
"style": "scss"
},
"@schematics/angular:directive": {
"prefix": "hi"
}
},
"cli": {
"defaultCollection": "@angular-eslint/schematics"
}
}