Add auto build in deployment firebase

This commit is contained in:
Mathieu Sanchez 2019-06-04 10:48:49 +09:00
parent 0c511442be
commit 0fbd458817
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ {
"hosting": { "hosting": {
"predeploy": "npm run build-prod",
"public": "dist/DiscoTrip", "public": "dist/DiscoTrip",
"ignore": [ "ignore": [
"firebase.json", "firebase.json",

View File

@ -1,6 +1,6 @@
{ {
"name": "disco-trip", "name": "disco-trip",
"version": "0.0.0", "version": "0.1.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",