diff options
author | Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> | 2019-11-11 10:51:21 +0200 |
---|---|---|
committer | Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> | 2019-11-18 11:23:22 +0200 |
commit | 6cc77cb2cb6d7fb79faf58b7242e3737513a070a (patch) | |
tree | 4d7f41071fc787cfea324621417e7fcb073676b5 /cds-ui/client-frankfurt/angular.json | |
parent | 88e3ef2d396bc91051b182d11a2d490bf37abf08 (diff) |
Add client-frankfurt skeleton project
Issue-ID: CCSDK-1770
Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com>
Change-Id: I6a3dcb02b692fae778eb5cf65277ab2c269d96f8
Diffstat (limited to 'cds-ui/client-frankfurt/angular.json')
-rw-r--r-- | cds-ui/client-frankfurt/angular.json | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/cds-ui/client-frankfurt/angular.json b/cds-ui/client-frankfurt/angular.json new file mode 100644 index 000000000..97052b879 --- /dev/null +++ b/cds-ui/client-frankfurt/angular.json @@ -0,0 +1,139 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "client-frankfurt": { + "projectType": "application", + "schematics": {}, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist/client-frankfurt", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.app.json", + "aot": false, + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css", + "./node_modules/bootstrap/dist/css/bootstrap.min.css", + "./node_modules/@angular/material/prebuilt-themes/purple-green.css", + "./node_modules/font-awesome/css/font-awesome.css", + "src/assets/css/orangeHelvetica.css" + + ], + "scripts": [ + ] + }, + "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, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "2mb", + "maximumError": "5mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "6kb", + "maximumError": "10kb" + } + ] + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "client-frankfurt:build" + }, + "configurations": { + "production": { + "browserTarget": "client-frankfurt:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "client-frankfurt:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css", + "./node_modules/bootstrap/dist/css/bootstrap.min.css", + "./node_modules/@angular/material/prebuilt-themes/purple-green.css", + "./node_modules/font-awesome/css/font-awesome.css", + "src/assets/css/orangeHelvetica.css" + ], + "scripts": [ + + + ] + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "tsconfig.app.json", + "tsconfig.spec.json", + "e2e/tsconfig.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "client-frankfurt:serve" + }, + "configurations": { + "production": { + "devServerTarget": "client-frankfurt:serve:production" + } + } + } + } + } + }, + "defaultProject": "client-frankfurt" +}
\ No newline at end of file |