From 1425d0e91a35aec3fa3e4d4622afc3bfe6a49a7f Mon Sep 17 00:00:00 2001 From: LouisLam Date: Thu, 29 Jul 2021 00:36:35 +0800 Subject: [PATCH] test heroku deployment --- app.json | 7 +++++++ package.json | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 000000000..ab6432121 --- /dev/null +++ b/app.json @@ -0,0 +1,7 @@ +{ + "name": "Uptime Kuma", + "description": "A fancy self-hosted monitoring tool", + "repository": "https://github.com/louislam/uptime-kuma", + "logo": "https://raw.githubusercontent.com/louislam/uptime-kuma/master/public/icon.png", + "keywords": ["node", "express", "socket-io", "uptime-kuma", "uptime"] +} diff --git a/package.json b/package.json index 7cfd9e408..ccd8f505e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "scripts": { "dev": "vite --host", + "start": "npm run start-server", "start-server": "node server/server.js", "update": "", "build": "vite build", @@ -17,7 +18,8 @@ "build-docker-nightly-amd64": "docker buildx build --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push", "setup": "git checkout 1.0.7 && npm install && npm run build", "version-global-replace": "node extra/version-global-replace.js", - "mark-as-nightly": "node extra/mark-as-nightly.js" + "mark-as-nightly": "node extra/mark-as-nightly.js", + "heroku-postbuild": "npm run setup" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.35",