From 23af4468dbafc0e8ab1374e9461291cd2f30e3d9 Mon Sep 17 00:00:00 2001 From: Saeed99Madi Date: Sat, 12 Nov 2022 14:34:43 +0200 Subject: [PATCH] render publish praper packeig.json --- package-lock.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 5c1dce1..6da3b7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "e-commerce-team3", "version": "1.0.0", + "hasInstallScript": true, "license": "ISC", "dependencies": { "bcrypt": "^5.0.1", diff --git a/package.json b/package.json index 7b28f84..d3e065c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "cross-env NODE_ENV=production node server", "dev": "cross-env NODE_ENV=development nodemon server", "test": "cross-env NODE_ENV=testing jest", - "heroku-postbuild": "cd client && npm i --force && npm run build" + "postinstall": "cd client && npm i" }, "engines": { "node": "^16.0"