{
  "name": "react-if",
  "workspaces": [
    "demo/"
  ],
  "version": "4.1.6",
  "description": "🌗 Render React components conditionally",
  "author": "Romain Ruetschi <romain.ruetschi@gmail.com>",
  "license": "MIT",
  "main": "dist/index.js",
  "module": "dist/react-if.esm.js",
  "types": "dist/index.d.ts",
  "exports": {
    "import": "./dist/react-if.esm.js",
    "require": "./dist/index.js",
    "types": "./dist/index.d.ts"
  },
  "sideEffects": false,
  "homepage": "https://github.com/romac/react-if",
  "files": [
    "dist"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/romac/react-if.git"
  },
  "scripts": {
    "start": "dts watch --tsconfig ./src/tsconfig.json",
    "build": "dts build --tsconfig ./src/tsconfig.json",
    "typecheck": "tsc -p tsconfig.eslint.json",
    "test": "dts test",
    "lint": "eslint src test demo --fix",
    "format": "prettier --write \"{src,tests}/**/*.{ts,tsx}\"",
    "update": "yarn upgrade-interactive",
    "docs": "typedoc",
    "bump": "cliff-jumper",
    "check-update": "cliff-jumper --dry-run",
    "prepack": "yarn build"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@favware/cliff-jumper": "^6.0.0",
    "@sapphire/eslint-config": "^5.0.6",
    "@sapphire/prettier-config": "^2.0.0",
    "@sapphire/ts-config": "^5.0.1",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.3.0",
    "@types/entities": "^2.0.2",
    "@types/node": "^22.15.23",
    "@types/react": "^19.1.6",
    "@types/react-dom": "^19.1.5",
    "@typescript-eslint/eslint-plugin": "^8.33.0",
    "@typescript-eslint/parser": "^8.33.0",
    "ansi-regex": "^6.1.0",
    "cz-conventional-changelog": "^3.3.0",
    "dts-cli": "^2.0.5",
    "eslint": "^9.27.0",
    "eslint-config-prettier": "^10.1.5",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "eslint-plugin-prettier": "^5.4.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^5.2.0",
    "jest": "^29.7.0",
    "lint-staged": "^16.1.0",
    "prettier": "^3.5.3",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "ts-jest": "^29.3.4",
    "typedoc": "^0.28.5",
    "typedoc-plugin-markdown": "^4.6.3",
    "typescript": "^5.8.3"
  },
  "engines": {
    "node": ">=12"
  },
  "peerDependencies": {
    "react": "^16.x || ^17.x || ^18.x || ^19.x"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*": "prettier --ignore-unknown --write",
    "*.{mjs,js,ts,tsx}": "eslint --fix --ext mjs,js,ts,tsx"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "resolutions": {
    "prettier": "^3.5.3",
    "@types/react": "^19.1.5",
    "@types/react-dom": "^19.1.5",
    "@typescript-eslint/eslint-plugin": "^8.32.1",
    "@typescript-eslint/parser": "^7.13.1",
    "cz-conventional-changelog": "^3.3.0",
    "eslint-config-prettier": "^10.1.5",
    "eslint-config-react-app": "^7.0.1",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "eslint-plugin-prettier": "^5.4.0",
    "eslint-plugin-react-hooks": "^5.2.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint": "^8.57.1",
    "react-dom": "^19.1.0",
    "ansi-regex": "^5.0.1",
    "minimist": "^1.2.8",
    "react": "^19.1.0",
    "@sapphire/ts-config@^4.0.1": "patch:@sapphire/ts-config@npm%3A4.0.0#./.yarn/patches/@sapphire-ts-config-npm-4.0.0-cfd20d4fc5.patch",
    "@types/testing-library__jest-dom@^5.14.8": "patch:@types/testing-library__jest-dom@npm%3A5.14.7#./.yarn/patches/@types-testing-library__jest-dom-npm-5.14.7-9c1df8c5da.patch",
    "@types/testing-library__jest-dom@^5.9.1": "patch:@types/testing-library__jest-dom@npm%3A5.14.7#./.yarn/patches/@types-testing-library__jest-dom-npm-5.14.7-9c1df8c5da.patch"
  },
  "packageManager": "yarn@4.9.1"
}