mirror of https://github.com/ghostfolio/ghostfolio
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							303 lines
						
					
					
						
							8.5 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							303 lines
						
					
					
						
							8.5 KiB
						
					
					
				| { | |
|   "name": "client", | |
|   "$schema": "../../node_modules/nx/schemas/project-schema.json", | |
|   "projectType": "application", | |
|   "sourceRoot": "apps/client/src", | |
|   "prefix": "gf", | |
|   "i18n": { | |
|     "locales": { | |
|       "ca": { | |
|         "baseHref": "/ca/", | |
|         "translation": "apps/client/src/locales/messages.ca.xlf" | |
|       }, | |
|       "de": { | |
|         "baseHref": "/de/", | |
|         "translation": "apps/client/src/locales/messages.de.xlf" | |
|       }, | |
|       "es": { | |
|         "baseHref": "/es/", | |
|         "translation": "apps/client/src/locales/messages.es.xlf" | |
|       }, | |
|       "fr": { | |
|         "baseHref": "/fr/", | |
|         "translation": "apps/client/src/locales/messages.fr.xlf" | |
|       }, | |
|       "it": { | |
|         "baseHref": "/it/", | |
|         "translation": "apps/client/src/locales/messages.it.xlf" | |
|       }, | |
|       "nl": { | |
|         "baseHref": "/nl/", | |
|         "translation": "apps/client/src/locales/messages.nl.xlf" | |
|       }, | |
|       "pl": { | |
|         "baseHref": "/pl/", | |
|         "translation": "apps/client/src/locales/messages.pl.xlf" | |
|       }, | |
|       "pt": { | |
|         "baseHref": "/pt/", | |
|         "translation": "apps/client/src/locales/messages.pt.xlf" | |
|       }, | |
|       "tr": { | |
|         "baseHref": "/tr/", | |
|         "translation": "apps/client/src/locales/messages.tr.xlf" | |
|       }, | |
|       "uk": { | |
|         "baseHref": "/uk/", | |
|         "translation": "apps/client/src/locales/messages.uk.xlf" | |
|       }, | |
|       "zh": { | |
|         "baseHref": "/zh/", | |
|         "translation": "apps/client/src/locales/messages.zh.xlf" | |
|       } | |
|     }, | |
|     "sourceLocale": "en" | |
|   }, | |
|   "tags": [], | |
|   "generators": { | |
|     "@schematics/angular:component": { | |
|       "style": "scss" | |
|     } | |
|   }, | |
|   "targets": { | |
|     "build": { | |
|       "executor": "@nx/angular:webpack-browser", | |
|       "options": { | |
|         "deleteOutputPath": false, | |
|         "localize": true, | |
|         "outputPath": "dist/apps/client", | |
|         "index": "apps/client/src/index.html", | |
|         "main": "apps/client/src/main.ts", | |
|         "polyfills": "apps/client/src/polyfills.ts", | |
|         "tsConfig": "apps/client/tsconfig.app.json", | |
|         "styles": [ | |
|           "apps/client/src/assets/fonts/inter.css", | |
|           "apps/client/src/styles/theme.scss", | |
|           "apps/client/src/styles.scss", | |
|           "node_modules/open-color/open-color.css" | |
|         ], | |
|         "scripts": ["node_modules/marked/marked.min.js"], | |
|         "vendorChunk": true, | |
|         "extractLicenses": false, | |
|         "buildOptimizer": false, | |
|         "sourceMap": true, | |
|         "optimization": false, | |
|         "namedChunks": true, | |
|         "serviceWorker": true, | |
|         "ngswConfigPath": "apps/client/ngsw-config.json" | |
|       }, | |
|       "configurations": { | |
|         "development-ca": { | |
|           "baseHref": "/ca/", | |
|           "localize": ["ca"] | |
|         }, | |
|         "development-de": { | |
|           "baseHref": "/de/", | |
|           "localize": ["de"] | |
|         }, | |
|         "development-en": { | |
|           "baseHref": "/en/", | |
|           "localize": ["en"] | |
|         }, | |
|         "development-es": { | |
|           "baseHref": "/es/", | |
|           "localize": ["es"] | |
|         }, | |
|         "development-fr": { | |
|           "baseHref": "/fr/", | |
|           "localize": ["fr"] | |
|         }, | |
|         "development-it": { | |
|           "baseHref": "/it/", | |
|           "localize": ["it"] | |
|         }, | |
|         "development-nl": { | |
|           "baseHref": "/nl/", | |
|           "localize": ["nl"] | |
|         }, | |
|         "development-pl": { | |
|           "baseHref": "/pl/", | |
|           "localize": ["pl"] | |
|         }, | |
|         "development-pt": { | |
|           "baseHref": "/pt/", | |
|           "localize": ["pt"] | |
|         }, | |
|         "development-tr": { | |
|           "baseHref": "/tr/", | |
|           "localize": ["tr"] | |
|         }, | |
|         "development-uk": { | |
|           "baseHref": "/uk/", | |
|           "localize": ["uk"] | |
|         }, | |
|         "development-zh": { | |
|           "baseHref": "/zh/", | |
|           "localize": ["zh"] | |
|         }, | |
|         "production": { | |
|           "fileReplacements": [ | |
|             { | |
|               "replace": "apps/client/src/environments/environment.ts", | |
|               "with": "apps/client/src/environments/environment.prod.ts" | |
|             } | |
|           ], | |
|           "optimization": true, | |
|           "outputHashing": "all", | |
|           "sourceMap": false, | |
|           "namedChunks": false, | |
|           "extractLicenses": true, | |
|           "vendorChunk": false, | |
|           "buildOptimizer": true, | |
|           "budgets": [ | |
|             { | |
|               "type": "initial", | |
|               "maximumWarning": "2mb", | |
|               "maximumError": "5mb" | |
|             }, | |
|             { | |
|               "type": "anyComponentStyle", | |
|               "maximumWarning": "6kb", | |
|               "maximumError": "10kb" | |
|             } | |
|           ] | |
|         } | |
|       }, | |
|       "outputs": ["{options.outputPath}"], | |
|       "defaultConfiguration": "" | |
|     }, | |
|     "copy-assets": { | |
|       "executor": "nx:run-commands", | |
|       "options": { | |
|         "commands": [ | |
|           { | |
|             "command": "shx rm -rf dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx mkdir -p dist/apps/client/.well-known" | |
|           }, | |
|           { | |
|             "command": "shx mkdir -p dist/apps/client/assets" | |
|           }, | |
|           { | |
|             "command": "shx mkdir -p dist/apps/client/ionicons" | |
|           }, | |
|           { | |
|             "command": "shx cp -r apps/client/src/assets/* dist/apps/client/assets" | |
|           }, | |
|           { | |
|             "command": "shx cp -r apps/client/src/assets/.well-known/assetlinks.json dist/apps/client/.well-known" | |
|           }, | |
|           { | |
|             "command": "shx cp apps/client/src/assets/favicon.ico dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx cp apps/client/src/assets/index.html dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx cp apps/client/src/assets/robots.txt dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx cp node_modules/ionicons/dist/index.js dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx cp node_modules/ionicons/dist/ionicons.js dist/apps/client" | |
|           }, | |
|           { | |
|             "command": "shx cp -r node_modules/ionicons/dist/ionicons/* dist/apps/client/ionicons" | |
|           }, | |
|           { | |
|             "command": "shx cp CHANGELOG.md dist/apps/client/assets" | |
|           }, | |
|           { | |
|             "command": "shx cp LICENSE dist/apps/client/assets" | |
|           } | |
|         ], | |
|         "parallel": false | |
|       } | |
|     }, | |
|     "serve": { | |
|       "executor": "@nx/angular:dev-server", | |
|       "options": { | |
|         "buildTarget": "client:build", | |
|         "proxyConfig": "apps/client/proxy.conf.json", | |
|         "ssl": true, | |
|         "sslCert": "apps/client/localhost.cert", | |
|         "sslKey": "apps/client/localhost.pem" | |
|       }, | |
|       "configurations": { | |
|         "development-de": { | |
|           "buildTarget": "client:build:development-de" | |
|         }, | |
|         "development-en": { | |
|           "buildTarget": "client:build:development-en" | |
|         }, | |
|         "development-es": { | |
|           "buildTarget": "client:build:development-es" | |
|         }, | |
|         "development-fr": { | |
|           "buildTarget": "client:build:development-fr" | |
|         }, | |
|         "development-it": { | |
|           "buildTarget": "client:build:development-it" | |
|         }, | |
|         "development-nl": { | |
|           "buildTarget": "client:build:development-nl" | |
|         }, | |
|         "development-pl": { | |
|           "buildTarget": "client:build:development-pl" | |
|         }, | |
|         "development-pt": { | |
|           "buildTarget": "client:build:development-pt" | |
|         }, | |
|         "development-tr": { | |
|           "buildTarget": "client:build:development-tr" | |
|         }, | |
|         "development-uk": { | |
|           "buildTarget": "client:build:development-uk" | |
|         }, | |
|         "development-zh": { | |
|           "buildTarget": "client:build:development-zh" | |
|         }, | |
|         "production": { | |
|           "buildTarget": "client:build:production" | |
|         } | |
|       }, | |
|       "continuous": true | |
|     }, | |
|     "extract-i18n": { | |
|       "executor": "ng-extract-i18n-merge:ng-extract-i18n-merge", | |
|       "options": { | |
|         "buildTarget": "client:build", | |
|         "includeContext": true, | |
|         "outputPath": "src/locales", | |
|         "targetFiles": [ | |
|           "messages.ca.xlf", | |
|           "messages.de.xlf", | |
|           "messages.es.xlf", | |
|           "messages.fr.xlf", | |
|           "messages.it.xlf", | |
|           "messages.nl.xlf", | |
|           "messages.pl.xlf", | |
|           "messages.pt.xlf", | |
|           "messages.tr.xlf", | |
|           "messages.uk.xlf", | |
|           "messages.zh.xlf" | |
|         ] | |
|       } | |
|     }, | |
|     "lint": { | |
|       "executor": "@nx/eslint:lint", | |
|       "options": { | |
|         "lintFilePatterns": ["apps/client/**/*.ts"] | |
|       } | |
|     }, | |
|     "test": { | |
|       "executor": "@nx/jest:jest", | |
|       "options": { | |
|         "jestConfig": "apps/client/jest.config.ts" | |
|       }, | |
|       "outputs": ["{workspaceRoot}/coverage/apps/client"] | |
|     } | |
|   } | |
| }
 | |
| 
 |