feat: split components (#1530)

This commit is contained in:
Himself65
2023-03-10 23:15:19 -06:00
committed by GitHub
parent a795000363
commit 9a04a1e34f
23 changed files with 1925 additions and 130 deletions
+12 -2
View File
@@ -4,8 +4,13 @@
"version": "0.3.1",
"main": "./src/index.ts",
"scripts": {
"storybook": "storybook dev",
"build-storybook": "storybook build"
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook"
},
"exports": {
".": "./src/index.ts",
"./block-suite-editor": "./src/components/block-suite-editor/index.tsx"
},
"dependencies": {
"@affine/debug": "workspace:*",
@@ -31,13 +36,18 @@
"devDependencies": {
"@storybook/addon-actions": "7.0.0-rc.1",
"@storybook/addon-essentials": "7.0.0-rc.1",
"@storybook/addon-interactions": "7.0.0-rc.1",
"@storybook/addon-links": "7.0.0-rc.1",
"@storybook/builder-vite": "7.0.0-rc.1",
"@storybook/jest": "0.0.11-next.0",
"@storybook/react": "7.0.0-rc.1",
"@storybook/react-vite": "7.0.0-rc.1",
"@storybook/test-runner": "^0.10.0-next.10",
"@storybook/testing-library": "0.0.14-next.1",
"@types/react": "^18.0.28",
"@types/react-dom": "18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"jest-mock": "^28.1.3",
"storybook": "7.0.0-rc.1",
"storybook-dark-mode-v7": "3.0.0-alpha.0",
"typescript": "^4.9.5",