Skip to content

Commit

Permalink
add firebase deployment config and link to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
alQlagin committed Jan 28, 2020
1 parent 8dd76ff commit a9d0b05
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"targets": {
"alexkulagin-website": {
"hosting": {
"ngx-pwa-install-demo": [
"ngx-pwa-install"
]
}
}
},
"projects": {
"default": "alexkulagin-website"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/dist
/tmp
/out-tsc
/.firebase
# Only exists if Bazel was run
/bazel-out

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Small wrapper with allows handle [beforeinstallprompt](https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent) event in angular way

Demo available [here](https://ngx-pwa-install.web.app/)

## Install
Install from npm
```
Expand Down
19 changes: 19 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"hosting": [
{
"target": "ngx-pwa-install-demo",
"public": "dist/ngx-pwa-install-demo",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
]
}
2 changes: 2 additions & 0 deletions projects/ngx-pwa-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Small wrapper with allows handle [beforeinstallprompt](https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent) event in angular way

Demo available [here](https://ngx-pwa-install.web.app/)

## Install
Install from npm
```
Expand Down

0 comments on commit a9d0b05

Please sign in to comment.