{
  "name": "@thednp/position-observer",
  "version": "1.0.7",
  "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",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.mjs"
    }
  },
  "bugs": {
    "url": "https://github.com/thednp/position-observer/issues"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/thednp/position-observer.git"
  },
  "keywords": [
    "position-observer",
    "observer",
    "intersection",
    "resize",
    "position",
    "typescript"
  ],
  "dependencies": {
    "@thednp/shorty": "^2.0.10"
  },
  "devDependencies": {
    "@types/node": "^20.17.9",
    "@vitest/browser": "^2.1.8",
    "@vitest/coverage-istanbul": "^2.1.8",
    "@vitest/ui": "^2.1.8",
    "playwright": "^1.49.0",
    "typescript": "5.6.3",
    "vite": "^5.4.11",
    "vite-plugin-dts": "^4.3.0",
    "vitest": "^2.1.8"
  },
  "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 --config vitest.config.mts",
    "test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts --browser=chrome",
    "clean-coverage": "rm -rf coverage .nyc_output",
    "badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
    "build": "pnpm vite build",
    "build:all": "pnpm build && pnpm build:docs",
    "build:docs": "vite build demo --config demo/vite.config.mts",
    "lint": "deno lint src && pnpm check:ts",
    "format": "deno fmt src",
    "check:ts": "tsc --noEmit"
  }
}