From 6f7be0dec9ad4ce772de2a98a9fb6a1dd6eab203 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Wed, 3 Jun 2020 19:44:16 +0200 Subject: [PATCH] updates for heroku --- Procfile | 2 +- app.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Procfile b/Procfile index c417a650..0c1a4129 100755 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: node api/dist/main +web: yarn -cwd api start:prod diff --git a/app.json b/app.json index 1faa108a..987600b3 100644 --- a/app.json +++ b/app.json @@ -37,9 +37,9 @@ "description": "Database secret", "generator": "secret" }, - "NODE_ENV": { - "description": "Node environment (production or development)", - "value": "production" + "NPM_CONFIG_PRODUCTION": { + "description": "Allow Dev Dependencies so we can compile typescript", + "value": "false" } }, "addons": [