From f45038af6e7c4638bd2dcacf17ae9782a73d71da Mon Sep 17 00:00:00 2001 From: Giacomo Licari Date: Mon, 4 Sep 2023 14:31:15 +0200 Subject: [PATCH] Heroku Preview Apps: change startup command, use npm run build --- app.json | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app.json b/app.json index fc395c1..06cef8d 100644 --- a/app.json +++ b/app.json @@ -3,8 +3,5 @@ "description": "Gnosis Beacon Chain Deposit UI", "env": { "REACT_APP_NETWORK_IDS": "100,10200" - }, - "scripts": { - "postdeploy": "npm run build" } } \ No newline at end of file diff --git a/package.json b/package.json index 1446a79..5477e1c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:fix": "standard --fix", "prepare": "husky install", "pre-commit": "lint-staged", - "start": "react-scripts start" + "start": "react-scripts build" }, "eslintConfig": { "extends": [