From f4619e97c57f57b070e06c01df295ff11a449f8d Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Thu, 30 Jun 2022 21:12:44 +0500 Subject: [PATCH] add postinstall --- package-lock.json | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index 2bc4e6a..e8d8962 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "@hexlet/code", "version": "1.0.0", + "hasInstallScript": true, "license": "ISC", "dependencies": { "@hexlet/chat-server": "^1.1.3" diff --git a/package.json b/package.json index 5ab15c2..fea12f1 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "start": "start-server -s ./frontend/build", "test": "echo \"Error: no test specified\" && exit 1" }, + "postinstall": "cd frontend && npm ci", "author": "", "license": "ISC", "dependencies": {