From 0fbd4588179f92d1e7828b2958d2e8a698e77701 Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Tue, 4 Jun 2019 10:48:49 +0900 Subject: [PATCH] Add auto build in deployment firebase --- firebase.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firebase.json b/firebase.json index 7f0a16d..3ff93e2 100644 --- a/firebase.json +++ b/firebase.json @@ -1,5 +1,6 @@ { "hosting": { + "predeploy": "npm run build-prod", "public": "dist/DiscoTrip", "ignore": [ "firebase.json", diff --git a/package.json b/package.json index ede5f59..fc8e190 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "disco-trip", - "version": "0.0.0", + "version": "0.1.0", "scripts": { "ng": "ng", "start": "ng serve",