diff --git a/package.json b/package.json index f0ebfed..c1b28c5 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "bundle": "esbuild --bundle dist/index.js --keep-names --outfile=dist/bundle.js --format=esm", "build": "tsc && npm run bundle && npm run manifest", "prepublishOnly": "npm run build", - "pretest": "npm run build", + "pretest": "npm run build && npx playwright install --with-deps", "test": "web-test-runner", "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'", "manifest": "custom-elements-manifest analyze"