Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
feat: add firebase deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev authored and alexeagle committed Apr 24, 2019
1 parent 91694b5 commit 1ed2d59
Show file tree
Hide file tree
Showing 5 changed files with 2,367 additions and 209 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
@@ -0,0 +1,5 @@
{
"projects": {
"default": "bazel-angular-io"
}
}
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
node_modules
bazel-out
dist
.firebase
16 changes: 16 additions & 0 deletions firebase.json
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist/bin/src/prodapp",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -40,6 +40,7 @@
"browserify": "16.2.3",
"clang-format": "1.2.4",
"core-js": "2.6.5",
"firebase-tools": "^6.7.1",
"husky": "0.14.3",
"named-amd": "1.0.0",
"protractor": "6.0.0",
Expand All @@ -49,6 +50,7 @@
"scripts": {
"build": "bazel build //src:bundle",
"serve": "ibazel run //src:devserver",
"deploy": "ng build && firebase deploy",
"serve-prod": "bazel run //src:prodserver",
"e2e": "bazel test //e2e:all",
"test": "bazel test //src/...",
Expand Down

0 comments on commit 1ed2d59

Please sign in to comment.