Skip to content

Commit

Permalink
fix: storycap
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar committed Apr 12, 2024
1 parent 0a7776c commit 74284d7
Show file tree
Hide file tree
Showing 2 changed files with 349 additions and 76 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"deploy": "vercel",
"lint": "biome lint .",
"format": "biome lint . --apply",
"prepare": "npm run build",
"prepare": "pnpm build",
"reg-suit": "reg-suit run",
"storybook": "storybook dev -p 6006",
"storycap:all": "rm -rf ./__screenshots__ && npx storycap http://localhost:6006 --serverCmd 'npm run storybook --ci' --viewport '414x736' --serverTimeout '200000'",
"storycap:all": "rm -rf ./__screenshots__ && npx storycap http://localhost:6006 --serverCmd 'npx http-server storybook-static -p 6006' --viewport '414x736' --serverTimeout '200000'",
"type-check": "tsc --noEmit"
},
"devDependencies": {
Expand Down Expand Up @@ -60,5 +60,8 @@
},
"engines": {
"node": ">=16"
},
"dependencies": {
"puppeteer": "^22.6.4"
}
}
Loading

0 comments on commit 74284d7

Please sign in to comment.