2018-05-23 08:27:07 +08:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"pigallery2": {
|
|
|
|
"root": "",
|
2019-12-10 17:44:35 +08:00
|
|
|
"sourceRoot": "src/frontend",
|
2018-05-23 08:27:07 +08:00
|
|
|
"projectType": "application",
|
2021-04-11 21:59:30 +08:00
|
|
|
"schematics": {},
|
|
|
|
"prefix": "app",
|
2021-04-18 00:32:32 +08:00
|
|
|
"i18n": {
|
|
|
|
"sourceLocale": {
|
|
|
|
"code": "en",
|
|
|
|
"baseHref": ""
|
|
|
|
},
|
|
|
|
"locales": {
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-05-23 08:27:07 +08:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2021-04-18 00:32:32 +08:00
|
|
|
"localize": true,
|
|
|
|
"aot": true,
|
2020-04-14 13:43:02 +08:00
|
|
|
"crossOrigin": "anonymous",
|
2018-05-23 08:27:07 +08:00
|
|
|
"outputPath": "dist",
|
2019-12-10 17:44:35 +08:00
|
|
|
"index": "src/frontend/index.html",
|
2021-04-18 00:32:32 +08:00
|
|
|
"progress": true,
|
2019-12-10 17:44:35 +08:00
|
|
|
"main": "src/frontend/main.ts",
|
|
|
|
"tsConfig": "src/frontend/tsconfig.app.json",
|
|
|
|
"polyfills": "src/frontend/polyfills.ts",
|
2018-05-23 08:27:07 +08:00
|
|
|
"assets": [
|
2021-04-26 01:07:02 +08:00
|
|
|
"src/frontend/assets",
|
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
|
|
|
"output": "./"
|
|
|
|
}
|
2018-05-23 08:27:07 +08:00
|
|
|
],
|
|
|
|
"styles": [
|
2021-04-11 21:59:30 +08:00
|
|
|
"bootstrap/dist/css/bootstrap.min.css",
|
|
|
|
"ngx-bootstrap/datepicker/bs-datepicker.css",
|
|
|
|
"open-iconic/font/css/open-iconic-bootstrap.css",
|
|
|
|
"ngx-toastr/toastr.css",
|
2021-04-26 01:07:02 +08:00
|
|
|
"leaflet/dist/leaflet.css",
|
2021-05-01 05:40:32 +08:00
|
|
|
"leaflet.markercluster/dist/MarkerCluster.css",
|
|
|
|
"leaflet.markercluster/dist/MarkerCluster.Default.css",
|
2019-12-10 17:44:35 +08:00
|
|
|
"src/frontend/styles.css"
|
2018-05-23 08:27:07 +08:00
|
|
|
],
|
2021-04-18 00:32:32 +08:00
|
|
|
"scripts": [],
|
|
|
|
"i18nMissingTranslation": "warning"
|
2018-05-23 08:27:07 +08:00
|
|
|
},
|
|
|
|
"configurations": {
|
2021-04-18 00:32:32 +08:00
|
|
|
"dev": {
|
2021-04-26 01:07:02 +08:00
|
|
|
"outputPath": "dist/en",
|
|
|
|
"localize": false,
|
2021-04-18 00:32:32 +08:00
|
|
|
"watch": true
|
|
|
|
},
|
2018-05-23 08:27:07 +08:00
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
2019-12-10 17:44:35 +08:00
|
|
|
"replace": "src/frontend/environments/environment.ts",
|
|
|
|
"with": "src/frontend/environments/environment.prod.ts"
|
2018-05-23 08:27:07 +08:00
|
|
|
}
|
2021-04-19 21:01:28 +08:00
|
|
|
],
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
|
|
|
"maximumError": "10kb"
|
|
|
|
}
|
2018-05-23 08:27:07 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "pigallery2:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "pigallery2:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "pigallery2:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
2019-12-10 17:44:35 +08:00
|
|
|
"main": "src/frontend/test.ts",
|
2018-05-23 08:27:07 +08:00
|
|
|
"karmaConfig": "./karma.conf.js",
|
2019-12-10 17:44:35 +08:00
|
|
|
"polyfills": "src/frontend/polyfills.ts",
|
|
|
|
"tsConfig": "src/frontend/tsconfig.spec.json",
|
2018-05-23 08:27:07 +08:00
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
2021-04-11 21:59:30 +08:00
|
|
|
"bootstrap/dist/css/bootstrap.min.css",
|
|
|
|
"ngx-toastr/toastr.css",
|
|
|
|
"bootstrap/dist/css/bootstrap.css",
|
|
|
|
"open-iconic/font/css/open-iconic-bootstrap.css",
|
|
|
|
"ngx-bootstrap/datepicker/bs-datepicker.css",
|
2021-04-26 01:07:02 +08:00
|
|
|
"leaflet/dist/leaflet.css",
|
2021-05-01 05:40:32 +08:00
|
|
|
"leaflet.markercluster/dist/MarkerCluster.css",
|
|
|
|
"leaflet.markercluster/dist/MarkerCluster.Default.css",
|
2019-12-10 17:44:35 +08:00
|
|
|
"src/frontend/styles.css"
|
2018-05-23 08:27:07 +08:00
|
|
|
],
|
|
|
|
"assets": [
|
2021-04-26 01:07:02 +08:00
|
|
|
"src/frontend/assets",
|
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
|
|
|
"output": "./"
|
|
|
|
}
|
2018-05-23 08:27:07 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pigallery2-e2e": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.conf.js",
|
|
|
|
"devServerTarget": "pigallery2:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"test/e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "pigallery2",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "css"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
2019-12-10 17:44:35 +08:00
|
|
|
}
|