1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/angular.json

238 lines
7.3 KiB
JSON
Raw Normal View History

2018-05-23 08:27:07 +08:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
2022-04-05 01:37:31 +08:00
"cli": {
2023-03-11 17:46:29 +08:00
"schematicCollections": [
2023-09-06 18:56:52 +08:00
"@angular-eslint/schematics",
"@schematics/angular"
],
"analytics": false
2022-04-05 01:37:31 +08:00
},
2018-05-23 08:27:07 +08:00
"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",
2022-04-05 01:37:31 +08:00
"schematics": {
"@schematics/angular:application": {
"strict": true
}
},
"prefix": "app",
2021-04-18 00:32:32 +08:00
"i18n": {
"sourceLocale": {
"code": "en",
"baseHref": ""
},
"locales": {
2022-04-05 01:37:31 +08:00
"zh": {
2021-09-16 17:02:47 +08:00
"baseHref": "",
"translation": "src/frontend/translate/messages.cn.xlf"
},
"de": {
"baseHref": "",
"translation": "src/frontend/translate/messages.de.xlf"
},
2021-04-18 00:32:32 +08: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 16:25:58 +08:00
"id": {
"baseHref": "",
"translation": "src/frontend/translate/messages.id.xlf"
},
2021-04-18 00:32:32 +08: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-03 04:19:57 +08:00
},
"pl": {
"baseHref": "",
"translation": "src/frontend/translate/messages.pl.xlf"
2023-01-08 05:11:06 +08:00
},
"nl": {
"baseHref": "",
"translation": "src/frontend/translate/messages.nl.xlf"
},
"pt-br": {
"baseHref": "",
"translation": "src/frontend/translate/messages.pt-br.xlf"
},
"da": {
"baseHref": "",
"translation": "src/frontend/translate/messages.da.xlf"
2021-04-18 00:32:32 +08:00
}
}
},
2018-05-23 08:27:07 +08:00
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
2018-05-23 08:27:07 +08:00
"options": {
2021-04-18 00:32:32 +08:00
"localize": true,
"aot": true,
"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": [
2023-03-16 03:12:42 +08:00
"src/frontend/robots.txt",
2021-04-26 01:07:02 +08:00
{
"glob": "**/*",
"input": "node_modules/leaflet/dist/images/",
2021-05-02 01:35:18 +08:00
"output": "./assets/"
2021-04-26 01:07:02 +08:00
}
2018-05-23 08:27:07 +08:00
],
"styles": [
2022-04-01 05:05:31 +08: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 17:44:35 +08:00
"src/frontend/styles.css"
2018-05-23 08:27:07 +08:00
],
2022-01-01 01:50:21 +08:00
"scripts": [
"node_modules/marked/marked.min.js"
2022-01-01 01:50:21 +08:00
],
"i18nMissingTranslation": "warning",
"customWebpackConfig": {
"path": "./angular.webpack.js",
"replaceDuplicatePlugins": true
}
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,
2022-04-01 05:05:31 +08:00
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
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
}
],
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
2018-05-23 08:27:07 +08:00
]
}
}
},
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
2018-05-23 08:27:07 +08:00
"options": {
"browserTarget": "pigallery2:build"
},
"configurations": {
"production": {
"browserTarget": "pigallery2:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-builders/custom-webpack:extract-i18n",
2018-05-23 08:27:07 +08:00
"options": {
"browserTarget": "pigallery2:build"
}
},
"test": {
"builder": "@angular-builders/custom-webpack:karma",
2018-05-23 08:27:07 +08:00
"options": {
"karmaConfig": "./karma.conf.js",
2023-03-12 18:01:14 +08:00
"polyfills": [
"src/frontend/polyfills.ts",
"zone.js/testing"
],
2019-12-10 17:44:35 +08:00
"tsConfig": "src/frontend/tsconfig.spec.json",
2018-05-23 08:27:07 +08:00
"scripts": [],
"styles": [
2022-04-01 05:05:31 +08: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 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
{
"glob": "**/*",
"input": "node_modules/leaflet/dist/images/",
2021-05-02 01:35:18 +08:00
"output": "./assets/"
2021-04-26 01:07:02 +08:00
}
],
"customWebpackConfig": {
"path": "./angular.webpack.js",
"replaceDuplicatePlugins": true
}
2018-05-23 08:27:07 +08:00
}
},
"lint": {
2022-04-05 01:37:31 +08:00
"builder": "@angular-eslint/builder:lint",
2018-05-23 08:27:07 +08:00
"options": {
2022-04-05 01:37:31 +08:00
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
2018-05-23 08:27:07 +08:00
}
}
}
}
2023-03-11 18:12:46 +08:00
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
2023-03-11 17:46:29 +08:00
}
2019-12-10 17:44:35 +08:00
}