Skip to content

Commit 5c60cf6

Browse files
committed
fix build dep for mermaid
1 parent cec599d commit 5c60cf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",
8-
"build": "astro build",
8+
"build": "npm run setup; astro build",
99
"preview": "astro preview",
1010
"format": "prettier --write .",
1111
"linkcheck": "tsc scripts/linkcheck.ts && node scripts/linkcheck.js",
@@ -18,7 +18,8 @@
1818
"lint-ts": "eslint --ext ts .",
1919
"lint-ts:fix": "eslint --ext ts .",
2020
"lint-solc": "solhint 'public/samples/**/*.sol'",
21-
"prepare": "husky install"
21+
"prepare": "husky install",
22+
"setup": "npx playwright install"
2223
},
2324
"dependencies": {
2425
"@algolia/client-search": "^4.14.2",

0 commit comments

Comments
 (0)