From 0c0da2f557bddf38aef4ee94d94509c7f653b82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Sat, 13 May 2023 17:48:12 +0200 Subject: [PATCH] Adding also install to postinstall... weird? --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fb519e506e..03988881aa 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/", "db-migrate": "db-migrate --migrations-dir ./src/migrations", "lint": "eslint ./src", - "postinstall": "yarn run build && echo [${NODE_ENV}] POSTINSTALL DONE", + "postinstall": "yarn --cwd ./frontend install && yarn run build && echo [${NODE_ENV}] POSTINSTALL DONE", "local:package": "del-cli --force build && mkdir build && cp -r dist docs CHANGELOG.md LICENSE README.md package.json build", "prebuild:watch": "yarn run clean", "build:watch": "tsc -w --strictNullChecks false",