{
  "name": "react-intersection-observer-fork",
  "version": "8.26.1",
  "description": "Monitor if a component is inside the viewport, using IntersectionObserver API",
  "source": "src/index.tsx",
  "main": "dist/react-intersection-observer.js",
  "module": "dist/react-intersection-observer.m.js",
  "esmodule": "dist/react-intersection-observer.esm.js",
  "unpkg": "dist/react-intersection-observer.umd.js",
  "typings": "dist/index.d.ts",
  "author": "Daniel Schmidt",
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/thebuilder/react-intersection-observer.git"
  },
  "license": "MIT",
  "keywords": [
    "react",
    "component",
    "hooks",
    "viewport",
    "intersection",
    "observer",
    "lazy load",
    "inview",
    "useInView",
    "useIntersectionObserver"
  ],
  "prettier": {
    "singleQuote": true,
    "trailingComma": "all",
    "proseWrap": "always"
  },
  "eslintIgnore": [
    "*.snap",
    "test-utils.js",
    "dist/**",
    "lib/**",
    "example/**",
    "webpack.config.js"
  ],
  "scripts": {
    "coveralls": "cat ./coverage/lcov.info | coveralls",
    "prebuild": "del -rf dist lib",
    "build": "run-s build:*",
    "build:bundle": "microbundle --name ReactIntersectionObserver --jsx React.createElement -f cjs,umd,es,modern --no-compress",
    "build:utils": "tsc -p tsconfig.test.json",
    "build:copy": "node scripts/build-copy.js",
    "dev": "concurrently -k -r 'jest --watch' 'yarn run storybook'",
    "lint": "eslint . --ext js,ts,tsx",
    "release": "np --contents dist",
    "version": "yarn build",
    "pretty": "prettier '**/*.{js,ts,tsx,md,json,yml,html}' --write",
    "storybook": "start-storybook -p 9000",
    "storybook:build": "build-storybook --output-dir example",
    "test": "jest"
  },
  "release": {
    "branches": [
      "master",
      {
        "name": "beta",
        "prerelease": true
      }
    ],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      [
        "@semantic-release/npm",
        {
          "pkgRoot": "dist"
        }
      ],
      "@semantic-release/github"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "tsc && lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,json,css,md,ts,tsx}": [
      "prettier --write",
      "git add"
    ],
    "src/**/*.{ts,tsx}": [
      "eslint",
      "jest --findRelatedTests"
    ]
  },
  "eslintConfig": {
    "extends": [
      "react-app"
    ],
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint",
      "react-hooks"
    ],
    "settings": {
      "react": {
        "version": "detect"
      }
    },
    "rules": {
      "@typescript-eslint/no-angle-bracket-type-assertion": 0,
      "no-unused-vars": 0,
      "react-hooks/rules-of-hooks": "error",
      "react-hooks/exhaustive-deps": "warn"
    }
  },
  "jest": {
    "testEnvironment": "jsdom",
    "setupFilesAfterEnv": [
      "@testing-library/jest-dom/extend-expect"
    ],
    "modulePathIgnorePatterns": [
      "/dist/"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "/src/test-utils.ts",
      "jest-setup.js"
    ]
  },
  "dependencies": {},
  "peerDependencies": {
    "react": "^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.12.10",
    "@babel/core": "^7.12.10",
    "@babel/plugin-proposal-class-properties": "^7.12.1",
    "@babel/plugin-transform-runtime": "^7.12.10",
    "@babel/preset-env": "^7.12.11",
    "@babel/preset-flow": "^7.9.0",
    "@babel/preset-react": "^7.12.10",
    "@babel/preset-typescript": "^7.12.7",
    "@storybook/addon-actions": "^6.1.14",
    "@storybook/addon-controls": "^6.1.14",
    "@storybook/addon-docs": "^6.1.14",
    "@storybook/addon-viewport": "^6.1.14",
    "@storybook/react": "^6.1.14",
    "@storybook/theming": "^6.1.14",
    "@testing-library/jest-dom": "^5.11.9",
    "@testing-library/react": "^11.2.3",
    "@types/jest": "^26.0.20",
    "@types/react": "^17.0.0",
    "@types/react-dom": "^17.0.0",
    "@typescript-eslint/eslint-plugin": "^4.13.0",
    "@typescript-eslint/parser": "^4.13.0",
    "autoprefixer": "^9",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.6.3",
    "babel-loader": "^8.2.2",
    "babel-plugin-dev-expression": "^0.2.2",
    "concurrently": "^5.1.0",
    "coveralls": "^3.0.11",
    "eslint": "^7.18.0",
    "eslint-config-react-app": "^6.0.0",
    "eslint-plugin-flowtype": "^5.2.0",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.22.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "framer-motion": "^3.2.1",
    "husky": "^4.3.8",
    "intersection-observer": "^0.12.0",
    "jest": "^26.6.3",
    "lint-staged": "^10.5.2",
    "microbundle": "^0.13.0",
    "npm-run-all": "^4.1.5",
    "postcss": "^7.0.35",
    "prettier": "^2.2.0",
    "prettier-plugin-pkg": "^0.8.0",
    "prettier-plugin-tailwind": "^2.2.8",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-test-renderer": "^17.0.1",
    "storybook-dark-mode": "^1.0.3",
    "tailwindcss": "npm:@tailwindcss/postcss7-compat",
    "typescript": "^4.1.3"
  },
  "resolutions": {
    "react": "^17.0.1",
    "react-dom": "^17.0.1"
  }
}