{
  "name": "@likec4/diagram",
  "version": "1.58.0",
  "license": "MIT",
  "bugs": "https://github.com/likec4/likec4/issues",
  "homepage": "https://likec4.dev",
  "author": "Denis Davydkov <denis@davydkov.com>",
  "description": "A React component library for rendering software architecture diagrams",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/likec4/likec4.git",
    "directory": "packages/diagram"
  },
  "sponsor": {
    "url": "https://github.com/sponsors/davydkov"
  },
  "files": [
    "dist",
    "**/package.json",
    "*.css",
    "panda.buildinfo.json",
    "!**/*.spec.*",
    "!**/__*/**",
    "!**/*.d.ts.map"
  ],
  "sideEffects": [
    "*.css"
  ],
  "type": "module",
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "exports": {
    ".": {
      "sources": "./src/index.ts",
      "default": {
        "types": "./dist/index.d.ts",
        "import": "./dist/index.js",
        "default": "./dist/index.js"
      }
    },
    "./adhoc-editor": {
      "sources": "./src/adhoc-editor/index.ts",
      "default": {
        "types": "./dist/adhoc-editor/index.d.ts",
        "import": "./dist/adhoc-editor/index.js",
        "default": "./dist/adhoc-editor/index.js"
      }
    },
    "./custom": {
      "sources": "./src/custom/index.ts",
      "default": {
        "types": "./dist/custom/index.d.ts",
        "import": "./dist/custom/index.js",
        "default": "./dist/custom/index.js"
      }
    },
    "./panda.buildinfo.json": "./panda.buildinfo.json",
    "./styles-min.css": "./styles-min.css",
    "./styles-font.css": "./styles-font.css",
    "./styles-xyflow.css": "./styles-xyflow.css",
    "./styles.css": "./styles.css",
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@dagrejs/dagre": "1.1.8",
    "@floating-ui/dom": "^1.7.6",
    "@lume/kiwi": "^0.4.4",
    "@mantine/core": "9.2.2",
    "@mantine/hooks": "9.2.2",
    "@nanostores/media-query": "0.1.2",
    "@nanostores/react": "1.1.0",
    "@react-hookz/web": "^25.2.0",
    "@xstate/react": "6.1.0",
    "@xstate/store": "3.17.5",
    "@zag-js/collection": "^1.33.1",
    "@zag-js/react": "^1.33.1",
    "@zag-js/tree-view": "^1.33.1",
    "bezier-js": "^6.1.4",
    "d3-shape": "^3.2.0",
    "defu": "^6.1.7",
    "fast-equals": "^6.0.0",
    "immer": "^11.1.8",
    "motion": "^12.36.0",
    "nanostores": "1.3.0",
    "react": "19.2.7",
    "react-dom": "19.2.7",
    "react-error-boundary": "^6.1.2",
    "remeda": "^2.37.0",
    "type-fest": "^4.41.0",
    "xstate": "5.32.0",
    "@xyflow/react": "12.11.0",
    "@xyflow/system": "0.0.77",
    "@tabler/icons-react": "3.44.0",
    "@likec4/core": "1.58.0",
    "@likec4/styles": "1.58.0"
  },
  "devDependencies": {
    "@pandacss/dev": "^1.11.1",
    "@statelyai/inspect": "^0.4.0",
    "@types/bezier-js": "^4.1.3",
    "@types/d3-shape": "^3.1.8",
    "@types/node": "~22.19.19",
    "@types/react": "19.2.16",
    "@types/react-dom": "19.2.3",
    "@vitejs/plugin-react": "^6.0.2",
    "oxlint": "1.68.0",
    "postcss": "8.5.15",
    "typescript": "6.0.3",
    "vite": "^8.0.14",
    "vite-plugin-dts": "5.0.2",
    "vitest": "4.1.8",
    "zx": "8.8.5",
    "@likec4/devops": "1.58.0",
    "@likec4/tsconfig": "1.58.0"
  },
  "scripts": {
    "pretypecheck": "pandacss codegen",
    "typecheck": "tsc --build --verbose",
    "prebuild": "pandacss codegen",
    "build": "vite build -m production",
    "pack": "pnpm pack",
    "test": "vitest run --no-isolate",
    "clean": "likec4ops clean",
    "lint": "oxlint --type-aware",
    "lint:fix": "oxlint --type-aware --fix",
    "lint:package": "pnpx publint ./package.tgz"
  },
  "types": "dist/index.d.ts",
  "module": "dist/index.js"
}