diff options
Diffstat (limited to 'angular.json')
-rw-r--r-- | angular.json | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/angular.json b/angular.json new file mode 100644 index 0000000..318d770 --- /dev/null +++ b/angular.json @@ -0,0 +1,105 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "onap-ui-angular": { + "root": "", + "sourceRoot": "src", + "projectType": "application", + "prefix": "", + "schematics": {}, + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist/onap-ui-angular", + "index": "src/angular/index.html", + "main": "src/angular/index.ts", + "polyfills": "src/angular/polyfills.ts", + "tsConfig": "src/angular/tsconfig.app.json", + "assets": [ + "src/angular/favicon.ico", + "src/assets" + ], + "styles": [ + "src/assets/styles/style.scss" + ], + "scripts": [] + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": true, + "extractCss": true, + "namedChunks": false, + "aot": true, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "onap-ui-angular:build" + }, + "configurations": { + "production": { + "browserTarget": "onap-ui-angular:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "onap-ui-angular:build" + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "src/tsconfig.app.json", + "src/tsconfig.spec.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + } + } + }, + "onap-ui-angular-e2e": { + "root": "e2e/", + "projectType": "application", + "architect": { + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "onap-ui-angular:serve" + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": "e2e/tsconfig.e2e.json", + "exclude": [ + "**/node_modules/**" + ] + } + } + } + } + }, + "defaultProject": "onap-ui-angular" +}
\ No newline at end of file |