{
  "name": "@oddbird/popover-polyfill",
  "version": "0.3.8",
  "description": "Popover Attribute Polyfill",
  "license": "BSD-3-Clause",
  "publishConfig": {
    "access": "public"
  },
  "author": "OddBird <birds@oddbird.net> (oddbird.net)",
  "repository": {
    "type": "git",
    "url": "https://github.com/oddbird/popover-polyfill.git"
  },
  "bugs": "https://github.com/oddbird/popover-polyfill/issues",
  "homepage": "https://github.com/oddbird/popover-polyfill",
  "keywords": [
    "css",
    "polyfill",
    "popover"
  ],
  "type": "module",
  "main": "./dist/popover-fn.js",
  "module": "./dist/popover.js",
  "browser": "./dist/popover.iife.min.js",
  "unpkg": "./dist/popover.min.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/popover.js",
      "browser": "./dist/popover.iife.min.js",
      "require": "./dist/popover.js"
    },
    "./fn": {
      "types": "./dist/index-fn.d.ts",
      "import": "./dist/popover-fn.js"
    }
  },
  "typesVersions": {
    "*": {
      "fn": [
        "./dist/index-fn.d.ts"
      ]
    }
  },
  "files": [
    "README.md",
    "src/**/*.ts",
    "dist/**/*.{ts,js,map}",
    "package.json"
  ],
  "sideEffects": [
    "./src/index.ts",
    "./dist/popover.js",
    "./dist/popover.min.js",
    "./dist/popover.iife.min.js"
  ],
  "scripts": {
    "build:iife": "esbuild --bundle src/index.ts --outfile=dist/popover.iife.min.js --format=iife --minify --sourcemap",
    "build:esm": "esbuild --bundle src/index.ts --outfile=dist/popover.js --format=esm --sourcemap",
    "build:esm-min": "esbuild --bundle src/index.ts --outfile=dist/popover.min.js --format=esm --minify --sourcemap",
    "build:esm-fn": "esbuild --bundle src/index-fn.ts --outfile=dist/popover-fn.js --format=esm --sourcemap",
    "clean": "rm -rf dist",
    "build": "run-s clean build:* types",
    "server:start": "esbuild --bundle src/index.ts --format=esm --servedir=. --outdir=dist --sourcemap --serve=\"${PORT:-3000}\" --log-level=\"${LEVEL:-info}\"",
    "serve": "run-s build server:start",
    "tsc": "tsc --noEmit",
    "types": "tsc --emitDeclarationOnly",
    "prettier:check": "prettier --check .",
    "prettier:fix": "prettier --write .",
    "eslint:check": "eslint .",
    "eslint:fix": "npm run eslint:check -- --fix",
    "format:js": "run-s prettier:fix eslint:fix tsc",
    "format": "run-p format:*",
    "lint:js": "run-s prettier:check eslint:check tsc",
    "lint": "run-p lint:*",
    "test:unit": "playwright test",
    "test:e2e": "echo No e2e tests yet",
    "test:e2e:ci": "echo No e2e tests yet",
    "test": "run-p test:unit test:e2e",
    "test:ci": "run-p test:unit test:e2e:ci",
    "prepare": "husky install",
    "prepack": "npm run build"
  },
  "devDependencies": {
    "@playwright/test": "1.33.0",
    "@types/node": "*",
    "@typescript-eslint/eslint-plugin": "^6.19.0",
    "@typescript-eslint/parser": "^6.19.0",
    "esbuild": "^0.19.11",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-simple-import-sort": "^10.0.0",
    "husky": "^8.0.3",
    "lint-staged": "^15.2.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^3.2.2",
    "ts-node": "^10.9.2",
    "typescript": "^5.2.2"
  },
  "lint-staged": {
    "*.{js,ts}": [
      "eslint --cache --fix",
      "prettier --write"
    ],
    "*.{json,yml,md,html}": [
      "prettier --write"
    ]
  }
}
