{
  "name": "react-fit",
  "version": "1.5.1",
  "description": "Fit a popover element on the screen.",
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "source": "src/index.ts",
  "types": "dist/cjs/index.d.ts",
  "scripts": {
    "build": "yarn build-esm && yarn build-cjs",
    "build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
    "build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
    "clean": "rimraf dist",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
    "prepack": "yarn clean && yarn build",
    "prettier": "prettier --check . --cache",
    "test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
    "tsc": "tsc --noEmit",
    "unit": "vitest run"
  },
  "keywords": [
    "react",
    "collision",
    "collision-detection",
    "position"
  ],
  "author": {
    "name": "Wojciech Maj",
    "email": "kontakt@wojtekmaj.pl"
  },
  "license": "MIT",
  "dependencies": {
    "@types/react": "*",
    "@types/react-dom": "*",
    "detect-element-overflow": "^1.3.1",
    "prop-types": "^15.6.0",
    "tiny-warning": "^1.0.0"
  },
  "devDependencies": {
    "@testing-library/dom": "^9.0.0",
    "@testing-library/jest-dom": "^5.15.0",
    "@testing-library/react": "^14.0.0",
    "@testing-library/user-event": "^14.4.0",
    "eslint": "^8.26.0",
    "eslint-config-wojtekmaj": "^0.8.2",
    "husky": "^8.0.0",
    "jsdom": "^21.1.0",
    "prettier": "^2.7.0",
    "pretty-quick": "^3.1.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "rimraf": "^3.0.0",
    "typescript": "^5.0.2",
    "vitest": "^0.29.2"
  },
  "peerDependencies": {
    "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
    "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
  },
  "files": [
    "dist",
    "src"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/wojtekmaj/react-fit.git"
  },
  "funding": "https://github.com/wojtekmaj/react-fit?sponsor=1",
  "packageManager": "yarn@3.1.0"
}