{ "name": "@blocksuite/affine", "description": "BlockSuite for Affine", "type": "module", "scripts": { "build": "tsc --build --verbose", "test:unit": "nx vite:test --run --passWithNoTests", "test:unit:coverage": "nx vite:test --run --coverage", "test:e2e": "playwright test" }, "sideEffects": false, "keywords": [], "author": "toeverything", "license": "MIT", "dependencies": { "@blocksuite/affine-block-attachment": "workspace:*", "@blocksuite/affine-block-bookmark": "workspace:*", "@blocksuite/affine-block-callout": "workspace:*", "@blocksuite/affine-block-code": "workspace:*", "@blocksuite/affine-block-data-view": "workspace:*", "@blocksuite/affine-block-database": "workspace:*", "@blocksuite/affine-block-divider": "workspace:*", "@blocksuite/affine-block-edgeless-text": "workspace:*", "@blocksuite/affine-block-embed": "workspace:*", "@blocksuite/affine-block-frame": "workspace:*", "@blocksuite/affine-block-image": "workspace:*", "@blocksuite/affine-block-latex": "workspace:*", "@blocksuite/affine-block-list": "workspace:*", "@blocksuite/affine-block-note": "workspace:*", "@blocksuite/affine-block-paragraph": "workspace:*", "@blocksuite/affine-block-root": "workspace:*", "@blocksuite/affine-block-surface": "workspace:*", "@blocksuite/affine-block-surface-ref": "workspace:*", "@blocksuite/affine-block-table": "workspace:*", "@blocksuite/affine-components": "workspace:*", "@blocksuite/affine-fragment-doc-title": "workspace:*", "@blocksuite/affine-fragment-frame-panel": "workspace:*", "@blocksuite/affine-fragment-outline": "workspace:*", "@blocksuite/affine-gfx-text": "workspace:*", "@blocksuite/affine-gfx-turbo-renderer": "workspace:*", "@blocksuite/affine-model": "workspace:*", "@blocksuite/affine-rich-text": "workspace:*", "@blocksuite/affine-shared": "workspace:*", "@blocksuite/affine-widget-drag-handle": "workspace:*", "@blocksuite/affine-widget-edgeless-auto-connect": "workspace:*", "@blocksuite/affine-widget-frame-title": "workspace:*", "@blocksuite/affine-widget-remote-selection": "workspace:*", "@blocksuite/affine-widget-scroll-anchoring": "workspace:*", "@blocksuite/affine-widget-slash-menu": "workspace:*", "@blocksuite/affine-widget-toolbar": "workspace:*", "@blocksuite/block-std": "workspace:*", "@blocksuite/data-view": "workspace:*", "@blocksuite/global": "workspace:*", "@blocksuite/inline": "workspace:*", "@blocksuite/store": "workspace:*", "@blocksuite/sync": "workspace:*", "rxjs": "^7.8.1" }, "exports": { ".": "./src/index.ts", "./effects": "./src/effects.ts", "./block-std": "./src/block-std/index.ts", "./block-std/gfx": "./src/block-std/gfx.ts", "./global": "./src/global/index.ts", "./global/utils": "./src/global/utils.ts", "./global/env": "./src/global/env.ts", "./global/exceptions": "./src/global/exceptions.ts", "./global/di": "./src/global/di.ts", "./global/types": "./src/global/types.ts", "./global/gfx": "./src/global/gfx.ts", "./global/disposable": "./src/global/disposable.ts", "./global/lit": "./src/global/lit.ts", "./store": "./src/store/index.ts", "./store/test": "./src/store/test.ts", "./inline": "./src/inline/index.ts", "./inline/consts": "./src/inline/consts.ts", "./inline/effects": "./src/inline/effects.ts", "./inline/types": "./src/inline/types.ts", "./blocks/attachment": "./src/blocks/attachment.ts", "./blocks/bookmark": "./src/blocks/bookmark.ts", "./blocks/callout": "./src/blocks/callout.ts", "./blocks/code": "./src/blocks/code.ts", "./blocks/data-view": "./src/blocks/data-view.ts", "./blocks/database": "./src/blocks/database.ts", "./blocks/divider": "./src/blocks/divider.ts", "./blocks/edgeless-text": "./src/blocks/edgeless-text.ts", "./blocks/embed": "./src/blocks/embed.ts", "./blocks/frame": "./src/blocks/frame.ts", "./blocks/image": "./src/blocks/image.ts", "./blocks/latex": "./src/blocks/latex.ts", "./blocks/list": "./src/blocks/list.ts", "./blocks/note": "./src/blocks/note.ts", "./blocks/paragraph": "./src/blocks/paragraph.ts", "./blocks/root": "./src/blocks/root.ts", "./blocks/surface": "./src/blocks/surface.ts", "./blocks/surface-ref": "./src/blocks/surface-ref.ts", "./blocks/table": "./src/blocks/table.ts", "./data-view": "./src/data-view/index.ts", "./data-view/effects": "./src/data-view/effects.ts", "./widgets/drag-handle": "./src/widgets/drag-handle.ts", "./widgets/edgeless-auto-connect": "./src/widgets/edgeless-auto-connect.ts", "./widgets/frame-title": "./src/widgets/frame-title.ts", "./widgets/remote-selection": "./src/widgets/remote-selection.ts", "./widgets/scroll-anchoring": "./src/widgets/scroll-anchoring.ts", "./widgets/slash-menu": "./src/widgets/slash-menu.ts", "./widgets/toolbar": "./src/widgets/toolbar.ts", "./fragments/doc-title": "./src/fragments/doc-title.ts", "./fragments/frame-panel": "./src/fragments/frame-panel.ts", "./fragments/outline": "./src/fragments/outline.ts", "./gfx/text": "./src/gfx/text.ts", "./gfx/turbo-renderer": "./src/gfx/turbo-renderer.ts", "./components/block-selection": "./src/components/block-selection.ts", "./components/block-zero-width": "./src/components/block-zero-width.ts", "./components/caption": "./src/components/caption.ts", "./components/card-style-dropdown-menu": "./src/components/card-style-dropdown-menu.ts", "./components/color-picker": "./src/components/color-picker.ts", "./components/context-menu": "./src/components/context-menu.ts", "./components/date-picker": "./src/components/date-picker.ts", "./components/drop-indicator": "./src/components/drop-indicator.ts", "./components/embed-card-modal": "./src/components/embed-card-modal.ts", "./components/filterable-list": "./src/components/filterable-list.ts", "./components/highlight-dropdown-menu": "./src/components/highlight-dropdown-menu.ts", "./components/hover": "./src/components/hover.ts", "./components/icon-button": "./src/components/icon-button.ts", "./components/icons": "./src/components/icons.ts", "./components/link-preview": "./src/components/link-preview.ts", "./components/linked-doc-title": "./src/components/linked-doc-title.ts", "./components/notification": "./src/components/notification.ts", "./components/peek": "./src/components/peek.ts", "./components/portal": "./src/components/portal.ts", "./components/smooth-corner": "./src/components/smooth-corner.ts", "./components/toast": "./src/components/toast.ts", "./components/toggle-button": "./src/components/toggle-button.ts", "./components/toggle-switch": "./src/components/toggle-switch.ts", "./components/toolbar": "./src/components/toolbar.ts", "./components/view-dropdown-menu": "./src/components/view-dropdown-menu.ts", "./components/tooltip-content-with-shortcut": "./src/components/tooltip-content-with-shortcut.ts", "./rich-text": "./src/rich-text/index.ts", "./rich-text/effects": "./src/rich-text/effects.ts", "./shared/adapters": "./src/shared/adapters.ts", "./shared/commands": "./src/shared/commands.ts", "./shared/consts": "./src/shared/consts.ts", "./shared/selection": "./src/shared/selection.ts", "./shared/services": "./src/shared/services.ts", "./shared/styles": "./src/shared/styles.ts", "./shared/theme": "./src/shared/theme.ts", "./shared/types": "./src/shared/types.ts", "./shared/utils": "./src/shared/utils.ts", "./shared/viewport-renderer": "./src/shared/viewport-renderer.ts", "./schemas": "./src/schemas.ts", "./model": "./src/model/index.ts", "./sync": "./src/sync/index.ts", "./adapters": "./src/adapters/index.ts", "./extensions": "./src/extensions/index.ts" }, "files": [ "src", "dist", "!src/__tests__", "!dist/__tests__" ], "version": "0.20.0", "devDependencies": { "@vanilla-extract/vite-plugin": "^5.0.0", "vitest": "3.0.8" } }