From aeda66205e3174408a34aae1b2baeee0068260b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Thu, 19 Oct 2023 13:30:40 +0200 Subject: [PATCH] add a playwright postinstall script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d92932a..d7df31a 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "build:lib": "esbuild src/*.ts --outdir=lib --format=esm", "build:esm-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=esm", "build:cjs-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs", - "upload-coverage": "codecov" + "upload-coverage": "codecov", + "postinstall": "npx playwright install" }, "eslintConfig": { "root": true,