UNPKG

@lumina-study/blocks-graph

Version:

Framework-agnostic Web Component for visualizing Lumina Study block schemas

145 lines 4.23 kB
{ "name": "@lumina-study/blocks-graph", "version": "0.1.7", "description": "Framework-agnostic Web Component for visualizing Lumina Study block schemas", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./react": { "types": "./dist/wrappers/react/index.d.ts", "import": "./dist/wrappers/react/index.js" }, "./vue": { "types": "./dist/wrappers/vue/index.d.ts", "import": "./dist/wrappers/vue/index.js" }, "./angular": { "types": "./dist/wrappers/angular/index.d.ts", "import": "./dist/wrappers/angular/index.js" } }, "files": [ "dist", "README.md" ], "keywords": [ "visualization", "graph", "blocks", "web-component", "custom-element", "lumina-study", "schema" ], "author": "Lumina Study", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/luminastudy/blocks-graph.git" }, "bugs": { "url": "https://github.com/luminastudy/blocks-graph/issues" }, "homepage": "https://github.com/luminastudy/blocks-graph#readme", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/cli": "^20.1.0", "@commitlint/config-conventional": "^20.0.0", "@cspell/dict-he": "^4.0.5", "@storybook/addon-a11y": "^8.6.14", "@storybook/addon-essentials": "^8.6.14", "@storybook/addon-interactions": "^8.6.14", "@storybook/test": "^8.6.14", "@storybook/web-components": "^8.6.14", "@storybook/web-components-vite": "^8.6.14", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@types/node": "^24.10.1", "@types/react": "^19.2.6", "@vitest/coverage-v8": "^4.0.13", "@vitest/ui": "^4.0.13", "canvas": "3.2.0", "cspell": "^9.3.2", "esbuild": "^0.27.0", "eslint": "^9.39.1", "eslint-config-agent": "^1.8.7", "eslint-config-publishable-package-json": "^1.0.0", "husky": "^9.1.7", "jsdom": "^27.2.0", "knip": "^5.70.1", "lint-staged": "^16.2.7", "lit": "^3.3.1", "loki": "^0.35.1", "prettier": "^3.6.2", "release-it": "^19.0.6", "storybook": "^8.6.14", "typescript": "^5.9.3", "vite": "^7.2.4", "vitest": "^4.0.13" }, "engines": { "node": ">=20.0.0", "pnpm": ">=10.21.0" }, "dependencies": { "@lumina-study/block-schema": "^1.0.1", "ajv": "^8.17.1", "ajv-formats": "^3.0.1" }, "peerDependencies": { "react": ">=16.8.0" }, "peerDependenciesMeta": { "react": { "optional": true } }, "loki": { "configurations": { "chrome.laptop": { "target": "chrome.docker", "width": 1366, "height": 768 } }, "chromeSelector": "blocks-graph, .sb-show-main", "diffingEngine": "pixelmatch", "pixelmatch": { "threshold": 0.1 }, "storybookStaticBuildPath": "storybook-static" }, "scripts": { "build": "pnpm run build:types && pnpm run build:bundle", "build:types": "tsc --emitDeclarationOnly && node scripts/update-wrapper-types.mjs", "build:bundle": "node build.mjs", "preserve": "pnpm build", "serve": "pnpm dlx http-server --cors", "test": "vitest run", "test:ui": "vitest --ui", "test:coverage": "vitest --coverage", "test:visual": "pnpm build-storybook && pnpm loki test", "test:visual:update": "pnpm build-storybook && pnpm loki update", "test:visual:approve": "pnpm loki approve", "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,mjs,json,md}\"", "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mjs,json,md}\"", "typecheck": "tsc --noEmit", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "release": "release-it", "spell": "cspell lint --no-progress --show-suggestions \"**/*.{ts,tsx,js,jsx,mjs,md,json}\"", "spell:check": "cspell lint --no-progress \"**/*.{ts,tsx,js,jsx,mjs,md,json}\"", "knip": "knip" } }