From f4a5995a05dc2c0ca1b25198a5cd19da8106c925 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Mon, 23 Jan 2023 14:33:27 +0500 Subject: [PATCH] fix deploy --- package-lock.json | 14 ++++++++++++++ package.json | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..f384253a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,14 @@ +{ + "name": "runit", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "runit", + "version": "1.0.0", + "hasInstallScript": true, + "license": "UNLICENSED" + } + } +} diff --git a/package.json b/package.json index 5ad613b3..132deb29 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "build": "npm run build --prefix frontend && npm run build --prefix backend", "start:prod": "npm run start:prod --prefix backend", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "preinstall": "npm ci --prefix frontend && npm ci --prefix backend" }, "repository": { "type": "git",