2018-05-23 02:27:07 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
2022-04-04 19:37:31 +02:00
|
|
|
"cli": {
|
2023-03-11 11:46:29 +02:00
|
|
|
"schematicCollections": [
|
|
|
|
"@angular-eslint/schematics"
|
|
|
|
]
|
2022-04-04 19:37:31 +02:00
|
|
|
},
|
2018-05-23 02:27:07 +02:00
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"pigallery2": {
|
|
|
|
"root": "",
|
2019-12-10 11:44:35 +02:00
|
|
|
"sourceRoot": "src/frontend",
|
2018-05-23 02:27:07 +02:00
|
|
|
"projectType": "application",
|
2022-04-04 19:37:31 +02:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:application": {
|
|
|
|
"strict": true
|
|
|
|
}
|
|
|
|
},
|
2021-04-11 15:59:30 +02:00
|
|
|
"prefix": "app",
|
2021-04-17 18:32:32 +02:00
|
|
|
"i18n": {
|
|
|
|
"sourceLocale": {
|
|
|
|
"code": "en",
|
|
|
|
"baseHref": ""
|
|
|
|
},
|
|
|
|
"locales": {
|
2022-04-04 19:37:31 +02:00
|
|
|
"zh": {
|
2021-09-16 11:02:47 +02:00
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.cn.xlf"
|
|
|
|
},
|
2022-02-26 19:38:29 +02:00
|
|
|
"de": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.de.xlf"
|
|
|
|
},
|
2021-04-17 18:32:32 +02:00
|
|
|
"es": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.es.xlf"
|
|
|
|
},
|
|
|
|
"fr": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.fr.xlf"
|
|
|
|
},
|
|
|
|
"hu": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.hu.xlf"
|
|
|
|
},
|
2022-02-27 10:25:58 +02:00
|
|
|
"id": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.id.xlf"
|
|
|
|
},
|
2021-04-17 18:32:32 +02:00
|
|
|
"it": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.it.xlf"
|
|
|
|
},
|
|
|
|
"ro": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.ro.xlf"
|
|
|
|
},
|
|
|
|
"ru": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.ru.xlf"
|
|
|
|
},
|
|
|
|
"sv": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.sv.xlf"
|
2021-05-02 22:19:57 +02:00
|
|
|
},
|
|
|
|
"pl": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.pl.xlf"
|
2023-01-07 23:11:06 +02:00
|
|
|
},
|
|
|
|
"nl": {
|
|
|
|
"baseHref": "",
|
|
|
|
"translation": "src/frontend/translate/messages.nl.xlf"
|
2023-01-09 22:17:59 +02:00
|
|
|
},
|
2023-01-10 21:16:34 +02:00
|
|
|
"pt-br": {
|
2023-01-09 22:17:59 +02:00
|
|
|
"baseHref": "",
|
2023-01-10 21:16:34 +02:00
|
|
|
"translation": "src/frontend/translate/messages.pt-br.xlf"
|
2021-04-17 18:32:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-05-23 02:27:07 +02:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
2022-11-25 23:56:33 +02:00
|
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
2018-05-23 02:27:07 +02:00
|
|
|
"options": {
|
2021-04-17 18:32:32 +02:00
|
|
|
"localize": true,
|
|
|
|
"aot": true,
|
2020-04-14 07:43:02 +02:00
|
|
|
"crossOrigin": "anonymous",
|
2018-05-23 02:27:07 +02:00
|
|
|
"outputPath": "dist",
|
2019-12-10 11:44:35 +02:00
|
|
|
"index": "src/frontend/index.html",
|
2021-04-17 18:32:32 +02:00
|
|
|
"progress": true,
|
2019-12-10 11:44:35 +02:00
|
|
|
"main": "src/frontend/main.ts",
|
|
|
|
"tsConfig": "src/frontend/tsconfig.app.json",
|
|
|
|
"polyfills": "src/frontend/polyfills.ts",
|
2018-05-23 02:27:07 +02:00
|
|
|
"assets": [
|
2023-03-15 21:12:42 +02:00
|
|
|
"src/frontend/robots.txt",
|
2021-04-25 19:07:02 +02:00
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
2021-05-01 19:35:18 +02:00
|
|
|
"output": "./assets/"
|
2021-04-25 19:07:02 +02:00
|
|
|
}
|
2018-05-23 02:27:07 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
2022-03-31 23:05:31 +02:00
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.css",
|
|
|
|
"node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
|
|
|
|
"node_modules/ngx-toastr/toastr.css",
|
|
|
|
"node_modules/leaflet/dist/leaflet.css",
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.css",
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css",
|
2019-12-10 11:44:35 +02:00
|
|
|
"src/frontend/styles.css"
|
2018-05-23 02:27:07 +02:00
|
|
|
],
|
2021-12-31 19:50:21 +02:00
|
|
|
"scripts": [
|
2022-03-30 22:18:02 +02:00
|
|
|
"node_modules/marked/marked.min.js"
|
2021-12-31 19:50:21 +02:00
|
|
|
],
|
2022-11-25 23:56:33 +02:00
|
|
|
"i18nMissingTranslation": "warning",
|
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./angular.webpack.js",
|
|
|
|
"replaceDuplicatePlugins": true
|
|
|
|
}
|
2018-05-23 02:27:07 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-04-17 18:32:32 +02:00
|
|
|
"dev": {
|
2021-04-25 19:07:02 +02:00
|
|
|
"outputPath": "dist/en",
|
|
|
|
"localize": false,
|
2022-03-31 23:05:31 +02:00
|
|
|
"buildOptimizer": false,
|
|
|
|
"optimization": false,
|
|
|
|
"vendorChunk": true,
|
|
|
|
"extractLicenses": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"namedChunks": true,
|
2021-04-17 18:32:32 +02:00
|
|
|
"watch": true
|
|
|
|
},
|
2018-05-23 02:27:07 +02:00
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
2019-12-10 11:44:35 +02:00
|
|
|
"replace": "src/frontend/environments/environment.ts",
|
|
|
|
"with": "src/frontend/environments/environment.prod.ts"
|
2018-05-23 02:27:07 +02:00
|
|
|
}
|
2021-04-19 15:01:28 +02:00
|
|
|
],
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
|
|
|
"maximumError": "10kb"
|
|
|
|
}
|
2018-05-23 02:27:07 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2022-11-25 23:56:33 +02:00
|
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
2018-05-23 02:27:07 +02:00
|
|
|
"options": {
|
|
|
|
"browserTarget": "pigallery2:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "pigallery2:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
2022-11-25 23:56:33 +02:00
|
|
|
"builder": "@angular-builders/custom-webpack:extract-i18n",
|
2018-05-23 02:27:07 +02:00
|
|
|
"options": {
|
|
|
|
"browserTarget": "pigallery2:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2022-11-25 23:56:33 +02:00
|
|
|
"builder": "@angular-builders/custom-webpack:karma",
|
2018-05-23 02:27:07 +02:00
|
|
|
"options": {
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
2023-03-12 12:01:14 +02:00
|
|
|
"polyfills": [
|
|
|
|
"src/frontend/polyfills.ts",
|
|
|
|
"zone.js/testing"
|
|
|
|
],
|
2019-12-10 11:44:35 +02:00
|
|
|
"tsConfig": "src/frontend/tsconfig.spec.json",
|
2018-05-23 02:27:07 +02:00
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
2022-03-31 23:05:31 +02:00
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
|
|
"node_modules/ngx-toastr/toastr.css",
|
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.css",
|
|
|
|
"node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
|
|
|
|
"node_modules/leaflet/dist/leaflet.css",
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.css",
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css",
|
2019-12-10 11:44:35 +02:00
|
|
|
"src/frontend/styles.css"
|
2018-05-23 02:27:07 +02:00
|
|
|
],
|
|
|
|
"assets": [
|
2021-04-25 19:07:02 +02:00
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
2021-05-01 19:35:18 +02:00
|
|
|
"output": "./assets/"
|
2021-04-25 19:07:02 +02:00
|
|
|
}
|
2022-11-25 23:56:33 +02:00
|
|
|
],
|
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./angular.webpack.js",
|
|
|
|
"replaceDuplicatePlugins": true
|
|
|
|
}
|
2018-05-23 02:27:07 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2022-04-04 19:37:31 +02:00
|
|
|
"builder": "@angular-eslint/builder:lint",
|
2018-05-23 02:27:07 +02:00
|
|
|
"options": {
|
2022-04-04 19:37:31 +02:00
|
|
|
"lintFilePatterns": [
|
|
|
|
"src/**/*.ts",
|
|
|
|
"src/**/*.html"
|
|
|
|
]
|
2018-05-23 02:27:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-11 12:12:46 +02:00
|
|
|
},
|
|
|
|
"schematics": {
|
|
|
|
"@angular-eslint/schematics:application": {
|
|
|
|
"setParserOptionsProject": true
|
|
|
|
},
|
|
|
|
"@angular-eslint/schematics:library": {
|
|
|
|
"setParserOptionsProject": true
|
|
|
|
}
|
2023-03-11 11:46:29 +02:00
|
|
|
}
|
2019-12-10 11:44:35 +02:00
|
|
|
}
|