{
  "name": "@itwin/presentation-hierarchies-react",
  "version": "2.0.3",
  "description": "React components based on `@itwin/presentation-hierarchies`",
  "license": "MIT",
  "author": {
    "name": "Bentley Systems, Inc.",
    "url": "http://www.bentley.com"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/iTwin/presentation.git",
    "directory": "packages/hierarchies-react"
  },
  "keywords": [
    "Bentley",
    "Component",
    "Components",
    "EC",
    "ECSQL",
    "Hierarchies",
    "Hierarchy",
    "iModel",
    "iTwin",
    "iTwin.js",
    "Presentation",
    "React",
    "Tree"
  ],
  "type": "module",
  "types": "lib/presentation-hierarchies-react.d.ts",
  "exports": {
    ".": {
      "types": "./lib/presentation-hierarchies-react.d.ts",
      "import": "./lib/presentation-hierarchies-react.js"
    },
    "./stratakit": {
      "types": "./lib/presentation-hierarchies-react-stratakit.d.ts",
      "import": "./lib/presentation-hierarchies-react-stratakit.js"
    },
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@itwin/core-bentley": "^5.15.1",
    "@stratakit/structures": "0.6.2",
    "@tanstack/react-virtual": "^3.14.26",
    "classnames": "^2.5.1",
    "immer": "^10.2.0",
    "react-compiler-runtime": "^1.0.0",
    "react-error-boundary": "^4.1.2",
    "rxjs": "^7.8.2",
    "@itwin/presentation-hierarchies": "^2.1.1",
    "@itwin/presentation-shared": "^2.2.1",
    "@itwin/unified-selection": "^2.0.3"
  },
  "peerDependencies": {
    "@mui/material": "^9.5.0",
    "@stratakit/foundations": "^1.0.4",
    "@stratakit/icons": "^0.4.7",
    "@stratakit/mui": "^1.2.0",
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "peerDependenciesMeta": {
    "@mui/material": {
      "optional": true
    },
    "@stratakit/icons": {
      "optional": true
    },
    "@stratakit/foundations": {
      "optional": true
    },
    "@stratakit/mui": {
      "optional": true
    }
  },
  "devDependencies": {
    "@itwin/build-tools": "^5.15.1",
    "@mui/material": "^9.5.0",
    "@rolldown/plugin-babel": "^0.2.4",
    "@stratakit/foundations": "^1.1.1",
    "@stratakit/mui": "^1.3.1",
    "@testing-library/dom": "^10.4.2",
    "@testing-library/react": "^16.3.3",
    "@testing-library/user-event": "^14.6.10",
    "@types/node": "^24.19.2",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@typescript/native": "npm:typescript@~7.0.2",
    "@vitejs/plugin-react": "^6.3.0",
    "@vitest/browser-playwright": "^4.1.12",
    "@vitest/coverage-v8": "^4.1.12",
    "axe-core": "^4.14.0",
    "babel-plugin-react-compiler": "^1.0.0",
    "happy-dom": "^21.0.4",
    "playwright": "^1.65.1",
    "react": "^19.3.1",
    "react-dom": "^19.3.1",
    "rimraf": "^6.1.4",
    "tsdown": "^0.22.14",
    "typescript": "npm:@typescript/typescript6@~6.0.2",
    "vitest": "^4.1.12",
    "vitest-browser-react": "^2.3.0",
    "presentation-test-utilities": "0.0.1"
  },
  "scripts": {
    "build": "npm run -s typecheck && tsdown && npm run -s build:locale && npm run -s copy",
    "build:locale": "tsc -p tsconfig.utils.json && node ./lib/build/utils/BuildLocale.js",
    "copy": "npm run -s copy:css && npm run -s copy:assets",
    "copy:css": "cpx \"./src/**/*.css\" \"./lib\"",
    "copy:assets": "cpx \"./src/public/**/*\" \"./lib/public\"",
    "clean": "rimraf lib build",
    "cover": "npm -s test",
    "lint": "oxlint src",
    "lint:no-internal": "eslint \"./src/**/*.{ts,tsx}\"",
    "test": "vitest run --project hierarchies-react-unit",
    "test:watch": "vitest --project hierarchies-react-unit",
    "test:components": "vitest run --project hierarchies-react-components",
    "test:components:update": "vitest run --project hierarchies-react-components --update",
    "extract-api": "betools extract-api --entry=lib/presentation-hierarchies-react-extract --apiReportFolder=./api --apiReportTempFolder=./api/temp --apiSummaryFolder=./api --includeUnexportedApis",
    "check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/presentation-hierarchies-react-extract.api.md",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "update-extractions": "node ../../scripts/updateExtractions.js --targets=./README.md",
    "check-extractions": "node ../../scripts/updateExtractions.js --targets=./README.md --check",
    "validate-markdowns": "node ../../scripts/validateMarkdowns.js README.md",
    "install-browsers": "pnpm playwright install chromium"
  }
}