build: script to build demo-app for firebase (#4330)

* build: script to build demo-app for firebase

* Adds a new gulp task that can be used to build the devapp in "deploy"-mode. This allows us to deploy the demo-app on firebase.

Fixes #3857

* Add firebase deploy task
This commit is contained in:
Paul Gschwendtner
2017-05-04 23:47:37 +02:00
committed by Andrew Seguin
parent 7884b09d51
commit f8a2860408
4 changed files with 47 additions and 18 deletions
+2 -6
View File
@@ -3,7 +3,7 @@
"source": "tools/screenshot-test/functions"
},
"hosting": {
"public": "dist",
"public": "dist/packages/demo-app",
"rewrites": [
{
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
@@ -22,11 +22,7 @@
}
],
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**",
"tmp",
"deploy"
"firebase.json"
]
}
}