feat(storybook): preview app (#3765)

This commit is contained in:
Alex Yang
2023-08-15 15:34:02 -05:00
committed by GitHub
parent 42dfd0a4bb
commit 67b33d9b8f
15 changed files with 179 additions and 76 deletions
+3 -3
View File
@@ -4,8 +4,7 @@
"scripts": {
"dev": "storybook dev -p 6006",
"build": "storybook build",
"test": "test-storybook",
"chromatic": "npx chromatic --build-script-name build"
"test": "test-storybook"
},
"dependencies": {
"@affine/component": "workspace:*",
@@ -40,7 +39,8 @@
"@blocksuite/store": "0.0.0-20230814155455-ceb5d5d8-nightly",
"chromatic": "^6.22.0",
"react": "18.2.0",
"react-dom": "18.2.0"
"react-dom": "18.2.0",
"storybook-addon-react-router-v6": "^2.0.4"
},
"peerDependencies": {
"@blocksuite/blocks": "*",