X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fcommon%2Feliot-ui%2Ffrontend-src%2Fangular.json;h=5828cdfd2064d9a87fd453f88f64e4efe5a302df;hb=5c2048d4d3e672783eea4f306aa9a03f33a1a9f2;hp=31a924d4034412892143b4de2ee36ed816b61939;hpb=59f512662c02a16c1d5c45b090b185d2e773310f;p=eliot.git diff --git a/blueprints/common/eliot-ui/frontend-src/angular.json b/blueprints/common/eliot-ui/frontend-src/angular.json index 31a924d..5828cdf 100644 --- a/blueprints/common/eliot-ui/frontend-src/angular.json +++ b/blueprints/common/eliot-ui/frontend-src/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "demoedgex": { + "eliotportal": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/demoedgex", + "outputPath": "dist/eliotportal", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -28,9 +28,10 @@ "src/assets" ], "styles": [ + "./node_modules/bootstrap/dist/css/bootstrap.min.css", "src/styles.scss" ], - "scripts": [] + "scripts": ["node_modules/particles.js/particles.js"] }, "configurations": { "production": { @@ -52,13 +53,13 @@ "budgets": [ { "type": "initial", - "maximumWarning": "2mb", + "maximumWarning": "4mb", "maximumError": "5mb" }, { "type": "anyComponentStyle", - "maximumWarning": "6kb", - "maximumError": "10kb" + "maximumWarning": "2mb", + "maximumError": "2kb" } ] } @@ -67,19 +68,24 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "demoedgex:build", + "browserTarget": "eliotportal:build", "proxyConfig": "proxy-conf.json" }, "configurations": { "production": { - "browserTarget": "demoedgex:build:production" + "browserTarget": "eliotportal:build:production" } - } + }, + "scripts": [ + "node_modules/particles.js/particles.js", + "node_modules/chart.js/dist/Chart.js" + + ] }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "demoedgex:build" + "browserTarget": "eliotportal:build" } }, "test": { @@ -94,7 +100,15 @@ "src/assets" ], "styles": [ - "src/styles.scss" + "./node_modules/bootstrap/dist/css/bootstrap.min.css", + "src/styles.scss", + "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss", + "node_modules/@fortawesome/fontawesome-free/scss/solid.scss", + "node_modules/@fortawesome/fontawesome-free/scss/regular.scss", + "node_modules/@fortawesome/fontawesome-free/scss/brands.scss", + "node_modules/angular-bootstrap-md/assets/scss/bootstrap/bootstrap.scss", + "node_modules/angular-bootstrap-md/assets/scss/mdb.scss", + "node_modules/animate.css/animate.css" ], "scripts": [] } @@ -116,15 +130,20 @@ "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "demoedgex:serve" + "devServerTarget": "eliotportal:serve" }, "configurations": { "production": { - "devServerTarget": "demoedgex:serve:production" + "devServerTarget": "eliotportal:serve:production" } } + }, + "deploy": { + "builder": "@angular/fire:deploy", + "options": {} } } - }}, - "defaultProject": "demoedgex" + } + }, + "defaultProject": "eliotportal" } \ No newline at end of file