{
  "name": "@joint/react",
  "title": "JointJS React",
  "version": "4.3.6",
  "description": "React bindings and hooks for JointJS to build interactive diagrams and graphs.",
  "type": "module",
  "sideEffects": [
    "dist/*.css"
  ],
  "main": "dist/esm/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "homepage": "https://jointjs.com",
  "author": {
    "name": "client IO",
    "url": "https://client.io"
  },
  "contributors": [
    "Roman Bruckner <roman@jointjs.com> (https://github.com/kumilingus)",
    "Samuel Gjabel <samuel@jointjs.com> (https://github.com/samuelgja)",
    "Arthur Khokhlov <arthur@jointjs.com> (https://github.com/Geliogabalus)",
    "Martin Kanera <martin@jointjs.com> (https://github.com/MartinKanera)",
    "Zbynek Stara <zbynek@jointjs.com> (https://github.com/zbynekstara)"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/clientIO/joint.git",
    "directory": "packages/joint-react"
  },
  "bugs": {
    "url": "https://github.com/clientIO/joint/issues"
  },
  "license": "MPL-2.0",
  "installConfig": {
    "hoistingLimits": "workspaces"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "prepublishOnly": "echo \"Publishing via NPM is not allowed!\" && exit 1",
    "prepack": "yarn run dist",
    "dist": "yarn run build",
    "build": "rollup -c rollup.config.ts --configPlugin esbuild",
    "build-storybook": "storybook build",
    "storybook": "storybook dev -p 6006",
    "test": "yarn run typecheck && yarn run knip && yarn run test:react19 && yarn run test:react18",
    "test:react19": "jest",
    "test:react18": "jest --config jest.react18.config.mjs",
    "test-coverage": "jest --coverage",
    "test-coverage-lcov": "COVERAGE_REPORTER=lcov yarn run test-coverage",
    "typecheck": "tsc --noEmit",
    "lint": "eslint \"**/*.{ts,tsx}\"",
    "lint-fix": "yarn run lint --fix",
    "format": "prettier --write \"./**/*.{js,jsx,json,ts,tsx}\"",
    "docs:typedoc": "typedoc --router group --out docs/api src",
    "docs:typedoc-md": "typedoc --options typedoc.config.mjs",
    "bench": "jest --selectProjects default --testMatch '<rootDir>/bench/**/*.{test,spec}.ts?(x)'"
  },
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.cjs"
    },
    "./internal": {
      "types": "./dist/types/internal.d.ts",
      "import": "./dist/esm/internal.js",
      "require": "./dist/cjs/internal.cjs"
    },
    "./styles.css": "./dist/styles.css"
  },
  "files": [
    "dist/",
    "./LICENSE",
    "./README.md",
    "./CHANGELOG.md"
  ],
  "dependencies": {
    "@joint/core": "^4.3.3",
    "use-sync-external-store": "^1.6.0"
  },
  "peerDependencies": {
    "react": ">=18",
    "react-dom": ">=18"
  },
  "devDependencies": {
    "@andypf/json-viewer": "^2.1.10",
    "@babel/preset-env": "^7.29.7",
    "@babel/preset-react": "^7.29.7",
    "@babel/preset-typescript": "^7.29.7",
    "@jest/globals": "30.1.2",
    "@joint/eslint-config": "4.3.0",
    "@joint/layout-directed-graph": "^4.3.0",
    "@reduxjs/toolkit": "^2.11.0",
    "@storybook/addon-a11y": "^10.4.2",
    "@storybook/addon-docs": "^10.4.2",
    "@storybook/addon-links": "^10.4.2",
    "@storybook/react": "^10.4.2",
    "@storybook/react-vite": "^10.4.2",
    "@swc/core": "^1.15.11",
    "@swc/jest": "^0.2.39",
    "@tailwindcss/vite": "^4.2.2",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.0.1",
    "@types/jest": "30.0.0",
    "@types/node": "^24.3.0",
    "@types/react": "19.1.12",
    "@types/react-dom": "19.1.9",
    "@types/use-sync-external-store": "1.5.0",
    "@vitejs/plugin-react": "^5.0.2",
    "babel-jest": "30",
    "babel-plugin-react-compiler": "^1.0.0",
    "canvas": "^3.1.0",
    "esbuild": "0.25.12",
    "eslint": "9.39.2",
    "eslint-plugin-storybook": "^10.4.2",
    "jest": "30.1.2",
    "jest-environment-jsdom": "30.1.2",
    "jotai": "^2.15.2",
    "knip": "6.21.0",
    "peerjs": "^1.5.5",
    "prettier": "3.3.3",
    "react": "^19.1.1",
    "react-dom": "^19.1.1",
    "react-redux": "^9.2.0",
    "react-scan": "^0.4.3",
    "react18": "npm:react@18.3.1",
    "react18-dom": "npm:react-dom@18.3.1",
    "redux": "^5.0.1",
    "redux-undo": "1.1.0",
    "rollup": "^4.50.0",
    "rollup-plugin-banner2": "^1.2.2",
    "rollup-plugin-dts": "^6.4.1",
    "rollup-plugin-esbuild": "^6.2.1",
    "storybook": "^10.4.2",
    "storybook-multilevel-sort": "^2.1.0",
    "tailwindcss": "^4.2.2",
    "tinybench": "^6.0.0",
    "typedoc": "^0.28.5",
    "typedoc-github-theme": "^0.3.0",
    "typedoc-plugin-markdown": "^4.6.4",
    "typescript": "^5.9.2",
    "vite": "^8",
    "vite-plugin-md": "0.22.5",
    "zustand": "^5.0.9"
  },
  "resolutions": {
    "react": "19.1.1",
    "react-dom": "19.1.1",
    "@types/react": "19.1.12",
    "@types/react-dom": "19.1.9",
    "@types/react-test-renderer": "19.1.0"
  },
  "volta": {
    "node": "22.14.0",
    "npm": "11.2.0",
    "yarn": "4.18.0"
  },
  "keywords": [
    "jointjs",
    "react",
    "diagramming",
    "graph",
    "flowchart",
    "uml",
    "visualization",
    "editor",
    "drawing",
    "stencil"
  ]
}