{
  "author": "SMAKSS",
  "bugs": {
    "url": "https://github.com/SMAKSS/react-scroll-direction/issues"
  },
  "description": "Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes with adjustable sensitivity and supports ES Modules.",
  "devDependencies": {
    "@commitlint/cli": "^20.4.0",
    "@commitlint/config-conventional": "^20.4.0",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/commit-analyzer": "^13.0.1",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^12.0.3",
    "@semantic-release/npm": "^13.1.3",
    "@semantic-release/release-notes-generator": "^14.1.0",
    "@testing-library/react": "^16.3.0",
    "@types/react": "^19.2.10",
    "@typescript-eslint/eslint-plugin": "^8.54.0",
    "@typescript-eslint/parser": "^8.54.0",
    "@vitest/coverage-v8": "^2.1.9",
    "eslint": "^9.39.2",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.5",
    "eslint-plugin-react-hooks": "^7.0.1",
    "husky": "^9.1.7",
    "jsdom": "^27.4.0",
    "lint-staged": "^16.2.7",
    "prettier": "^3.8.1",
    "prettier-plugin-organize-imports": "^4.3.0",
    "react": "^19.2.4",
    "react-dom": "^19.2.4",
    "semantic-release": "^25.0.3",
    "typescript": "^5.9.3",
    "vite": "^7.3.1",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^2.1.9"
  },
  "engines": {
    "node": ">=22.14.0"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "files": [
    "dist"
  ],
  "homepage": "https://github.com/SMAKSS/react-scroll-direction#readme",
  "keywords": [
    "react-scroll-direction",
    "scroll-position-react",
    "react-hook-scroll-position",
    "scroll-detection-react",
    "scroll-position-detection",
    "scroll-direction-detection",
    "react-hook-scroll",
    "direction-and-position-detection",
    "scroll-hook",
    "npm",
    "pnpm",
    "react",
    "remix",
    "nextjs",
    "gatsby",
    "scroll",
    "direction",
    "position",
    "SMAKSS",
    "EcmaScript",
    "TypeScript",
    "detect scroll in react",
    "react scroll position",
    "react scroll direction and position"
  ],
  "license": "MIT",
  "main": "dist/index.js",
  "name": "@smakss/react-scroll-direction",
  "peerDependencies": {
    "react": ">=16.8.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/SMAKSS/react-scroll-direction.git"
  },
  "scripts": {
    "format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
    "format:check": "prettier -l \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
    "build": "rm -rf dist && vite build",
    "build:playground": "pnpm -C playground build",
    "generate": "rm -rf dist && vite build",
    "lint:main": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings=0 \"src/**/*.{js,jsx,ts,tsx}\" eslint.config.js vite.config.ts --no-warn-ignored",
    "lint:playground": "pnpm -C playground lint",
    "lint": "pnpm lint:main && pnpm lint:playground",
    "lint:fix:main": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\" eslint.config.js vite.config.ts --no-warn-ignored",
    "lint:fix:playground": "pnpm -C playground eslint --fix . --no-warn-ignored",
    "prepare": "if [ \"$NODE_ENV\" != \"production\" ]; then husky; fi",
    "setup": "pnpm install && husky",
    "release": "semantic-release",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "typecheck:main": "tsc -b .",
    "typecheck:playground": "pnpm build && pnpm -C playground exec tsc -p tsconfig.json",
    "typecheck": "pnpm typecheck:main && pnpm typecheck:playground",
    "update:deps": "rm -rf node_modules pnpm-lock.yaml && npx npm-check-updates -u && pnpm install"
  },
  "type": "module",
  "types": "./dist/index.d.ts",
  "version": "4.3.1"
}
