2018-06-13 18:34:10 +02:00
|
|
|
{
|
2018-06-19 16:55:50 +02:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"client": {
|
|
|
|
"projectType": "application",
|
2018-08-09 16:03:24 +02:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
2020-04-01 12:46:06 +02:00
|
|
|
"style": "scss"
|
2018-08-09 16:03:24 +02:00
|
|
|
}
|
|
|
|
},
|
2019-07-01 11:23:33 +02:00
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"prefix": "os",
|
2018-06-19 16:55:50 +02:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2018-10-13 08:41:51 +02:00
|
|
|
"outputPath": "../openslides/static",
|
2018-06-19 16:55:50 +02:00
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2019-07-01 11:23:33 +02:00
|
|
|
"tsConfig": "tsconfig.app.json",
|
2020-04-01 12:46:06 +02:00
|
|
|
"aot": true,
|
2019-07-01 11:23:33 +02:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/manifest.json",
|
2019-08-21 17:34:05 +02:00
|
|
|
{
|
|
|
|
"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/"
|
|
|
|
}
|
2019-07-01 11:23:33 +02:00
|
|
|
],
|
2019-02-20 13:13:34 +01:00
|
|
|
"styles": ["src/styles.scss"],
|
2019-08-01 13:23:56 +02:00
|
|
|
"scripts": ["node_modules/tinymce/tinymce.min.js"],
|
|
|
|
"webWorkerTsConfig": "tsconfig.worker.json"
|
2018-06-19 16:55:50 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2020-04-01 12:46:06 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
2018-06-19 16:55:50 +02:00
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
2019-01-16 14:04:15 +01:00
|
|
|
"buildOptimizer": true,
|
2019-07-01 11:23:33 +02:00
|
|
|
"serviceWorker": true,
|
2020-04-01 12:46:06 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "5mb",
|
|
|
|
"maximumError": "10mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
]
|
2019-08-21 17:34:05 +02:00
|
|
|
},
|
|
|
|
"es5": {
|
2020-04-01 12:46:06 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2019-08-21 17:34:05 +02:00
|
|
|
"tsConfig": "./tsconfig-es5.app.json"
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "client:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "client:build:production"
|
2019-08-21 17:34:05 +02:00
|
|
|
},
|
|
|
|
"es5": {
|
|
|
|
"browserTarget": "client:build:es5"
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "client:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2019-07-01 11:23:33 +02:00
|
|
|
"tsConfig": "tsconfig.spec.json",
|
|
|
|
"karmaConfig": "karma.conf.js",
|
2019-02-20 13:13:34 +01:00
|
|
|
"styles": ["src/styles.scss"],
|
|
|
|
"scripts": ["node_modules/tinymce/tinymce.min.js"],
|
2019-07-01 11:23:33 +02:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/manifest.json",
|
2019-08-21 17:34:05 +02:00
|
|
|
{
|
|
|
|
"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/"
|
|
|
|
}
|
2019-07-01 11:23:33 +02:00
|
|
|
]
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
2019-07-01 11:23:33 +02:00
|
|
|
"tsConfig": "tsconfig.spec.json",
|
2018-09-03 17:57:20 +02:00
|
|
|
"format": "stylish",
|
2019-02-20 13:13:34 +01:00
|
|
|
"exclude": ["**/node_modules/**"]
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
2019-07-01 11:23:33 +02:00
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "client:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "client:serve:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"defaultProject": "client"
|
|
|
|
}
|