Angular Json
Angular Json
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"sumax-erp-frontend-carga": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-architects/native-
federation:build",
"options": {
"tsConfig": "tsconfig.app.json"
},
"configurations": {
"production": {
"target": "sumax-erp-frontend-
carga:esbuild:production"
},
"quality": {
"target": "sumax-erp-frontend-
carga:esbuild:quality"
},
"develop": {
"target": "sumax-erp-frontend-
carga:esbuild:develop"
},
"local": {
"target": "sumax-erp-frontend-
carga:esbuild:local",
"dev": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-architects/native-
federation:build",
"options": {
"target": "sumax-erp-frontend-carga:serve-
original:local",
"dev": true
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-
i18n",
"options": {
"buildTarget": "sumax-erp-frontend-carga:build"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
},
"esbuild": {
"builder": "@angular-devkit/build-
angular:application",
"options": {
"outputPath": {
"base": "dist"
},
"index": "src/index.html",
"polyfills": [
"zone.js",
"es-module-shims"
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.webmanifest"
],
"styles": [
"node_modules/@fortawesome/fontawesome-
free/css/all.min.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/perfect-scrollbar/css/perfect-scrollbar.css",
"src/assets/plugins/line-awesome/css/line-awesome.css",
"node_modules/sweetalert2/src/sweetalert2.scss",
"src/assets/plugins/flaticon/flaticon.css",
"src/assets/plugins/flaticon2/flaticon.css",
"src/assets/sass/style.angular.scss",
"node_modules/toastr/build/toastr.min.css",
"node_modules/summernote/dist/summernote-
lite.min.css",
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/perfect-scrollbar/dist/perfect-scrollbar.js",
"node_modules/sweetalert2/dist/sweetalert2.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/toastr/build/toastr.min.js",
"node_modules/jquery/dist/jquery.min.js",
"node_modules/summernote/dist/summernote-
lite.min.js"
],
"stylePreprocessorOptions": {
"includePaths": [
"src/assets",
"."
]
},
"allowedCommonJsDependencies": [
"lodash",
"xlsx",
"chart.js",
"decimal.js",
"toastr",
"object-path",
"rxjs/internal/scheduler/animationFrame"
],
"extractLicenses": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true,
"serviceWorker": "ngsw-config.json",
"browser": "src/main.ts"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace":
"src/environments/environment.ts",
"with":
"src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "5mb",
"maximumError": "7mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "12kb",
"maximumError": "15kb"
}
],
"serviceWorker": "ngsw-config.json"
},
"quality": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace":
"src/environments/environment.ts",
"with":
"src/environments/environment.qa.ts"
}
],
"serviceWorker": "ngsw-config.json"
},
"develop": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace":
"src/environments/environment.ts",
"with":
"src/environments/environment.dev.ts"
}
],
"serviceWorker": "ngsw-config.json",
"inlineStyleLanguage": "scss"
},
"local": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace":
"src/environments/environment.ts",
"with":
"src/environments/environment.local.ts"
}
],
"serviceWorker": "ngsw-config.json"
}
},
"defaultConfiguration": ""
},
"serve-original": {
"builder": "@angular-devkit/build-angular:dev-
server",
"options": {
"buildTarget": "sumax-erp-frontend-
carga:build",
"port": 4200
},
"configurations": {
"production": {
"buildTarget": "sumax-erp-frontend-
carga:esbuild:production"
},
"quality": {
"buildTarget": "sumax-erp-frontend-
carga:esbuild:quality"
},
"develop": {
"buildTarget": "sumax-erp-frontend-
carga:esbuild:develop"
},
"local": {
"buildTarget": "sumax-erp-frontend-
carga:esbuild:local"
}
}
}
}
}
},
"cli": {
"analytics": false,
"schematicCollections": [
"@angular-eslint/schematics"
]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}