Skip to content

Commit

Permalink
fix playwright install
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Aug 6, 2024
1 parent e709ff8 commit f153a3d
Show file tree
Hide file tree
Showing 2 changed files with 336 additions and 278 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
"directory": "docs"
},
"scripts": {
"postinstall": "pnpm dlx playwright install chromium",
"preinstall": "pnpm dlx playwright install chromium",
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"build-deploy": "pnpm run build; rm -rf _site_deploy/docs; mv dist/404.html _site_deploy; mv dist _site_deploy/docs;",
"install-playwright": "pnpm dlx playwright-core install chromium",
"build-deploy": "pnpm run install-playwright; pnpm run build; rm -rf _site_deploy/docs; mv dist/404.html _site_deploy; mv dist _site_deploy/docs;",
"preview": "astro preview",
"astro": "astro",
"test": "vitest",
Expand Down Expand Up @@ -42,6 +43,7 @@
"framer-motion": "^11.0.5",
"github-slugger": "^2.0.0",
"hast-util-select": "^6.0.2",
"playwright-core": "^1.46.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-lite-youtube-embed": "^2.3.52",
Expand Down
Loading

0 comments on commit f153a3d

Please sign in to comment.