From 30b6ff3f8e9ac8364cc41ee250e83a48fabe7ded Mon Sep 17 00:00:00 2001 From: Derek Leadbetter Date: Thu, 30 Jun 2022 15:14:04 -0400 Subject: [PATCH] IIIF #3 - Adding package.json for Heroku deployment --- package.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..6c69e82 --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "name": "IIIF Cloud", + "license": "MIT", + "engines": { + "node": "16.x", + "yarn": "1.x" + }, + "scripts": { + "build": "yarn --cwd client install && yarn --cwd client run build && cd ..", + "deploy": "cp -a client/build/. public/", + "heroku-postbuild": "yarn build && yarn deploy" + } +}