Skip to content

Commit af46825

Browse files
fi: corrected app name in build scripts
1 parent a7da507 commit af46825

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

angular.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": 1,
77
"newProjectRoot": "projects",
88
"projects": {
9-
"Angular7-API-project": {
9+
"angular-api-project": {
1010
"root": "",
1111
"sourceRoot": "src",
1212
"projectType": "application",
@@ -15,7 +15,7 @@
1515
"build": {
1616
"builder": "@angular-devkit/build-angular:browser",
1717
"options": {
18-
"outputPath": "dist/Angular7-API-project",
18+
"outputPath": "dist/angular-api-project",
1919
"index": "src/index.html",
2020
"main": "src/main.ts",
2121
"polyfills": "src/polyfills.ts",
@@ -65,18 +65,18 @@
6565
"serve": {
6666
"builder": "@angular-devkit/build-angular:dev-server",
6767
"options": {
68-
"browserTarget": "Angular7-API-project:build"
68+
"browserTarget": "angular-api-project:build"
6969
},
7070
"configurations": {
7171
"production": {
72-
"browserTarget": "Angular7-API-project:build:production"
72+
"browserTarget": "angular-api-project:build:production"
7373
}
7474
}
7575
},
7676
"extract-i18n": {
7777
"builder": "@angular-devkit/build-angular:extract-i18n",
7878
"options": {
79-
"browserTarget": "Angular7-API-project:build"
79+
"browserTarget": "angular-api-project:build"
8080
}
8181
},
8282
"test": {
@@ -98,7 +98,7 @@
9898
}
9999
}
100100
},
101-
"Angular7-API-project-e2e": {
101+
"angular-api-project-e2e": {
102102
"root": "e2e/",
103103
"projectType": "application",
104104
"prefix": "",
@@ -107,11 +107,11 @@
107107
"builder": "@angular-devkit/build-angular:protractor",
108108
"options": {
109109
"protractorConfig": "e2e/protractor.conf.js",
110-
"devServerTarget": "Angular7-API-project:serve"
110+
"devServerTarget": "angular-api-project:serve"
111111
},
112112
"configurations": {
113113
"production": {
114-
"devServerTarget": "Angular7-API-project:serve:production"
114+
"devServerTarget": "angular-api-project:serve:production"
115115
}
116116
}
117117
}

e2e/src/app.e2e-spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe('workspace-project App', () => {
99

1010
it('should display welcome message', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('Welcome to Angular7-API-project!');
12+
expect(page.getParagraphText()).toEqual('Welcome to angular-api-project!');
1313
});
1414
});

0 commit comments

Comments
 (0)