293 lines
8.7 KiB
JSON
293 lines
8.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"monitor-dashboard": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"schematics": {
|
|
"@schematics/angular:class": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:component": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:guard": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:module": {
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:service": {
|
|
"skipTests": true
|
|
}
|
|
},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/monitor-dashboard/browser",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/robots.txt"
|
|
],
|
|
"styles": [
|
|
"src/styles.less",
|
|
"src/assets/common-assets/library-css/material.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/uikit/dist/js/uikit.min.js",
|
|
"node_modules/uikit/dist/js/uikit-icons.min.js",
|
|
"node_modules/jquery/dist/jquery.js"
|
|
],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"beta": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"assets": [
|
|
"src/assets",
|
|
{
|
|
"input": "src/prod/",
|
|
"output": "/",
|
|
"glob": "*.txt"
|
|
}
|
|
],
|
|
"index": {
|
|
"input": "src/prod/index.html",
|
|
"output": "index.html"
|
|
},
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "monitor-dashboard:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "monitor-dashboard:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "monitor-dashboard:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"karmaConfig": "src/karma.conf.js",
|
|
"styles": [
|
|
"src/styles.less"
|
|
],
|
|
"scripts": [],
|
|
"assets": [
|
|
"src/assets"
|
|
]
|
|
}
|
|
},
|
|
"server": {
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
"options": {
|
|
"outputPath": "dist/monitor-dashboard/server",
|
|
"main": "server.ts",
|
|
"tsConfig": "src/tsconfig.server.json",
|
|
"sourceMap": true,
|
|
"optimization": false
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"outputHashing": "media",
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
},
|
|
"beta": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
},
|
|
"production": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve-ssr": {
|
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
|
"options": {
|
|
"browserTarget": "monitor-dashboard:build",
|
|
"serverTarget": "monitor-dashboard:server"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "monitor-dashboard:build:production",
|
|
"serverTarget": "monitor-dashboard:server:production"
|
|
}
|
|
}
|
|
},
|
|
"prerender": {
|
|
"builder": "@nguniversal/builders:prerender",
|
|
"options": {
|
|
"browserTarget": "monitor-dashboard:build:production",
|
|
"serverTarget": "monitor-dashboard:server:production",
|
|
"routes": [
|
|
"/"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"monitor-dashboard-e2e": {
|
|
"root": "e2e/",
|
|
"projectType": "application",
|
|
"prefix": "",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "monitor-dashboard:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "monitor-dashboard:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|