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": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2018-09-03 17:57:20 +02:00
|
|
|
"prefix": "os",
|
2018-08-09 16:03:24 +02:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"styleext": "scss"
|
|
|
|
}
|
|
|
|
},
|
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",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
2019-01-16 14:04:15 +01:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/manifest.json"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/styles.scss",
|
|
|
|
"node_modules/material-design-icons/iconfont/material-icons.css"
|
|
|
|
],
|
2018-11-20 13:31:56 +01:00
|
|
|
"scripts": [
|
|
|
|
"node_modules/tinymce/tinymce.min.js",
|
|
|
|
"node_modules/tinymce/themes/modern/theme.js",
|
|
|
|
"node_modules/tinymce/plugins/autolink/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/charmap/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/code/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/colorpicker/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/fullscreen/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/image/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/imagetools/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/lists/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/link/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/paste/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/preview/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/searchreplace/plugin.js",
|
|
|
|
"node_modules/tinymce/plugins/textcolor/plugin.js"
|
|
|
|
]
|
2018-06-19 16:55:50 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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,
|
|
|
|
"serviceWorker": true
|
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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"karmaConfig": "src/karma.conf.js",
|
2019-01-16 14:04:15 +01:00
|
|
|
"styles": [
|
|
|
|
"src/styles.scss"
|
|
|
|
],
|
2018-11-20 13:31:56 +01:00
|
|
|
"scripts": [
|
|
|
|
"node_modules/tinymce/tinymce.min.js"
|
|
|
|
],
|
2019-01-16 14:04:15 +01:00
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/manifest.json"
|
|
|
|
]
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
2018-09-03 17:57:20 +02:00
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"format": "stylish",
|
2019-01-16 14:04:15 +01:00
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"client-e2e": {
|
|
|
|
"root": "e2e/",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "client:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "client:serve:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
2019-01-16 14:04:15 +01:00
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
2018-06-19 16:55:50 +02:00
|
|
|
}
|
|
|
|
}
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"defaultProject": "client"
|
|
|
|
}
|