{
  "name": "@neo4j-ndl/react",
  "version": "4.9.42",
  "sideEffects": false,
  "description": "React implementation of Neo4j Design System",
  "keywords": [
    "neo4j",
    "react",
    "design system",
    "needle",
    "ndl"
  ],
  "author": "Neo4j Inc.",
  "homepage": "https://www.neo4j.design",
  "license": "GPL-3.0",
  "main": "./lib/cjs/index.js",
  "module": "./lib/esm/index.js",
  "types": "./lib/types/index.d.ts",
  "exports": {
    "./ai": {
      "types": "./lib/types/ai/index.d.ts",
      "require": "./lib/cjs/ai/index.js",
      "import": "./lib/esm/ai/index.js"
    },
    "./next": {
      "types": "./lib/types/next/index.d.ts",
      "require": "./lib/cjs/next/index.js",
      "import": "./lib/esm/next/index.js"
    },
    "./icons": {
      "types": "./lib/types/icons/index.d.ts",
      "require": "./lib/cjs/icons/index.js",
      "import": "./lib/esm/icons/index.js"
    },
    ".": {
      "types": "./lib/types/index.d.ts",
      "require": "./lib/cjs/index.js",
      "import": "./lib/esm/index.js"
    }
  },
  "directories": {
    "lib": "lib",
    "test": "__tests__"
  },
  "files": [
    "lib",
    "icons"
  ],
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@axe-core/playwright": "4.10.2",
    "@playwright/experimental-ct-react": "1.56.0",
    "@playwright/test": "1.56.0",
    "@storybook/addon-docs": "10.2.3",
    "@storybook/react-vite": "10.2.3",
    "@svgr/cli": "6.5.1",
    "@tanstack/react-virtual": "3.13.12",
    "@testing-library/jest-dom": "6.9.1",
    "@testing-library/react": "16.3.0",
    "@types/react": "19.2.10",
    "@types/react-dom": "19.2.3",
    "@types/react-syntax-highlighter": "15.5.13",
    "@types/react-table": "7.7.20",
    "@types/sinon": "17.0.4",
    "@types/tinycolor2": "1.4.6",
    "@types/yargs": "17.0.33",
    "@vitejs/plugin-react": "5.1.2",
    "a11y-contrast-color": "1.1.0",
    "ajv": "8.17.1",
    "chromatic": "13.3.0",
    "happo": "6.2.0",
    "jsdom": "26.1.0",
    "leva": "0.10.0",
    "react": "19.2.4",
    "react-dom": "19.2.4",
    "react-docgen-typescript": "2.4.0",
    "resize-observer-polyfill": "1.5.1",
    "sinon": "21.0.0",
    "tsx": "4.21.0",
    "typescript": "5.9.3",
    "vitest": "3.2.4",
    "yargs": "18.0.0"
  },
  "peerDependencies": {
    "@tanstack/react-table": "8.21.3",
    "react": ">=19.0.0",
    "react-dom": ">=19.0.0",
    "@neo4j-ndl/base": "^4.9.19"
  },
  "dependencies": {
    "@dnd-kit/core": "6.3.1",
    "@dnd-kit/sortable": "10.0.0",
    "@floating-ui/react": "0.27.17",
    "@floating-ui/react-dom": "2.1.7",
    "@heroicons/react": "2.2.0",
    "@neo4j-devtools/word-color": "0.0.8",
    "@uiw/react-color": "2.8.0",
    "classnames": "2.5.1",
    "date-fns": "4.1.0",
    "detect-browser": "5.3.0",
    "eyedropper-polyfill": "1.1.2",
    "re-resizable": "6.11.2",
    "react-aria": "3.43.1",
    "react-datepicker": "8.7.0",
    "react-dropzone": "14.3.8",
    "react-focus-lock": "2.13.6",
    "react-select": "5.10.2",
    "react-stately": "3.41.0",
    "react-syntax-highlighter": "16.1.0",
    "sonner": "2.0.7",
    "streamdown": "1.6.9",
    "tinycolor2": "1.6.0",
    "usehooks-ts": "3.1.1"
  },
  "scripts": {
    "generate-component": "node ./scripts/component-generator.js",
    "docs:generate-json": "pnpm exec tsx ./scripts/docs/generate-json.ts --mode merge",
    "docs:generate-markdown": "pnpm exec tsx ./scripts/docs/generate-markdown.ts",
    "pretest": "pnpm run lint",
    "test": "pnpm run test:unit && pnpm run test:playwright",
    "test:unit": "pnpm exec vitest --run --typecheck --exclude node_modules",
    "test:playwright": "NODE_OPTIONS=--max-old-space-size=8192 pnpm exec playwright test",
    "build": "pnpm run build:esm && pnpm run build:cjs && pnpm run build:types",
    "build:esm": "pnpm exec tsc -p tsconfig.esm.json",
    "build:cjs": "pnpm exec tsc -p tsconfig.cjs.json",
    "watch:esm": "pnpm exec tsc -p tsconfig.esm.json --watch",
    "watch:cjs": "pnpm exec tsc -p tsconfig.cjs.json --watch",
    "build:types": "pnpm exec tsc -p tsconfig.types.json",
    "format": "pnpm exec prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
    "lint": "pnpm exec eslint src",
    "generate:all": "pnpm run generate:custom-icons && pnpm run generate:hero-icons",
    "generate:custom-icons": "pnpm exec svgr --template svgr-template.js --index-template svgr-index-template.js --no-dimensions --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --replace-attr-values '#4D5157=currentColor' --jsx-runtime 'automatic' --out-dir ./src/icons/generated/custom -- ../base/src/icons",
    "generate:hero-icons": "pnpm exec tsx ./scripts/generatedHeroIcons.ts",
    "nuke:local": "../../scripts/cc.sh '{yellow ☢️} Nuking react! {yellow ☢️}' && pnpm dlx rimraf@5.0.5 .tsbuildinfo node_modules lib playwright-report test-results playwright/.cache",
    "test:all-package-scripts": "pnpm run build && pnpm run generate-component test-component && pnpm run pretest && pnpm run prepare && pnpm run format && pnpm run lint && pnpm run generate:custom-icons && pnpm run nuke:local"
  }
}