2018-07-11 15:47:36 +02:00
|
|
|
{
|
2018-10-12 17:17:31 +02:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"dmp-frontend": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
2020-02-13 17:15:34 +01:00
|
|
|
"src/favicon.ico",
|
2020-09-11 10:02:38 +02:00
|
|
|
{ "glob": "**/*", "input": "node_modules/tinymce", "output": "/tinymce/" }
|
2018-10-12 17:17:31 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
2019-04-24 11:26:53 +02:00
|
|
|
"src/styles.scss",
|
|
|
|
"src/assets/scss/material-dashboard.scss",
|
2019-11-19 17:28:25 +01:00
|
|
|
"src/assets/css/demo.css",
|
2020-08-04 17:27:13 +02:00
|
|
|
"node_modules/cookieconsent/build/cookieconsent.min.css"
|
2018-10-12 17:17:31 +02:00
|
|
|
],
|
2019-11-19 17:28:25 +01:00
|
|
|
"scripts": [
|
2020-02-13 17:15:34 +01:00
|
|
|
"node_modules/cookieconsent/build/cookieconsent.min.js",
|
|
|
|
"node_modules/tinymce/tinymce.min.js"
|
2021-09-24 20:52:14 +02:00
|
|
|
],
|
|
|
|
"vendorChunk": true,
|
|
|
|
"extractLicenses": false,
|
|
|
|
"buildOptimizer": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"optimization": false,
|
|
|
|
"namedChunks": true
|
2018-10-12 17:17:31 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2021-09-24 20:52:14 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2018-10-12 17:17:31 +02:00
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
2019-02-15 17:36:06 +01:00
|
|
|
},
|
|
|
|
"staging": {
|
2021-09-24 20:52:14 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2019-02-15 17:36:06 +01:00
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.staging.ts"
|
|
|
|
}
|
|
|
|
]
|
2018-10-12 17:17:31 +02:00
|
|
|
}
|
2021-09-24 20:52:14 +02:00
|
|
|
},
|
|
|
|
"defaultConfiguration": ""
|
2018-10-12 17:17:31 +02:00
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "dmp-frontend:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "dmp-frontend:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "dmp-frontend:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
2019-04-24 11:26:53 +02:00
|
|
|
"src/styles.scss",
|
|
|
|
"src/assets/scss/material-dashboard.scss",
|
2020-02-13 17:15:34 +01:00
|
|
|
"src/assets/css/demo.css",
|
|
|
|
"node_modules/tinymce/tinymce.min.js"
|
2018-10-12 17:17:31 +02:00
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
2020-02-13 17:15:34 +01:00
|
|
|
"src/favicon.ico",
|
|
|
|
{ "glob": "**/*", "input": "node_modules/tinymce/skins", "output": "/tinymce/skins/" },
|
|
|
|
{ "glob": "**/*", "input": "node_modules/tinymce/themes", "output": "/tinymce/themes/" },
|
|
|
|
{ "glob": "**/*", "input": "node_modules/tinymce/plugins", "output": "/tinymce/plugins/" }
|
2018-10-12 17:17:31 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dmp-frontend-e2e": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "e2e",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.conf.js",
|
|
|
|
"devServerTarget": "dmp-frontend:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "dmp-frontend",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
2021-09-24 20:52:14 +02:00
|
|
|
"style": "scss"
|
2018-10-12 17:17:31 +02:00
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|