Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 34c52c0

Browse files
committed
Configured app to deploy in heroic with stub backend.
1 parent d1ec7c7 commit 34c52c0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
7-
"start": "ng serve",
7+
"heroku-prebuild": "npm install -g http-server",
8+
"heroku-postbuild": "ng build --prod",
9+
"start": "http-server dist/",
10+
"start:dev": "ng serve",
811
"build": "ng build",
912
"test": "ng test --watch false",
1013
"lint": "ng lint",

‎src/environments/environment.prod.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: true,
3-
stubBackend: false
3+
stubBackend: true
44
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /