Skip to content

Commit 7040596

Browse files
committed
chore: installed and configured github pages to storybook
1 parent cee20d9 commit 7040596

File tree

2 files changed

+192
-1
lines changed

2 files changed

+192
-1
lines changed

package-lock.json

Lines changed: 188 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"homepage": "http://JamDev0.github.io/react-qr-code-reader",
23
"name": "react-qr-code-reader",
34
"type": "module",
45
"exports": {
@@ -23,7 +24,8 @@
2324
"storybook:css": "tailwindcss -w -i ./src/styles/tailwind.css -o ./src/index.css",
2425
"build-storybook": "concurrently \"npm run build-storybook:css\" \"storybook build\"",
2526
"build-storybook:css": "tailwindcss -m -i ./src/styles/tailwind.css -o ./src/index.css",
26-
"prepublishOnly": "npm run build"
27+
"prepublishOnly": "npm run build",
28+
"deploy-storybook": "gh-pages -d storybook-static"
2729
},
2830
"dependencies": {
2931
"@zxing/browser": "^0.1.4",
@@ -53,6 +55,7 @@
5355
"eslint-plugin-react-hooks": "^4.6.0",
5456
"eslint-plugin-react-refresh": "^0.4.5",
5557
"eslint-plugin-storybook": "^0.6.15",
58+
"gh-pages": "^6.1.1",
5659
"postcss": "^8.4.33",
5760
"storybook": "^8.0.0-alpha.15",
5861
"tailwind-merge": "^2.2.1",

0 commit comments

Comments
 (0)