blob: 331b7a051fa49e509c53f7a734cfabe40e0093ae [file] [log] [blame]
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"osee-web": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "sass",
"standalone": true
},
"@schematics/angular:application": {
"strict": true
},
"@schematics/angular:directive": {
"standalone": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "osee",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/osee",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"stylePreprocessorOptions": {
"includePaths": [
"src",
"src/sass-utils/",
"src/modern-ple-theme"
]
},
"styles": [
"src/assets/iconassets/material-icons.css",
"src/custom-theme.scss",
"src/styles.sass"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"5": {
"outputPath": "dist/osee/5_local",
"fileReplacements": [
{
"replace": "/src/environments/proxy.conf.json",
"with": "src/environments/proxy.conf.5.json"
}
]
},
"8": {
"outputPath": "dist/osee/8_local",
"fileReplacements": [
{
"replace": "/src/environments/proxy.conf.json",
"with": "src/environments/proxy.conf.8.json"
}
]
},
"production": {
"outputPath": "dist/osee/production",
"baseHref": "/osee/",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"assets": [
"src/favicon.ico",
"src/assets",
{
"input": "src/assets_prod/help/mim",
"output": "assets/help/mim",
"glob": "*"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "8kb"
}
]
},
"demo": {
"outputPath": "dist/osee/production",
"baseHref": "/osee/",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.demo.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "8kb"
}
]
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "osee-web:build",
"proxyConfig": "src/environments/proxy.conf.json"
},
"configurations": {
"5": {
"browserTarget": "osee-web:build:5",
"proxyConfig": "src/environments/proxy.conf.5.json"
},
"8": {
"browserTarget": "osee-web:build:8",
"proxyConfig": "src/environments/proxy.conf.8.json"
},
"production": {
"browserTarget": "osee-web:build:production"
},
"demo": {
"browserTarget": "osee-web:build:demo",
"proxyConfig": "src/environments/proxy.conf.json"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "osee-web:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"codeCoverageExclude": [
"src/app/ple/plconfig/types/**",
"src/app/ple/plconfig/testing/**",
"src/app/ple/messaging/connection-view/mock/**",
"**/*.mock.*",
"**/*.harness.*"
],
"stylePreprocessorOptions": {
"includePaths": [
"src",
"src/sass-utils/",
"src/modern-ple-theme"
]
},
"codeCoverage": true,
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.sass"],
"scripts": []
}
},
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "osee-web:serve",
"watch": true,
"headless": false
},
"configurations": {
"production": {
"devServerTarget": "osee-web:serve:production"
}
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "osee-web:serve"
},
"configurations": {
"production": {
"devServerTarget": "osee-web:serve:production"
}
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
}
},
"cli": {
"schematicCollections": ["@angular-eslint/schematics"]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}