diff --git a/angular.json b/angular.json index c136d6e..c98f856 100644 --- a/angular.json +++ b/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "socket-app": { + "greenvironment": { "root": "", "sourceRoot": "src", "projectType": "application", @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/socket-app", + "outputPath": "dist/greenvironment", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -62,18 +62,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "socket-app:build" + "browserTarget": "greenvironment:build" }, "configurations": { "production": { - "browserTarget": "socket-app:build:production" + "browserTarget": "greenvironment:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "socket-app:build" + "browserTarget": "greenvironment:build" } }, "test": { @@ -108,7 +108,7 @@ } } }, - "socket-app-e2e": { + "greenvironment-e2e": { "root": "e2e/", "projectType": "application", "prefix": "", @@ -117,11 +117,11 @@ "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "socket-app:serve" + "devServerTarget": "greenvironment:serve" }, "configurations": { "production": { - "devServerTarget": "socket-app:serve:production" + "devServerTarget": "greenvironment:serve:production" } } }, @@ -137,5 +137,5 @@ } } }, - "defaultProject": "socket-app" -} \ No newline at end of file + "defaultProject": "greenvironment" +} diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts index 22f7cd7..b4f721a 100644 --- a/e2e/src/app.e2e-spec.ts +++ b/e2e/src/app.e2e-spec.ts @@ -9,6 +9,6 @@ describe('workspace-project App', () => { it('should display welcome message', () => { page.navigateTo(); - expect(page.getParagraphText()).toEqual('Welcome to socket-app!'); + expect(page.getParagraphText()).toEqual('Welcome to greenvironment!'); }); }); diff --git a/package-lock.json b/package-lock.json index 60fde46..dcee9b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "socket-app", + "name": "greenvironment", "version": "0.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index 162d32b..6b6e09f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "socket-app", + "name": "greenvironment", "version": "0.0.0", "scripts": { "ng": "ng", diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index c38ca0a..9da27bb 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -16,16 +16,16 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'socket-app'`, () => { + it(`should have as title 'greenvironment'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.debugElement.componentInstance; - expect(app.title).toEqual('socket-app'); + expect(app.title).toEqual('greenvironment'); }); it('should render title in a h1 tag', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to socket-app!'); + expect(compiled.querySelector('h1').textContent).toContain('Welcome to greenvironment!'); }); });