{
  "name": "@thednp/position-observer",
  "version": "1.1.6",
  "author": "thednp",
  "license": "MIT",
  "description": "🏯 PositionObserver is a JavaScript tool that provides a way to asynchronously observe changes in the position of a target element within its viewport.",
  "homepage": "https://thednp.github.io/position-observer/",
  "source": "./src/index.ts",
  "types": "./dist/index.d.ts",
  "type": "module",
  "exports": {
    ".": "./dist/index.js",
    "./package.json": "./package.json"
  },
  "bugs": {
    "url": "https://github.com/thednp/position-observer/issues"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md",
    "CHANGELOG.md",
    "AGENTS.md",
    "llms.txt",
    "package.json"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/thednp/position-observer.git"
  },
  "keywords": [
    "position-observer",
    "observer",
    "intersection",
    "resize",
    "position",
    "typescript"
  ],
  "devDependencies": {
    "@types/node": "^26.4.1",
    "@vitest/browser": "^4.1.11",
    "@vitest/browser-playwright": "^4.1.11",
    "@vitest/coverage-istanbul": "^4.1.11",
    "@vitest/ui": "^4.1.11",
    "playwright": "^1.62.1",
    "tsdown": "^0.22.14",
    "typescript": "7.0.2",
    "vite": "^8.2.2",
    "vitest": "^4.1.11"
  },
  "engines": {
    "node": ">=16",
    "pnpm": ">=8.6.0"
  },
  "scripts": {
    "pre-test": "pnpm clean-coverage",
    "dev": "vite --open ./demo/index.html --port 8577",
    "serve": "vite --open ./docs/index.html --port 8577",
    "test": "pnpm pre-test && vitest --browser.headless",
    "test-ui": "pnpm pre-test && vitest --browser --ui",
    "clean-coverage": "rm -rf coverage .nyc_output",
    "badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
    "build": "tsdown",
    "build_": "vite build",
    "build:all": "pnpm build && pnpm build:docs",
    "build:docs": "vite build demo --config demo/vite.config.ts",
    "lint": "pnpm lint:ts",
    "lint:ts": "deno lint src",
    "fix:ts": "deno lint --fix src",
    "format": "deno fmt src",
    "check:ts": "tsc --noEmit",
    "up:deno": "deno update --latest && deno run -A scripts/update-deno.js"
  }
}