{
  "name": "@itwin/core-react",
  "version": "5.27.1",
  "description": "A react component library of iTwin.js UI general purpose components",
  "type": "module",
  "types": "./lib/core-react.d.ts",
  "exports": {
    ".": "./lib/core-react.js",
    "./internal": "./lib/internal.js",
    "./package.json": "./package.json",
    "./lib/cjs/*": {
      "sass": "./lib/*"
    },
    "./lib/esm/*": {
      "sass": "./lib/*"
    },
    "./*": {
      "sass": "./*"
    }
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/iTwin/appui.git",
    "directory": "ui/core-react"
  },
  "keywords": [
    "AppUI",
    "Bentley",
    "BIM",
    "iModel",
    "digital-twin",
    "iTwin"
  ],
  "author": {
    "name": "Bentley Systems, Inc.",
    "url": "http://www.bentley.com"
  },
  "peerDependencies": {
    "@itwin/appui-abstract": "^4.0.0 || ^5.0.0",
    "@itwin/core-bentley": "^4.0.0 || ^5.0.0",
    "@itwin/itwinui-react": "^3.15.0",
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "devDependencies": {
    "@itwin/appui-abstract": "^5.1.0",
    "@itwin/build-tools": "^5.7.0",
    "@itwin/core-bentley": "^5.1.0",
    "@itwin/core-common": "^5.1.0",
    "@itwin/core-geometry": "^5.1.0",
    "@itwin/core-i18n": "^5.1.0",
    "@itwin/eslint-plugin": "^6.0.0",
    "@itwin/itwinui-react": "^3.20.1",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/lodash": "^4.17.23",
    "@types/react": "^19.2.7",
    "@types/react-autosuggest": "10.1.2",
    "@types/react-dom": "^19.2.3",
    "@vitest/coverage-v8": "^3.0.6",
    "cpx2": "^3.0.0",
    "cross-env": "^5.1.4",
    "eslint": "^9.39.2",
    "eslint-config-prettier": "^10.1.8",
    "ignore-styles": "^5.0.1",
    "jsdom": "^24.0.0",
    "npm-run-all": "^4.1.5",
    "raf": "^3.4.0",
    "react": "^19.2.1",
    "react-dom": "^19.2.1",
    "rimraf": "^6.1.0",
    "typemoq": "^2.1.0",
    "typescript": "~5.6.2",
    "upath": "^2.0.1",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "@itwin/itwinui-icons-react": "^2.8.0",
    "classnames": "2.5.1",
    "dompurify": "^3.3.2",
    "lodash": "^4.17.23",
    "react-autosuggest": "^10.1.0",
    "ts-key-enum": "~2.0.12"
  },
  "scripts": {
    "start": "run-p -l \"build -- -w\" \"copy:** -- -w\"",
    "build": "npm run copy:css && npm run compat:css && npm run copy:locale && tsc",
    "copy:css": "cpx \"./src/**/*.{*css,svg}\" ./lib",
    "copy:locale": "cpx ./src/core-react/UiCore.json ./lib/public/locales/en",
    "compat:css": "npm run compat:cjs && npm run compat:esm",
    "compat:cjs": "cpx \"./src/**/*.{*css,svg}\" ./lib/cjs",
    "compat:esm": "cpx \"./src/**/*.{*css,svg}\" ./lib/esm",
    "clean": "rimraf -g lib",
    "cover": "vitest run --coverage",
    "lint": "eslint \"./src/**/*.{ts,tsx}\"",
    "lint:fix": "npm run -s lint -- --fix",
    "extract-api": "betools extract-api --entry=./lib/core-react --apiReportFolder=../../common/api --apiReportTempFolder=../../common/temp/api --apiSummaryFolder=../../common/api/summary",
    "test": "vitest",
    "docs": "npm run -s docs:reference && npm run -s docs:changelog",
    "docs:changelog": "cpx ./CHANGELOG.md ../../generated-docs/reference/core-react",
    "docs:reference": "cross-env NODE_PROJECT_ROOT_DIRECTORY=../../ betools docs --includes=../../generated-docs/extract --json=../../generated-docs/reference/core-react/file.json --tsIndexFile=./core-react.ts --onlyJson"
  }
}