AFFiNE/tests/storybook/package.json
pengx17 3c6983ee49
fix(core): storybook build issue (#6274)
1. es2022 is required and should be set separately in storybook.
2. @blocksuite/icons versions are not consistent across packages.
2024-03-23 06:33:25 +00:00

65 lines
2.1 KiB
JSON

{
"name": "@affine/storybook",
"private": true,
"scripts": {
"dev": "storybook dev -p 6006",
"build": "storybook build",
"test": "test-storybook"
},
"dependencies": {
"@affine/cli": "workspace:*",
"@affine/component": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/workspace-impl": "workspace:*",
"@dnd-kit/sortable": "^8.0.0",
"@storybook/jest": "^0.2.3",
"@storybook/testing-library": "^0.2.2",
"foxact": "^0.2.31",
"jotai": "^2.6.5",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.6",
"react-router-dom": "^6.22.1",
"ses": "^1.3.0",
"storybook-addon-react-router-v6": "^2.0.10"
},
"devDependencies": {
"@blocksuite/block-std": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/blocks": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/global": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/icons": "2.1.46",
"@blocksuite/inline": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/lit": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/presets": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/store": "0.13.0-canary-202403140735-2367cd5",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-storysource": "^7.6.17",
"@storybook/blocks": "^7.6.17",
"@storybook/builder-vite": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/test-runner": "^0.17.0",
"@vanilla-extract/esbuild-plugin": "^2.3.5",
"@vitejs/plugin-react": "^4.2.1",
"chromatic": "^11.0.0",
"concurrently": "^8.2.2",
"jest-mock": "^29.7.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"serve": "^14.2.1",
"storybook": "^7.6.17",
"storybook-dark-mode": "^3.0.3",
"wait-on": "^7.2.0"
},
"peerDependencies": {
"@blocksuite/blocks": "*",
"@blocksuite/global": "*",
"@blocksuite/icons": "2.1.34",
"@blocksuite/presets": "*",
"@blocksuite/store": "*"
},
"version": "0.14.0"
}